WHO SMART Guidelines - Measles Immunization
0.1.0 - ci-build

WHO SMART Guidelines - Measles Immunization, 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-example-immz/ and changes regularly. See the Directory of published versions

StructureMap:

Official URL: http://smart.who.int/immunizations-measles/StructureMap/IMMZD1QRToResources Version: 0.1.0
Draft as of 2024-08-12 Computable Name: IMMZD1QRToResources

Immunization - Client History - Extract QuestionnaireResponse to resources

Generated Narrative: StructureMap IMMZD1QRToResources

map "http://smart.who.int/immunizations-measles/StructureMap/IMMZD1QRToResources" = "IMMZD1QRToResources"

// Immunization - Client History - Extract QuestionnaireResponse to resources

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

imports "http://smart.who.int/immunizations-measles/StructureMap/IMMZD1QRToLM"
imports "http://smart.who.int/immunizations-measles/StructureMap/IMMZD1LMToResources"

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