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.D13.QRToLM

Official URL: http://smart.who.int/immunizations/StructureMap/IMMZ.D13.QRToLM Version: 0.2.0
Draft as of 2025-09-10 Computable Name: IMMZ.D13.QRToLM

Immunization Administer Vaccine - Transform QuestionnaireResponse to Logical Model

map "http://smart.who.int/immunizations/StructureMap/IMMZ.D13.QRToLM" = "IMMZ.D13.QRToLM"

// Immunization Administer Vaccine - Transform QuestionnaireResponse to Logical Model

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

imports "http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers"

group QRespToIMMZD13(source qr : QResp, target immz : IMMZD13) {
  qr.subject as subject -> immz.patient = subject "setPatient";
  qr then D1andD13Questions(qr, immz) "D1andD13Questions";
  qr then D13Questions(qr, immz) "D13Questions";
}