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
| Draft as of 2026-07-07 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/StructureMap/IMMZ.D5.LMToBundle> a fhir:StructureMap ;
fhir:nodeRole fhir:treeRoot ;
fhir:Resource.id [ fhir:value "IMMZ.D5.LMToBundle"] ;
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ] ;
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap IMMZ.D5.LMToBundle</b></p><a name=\"IMMZ.D5.LMToBundle\"> </a><a name=\"hcIMMZ.D5.LMToBundle\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://smart.who.int/immunizations/StructureMap/IMMZ.D5.LMToBundle<span style=\"color: navy\">\" = \"</span>IMMZ.D5.LMToBundle<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Immunization Administer Vaccine - Transform Logical Model to Immunization resources</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-IMMZD5.html\" title=\"IMMZ.D5.Determine vaccine(s) to be administered based on contraindications\">http://smart.who.int/immunizations/StructureDefinition/IMMZD5</a><span style=\"color: navy\">\" </span><b>alias </b>IMMZD5 <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/bundle.html\" title=\"Bundle\">http://hl7.org/fhir/StructureDefinition/Bundle</a><span style=\"color: navy\">\" </span><b>alias </b>Bundle <b>as </b><b>target</b>#xD;\n#xD;\n<b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-IMMZ.Helpers.html\" title=\"IMMZ.Helpers\">http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers</a><span style=\"color: navy\">\"#xD;\n</span>#xD;\n<b>group </b>IMMZD5ToBundle<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">immz</span><span style=\"color: navy\"> : </span>IMMZD5, <b>target</b> <span style=\"color: maroon\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span> immz<span style=\"color: navy\"><b> -> </b></span>bundle.type = <span style=\"color: blue\">'transaction'</span> <i>\"SetBundleType\"</i><span style=\"color: navy\">;</span>#xD;\n immz.patient<b> as </b><span style=\"color: maroon\">patient</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> immz.potentialContraindications<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -> </b></span> <b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE161'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Potential contraindications'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span> <b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/observation-category'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'survey'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Survey'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">survey</span><b> then </b>MakeObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"GetPatient\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"
] ;
fhir:StructureMap.url [ fhir:value "http://smart.who.int/immunizations/StructureMap/IMMZ.D5.LMToBundle"] ;
fhir:StructureMap.version [ fhir:value "0.2.0"] ;
fhir:StructureMap.name [ fhir:value "IMMZ.D5.LMToBundle"] ;
fhir:StructureMap.status [ fhir:value "draft"] ;
fhir:StructureMap.date [ fhir:value "2026-07-07T22:09:13+00:00"^^xsd:dateTime] ;
fhir:StructureMap.publisher [ fhir:value "WHO"] ;
fhir:StructureMap.contact [
fhir:index 0 ;
fhir:ContactDetail.name [ fhir:value "WHO" ] ;
fhir:ContactDetail.telecom [
fhir:index 0 ;
fhir:ContactPoint.system [ fhir:value "url" ] ;
fhir:ContactPoint.value [ fhir:value "http://who.int" ]
]
] ;
fhir:StructureMap.description [ fhir:value "Immunization Administer Vaccine - Transform Logical Model to Immunization resources"] ;
fhir:StructureMap.structure [
fhir:index 0 ;
fhir:StructureMap.structure.url [
fhir:value "http://smart.who.int/immunizations/StructureDefinition/IMMZD5" ;
fhir:link <http://smart.who.int/immunizations/StructureDefinition/IMMZD5>
] ;
fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
fhir:StructureMap.structure.alias [ fhir:value "IMMZD5" ]
], [
fhir:index 1 ;
fhir:StructureMap.structure.url [
fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle" ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>
] ;
fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
fhir:StructureMap.structure.alias [ fhir:value "Bundle" ]
] ;
fhir:StructureMap.import [
fhir:value "http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers" ;
fhir:index 0 ;
fhir:link <http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers>
] ;
fhir:StructureMap.group [
fhir:index 0 ;
fhir:StructureMap.group.name [ fhir:value "IMMZD5ToBundle" ] ;
fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
fhir:StructureMap.group.input [
fhir:index 0 ;
fhir:StructureMap.group.input.name [ fhir:value "immz" ] ;
fhir:StructureMap.group.input.type [ fhir:value "IMMZD5" ] ;
fhir:StructureMap.group.input.mode [ fhir:value "source" ]
], [
fhir:index 1 ;
fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
fhir:StructureMap.group.input.mode [ fhir:value "target" ]
] ;
fhir:StructureMap.group.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "SetBundleType" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "transaction" ]
]
]
], [
fhir:index 1 ;
fhir:StructureMap.group.rule.name [ fhir:value "GetPatient" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "patient" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "patient" ]
] ;
fhir:StructureMap.group.rule.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "potentialContraindications" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "potentialContraindications" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
], [
fhir:index 1 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE161" ]
], [
fhir:index 2 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Potential contraindications" ]
]
], [
fhir:index 1 ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.variable [ fhir:value "survey" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ]
], [
fhir:index 1 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "survey" ]
], [
fhir:index 2 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Survey" ]
]
] ;
fhir:StructureMap.group.rule.dependent [
fhir:index 0 ;
fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeObservation" ] ;
fhir:StructureMap.group.rule.dependent.variable [
fhir:value "patient" ;
fhir:index 0
], [
fhir:value "code" ;
fhir:index 1
], [
fhir:value "survey" ;
fhir:index 2
], [
fhir:value "content" ;
fhir:index 3
], [
fhir:value "bundle" ;
fhir:index 4
]
]
]
]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/StructureMap/IMMZ.D5.LMToBundle.ttl> a owl:Ontology ;
owl:imports fhir:fhir.ttl ;
owl:versionIRI <http://build.fhir.org/StructureMap/IMMZ.D5.LMToBundle.ttl> .
IG © 2023+ WHO. Package smart.who.int.immunizations#0.2.0 based on FHIR 4.0.1. Generated 2026-07-07
Links: Table of Contents |
QA Report
| Version History | License