SMART ICVP
0.1.0 - ci-build

SMART ICVP, published by WHO. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-icvp/tree/main and changes regularly. See the Directory of published versions

StructureMap:

Official URL: http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim Version: 0.1.0
Draft as of 2024-12-11 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";
}