WHO Immunization Implementation Guide
0.2.0 - ci-build

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

StructureMap: IMMZ.D17.QRToBundle

Official URL: http://smart.who.int/immunizations/StructureMap/IMMZ.D17.QRToBundle Version: 0.2.0
Draft as of 2025-08-08 Computable Name: IMMZ.D17.QRToBundle

Immunization Administer Vaccine - Transform QuestionnaireResponse to Immunization resources

map "http://smart.who.int/immunizations/StructureMap/IMMZ.D17.QRToBundle" = "IMMZ.D17.QRToBundle"

// Immunization Administer Vaccine - Transform QuestionnaireResponse to Immunization resources

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QResp as source
uses "http://smart.who.int/immunizations/StructureDefinition/IMMZD17" alias IMMZD17 as source
uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as target

imports "http://smart.who.int/immunizations/StructureMap/IMMZ.D17.QRToLM"
imports "http://smart.who.int/immunizations/StructureMap/IMMZ.D17.LMToBundle"

group QRespToBundle(source qr : QResp, target bundle : Bundle) {
  qr -> create('http://smart.who.int/immunizations/StructureDefinition/IMMZD17') as model then {
    qr -> model then QRespToIMMZD17(qr, model) "QRtoLM";
    qr -> bundle then IMMZD17ToBundle(model, bundle) "LMtoBundle";
  } "QRtoBundle";
}