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:

Official URL: http://smart.who.int/immunizations/StructureMap/IMMZCQRToPatient Version: 0.2.0
Draft as of 2024-12-18 Computable Name: IMMZCQRToPatient

Immunization Client Registry - Transform QuestionnaireResponse to Patient resources

Generated Narrative: StructureMap IMMZCQRToPatient

map "http://smart.who.int/immunizations/StructureMap/IMMZCQRToPatient" = "IMMZCQRToPatient"

// Immunization Client Registry - Transform QuestionnaireResponse to Patient resources

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

imports "http://smart.who.int/immunizations/StructureMap/IMMZCQRToLM"
imports "http://smart.who.int/immunizations/StructureMap/IMMZCLMToPatient"

group QRestToIMMZC(source qr : QResp, target bundle : BUndle) {
  qr -> create('http://smart.who.int/immunizations/StructureDefinition/IMMZCClientregistration') as model then {
    qr -> model then QRespToIMMZC(qr, model) "QRtoLM";
    qr -> bundle then IMMZCToPatient(model, bundle) "LMtoPatient";
  } "QRtoPatient";
}