SMART ICVP
0.1.0 - ci-build

This page is part of the ICVP (v0.1.0: Releases Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

StructureMap:

Official URL: http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim Version: 0.1.0
Draft as of 2024-10-07 Computable Name: DVCQRtoDVCClaim

Generated Narrative: StructureMap DVCQRtoDVCClaim

map "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim" = "DVCQRtoDVCClaim"

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as source
uses "http://smart.who.int/icvp/StructureDefinition/DVCPayload" alias DVCPayload as target
uses "http://smart.who.int/icvp/StructureDefinition/ModelDVC" alias DVCModel as target
uses "http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails" alias ModelVaccineDetails as target

imports "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCLM"
imports "http://smart.who.int/icvp/StructureMap/DVCLMtoDVCClaim"

group DVCQRtoDVCClaim(source qr : QuestionnaireResponse, target DVCClaim : DVCPayload) {
  qr -> create('http://smart.who.int/icvp/StructureDefinition/ModelDVC') as model then {
    qr -> DVCClaim then DVCQRtoDVCLM(qr, model) "rule1aa";
    qr -> DVCClaim then DVCLMtoDVCClaim(model, DVCClaim) "rule2";
  } "rule3";
}