WHO Immunization Implementation Guide
0.1.0 - CI Build
WHO Immunization Implementation Guide, published by World Health Organization (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-immunizations and changes regularly. See the Directory of published versions
Draft as of 2024-05-30 |
{
"resourceType" : "StructureMap",
"id" : "IMMZD1PolioLMToResources",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1PolioLMToResources<span style=\"color: navy\">" = "</span>IMMZD1PolioLMToResources<span style=\"color: navy\">"\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-IMMZD1ClientHistoryPolio.html\" title=\"IMMZ.D1 Capture Client History for Polio\">http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZD1ClientHistoryPolio</a><span style=\"color: navy\">" </span><b>alias </b>IMMZD1 <b>as </b><b>source</b>\r\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>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-IMMZD1LMToResources.html\" title=\"IMMZD1LMToResources\">http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1LMToResources</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>PolioIMMZD1ToBundle<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">immz</span><span style=\"color: navy\"> : </span>IMMZD1, <b>target</b> <span style=\"color: maroon\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><b> extends </b>IMMZD1ToBundle<span style=\"color: navy\"> {\r\n</span> immz.patient<b> as </b><span style=\"color: maroon\">patient</span><b> then</b><span style=\"color: navy\"> {\r\n</span> immz.birth<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -> </b></span> bundle.entry<b> as </b><span style=\"color: maroon\">entry</span><span style=\"color: navy\">, </span> entry.resource = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Observation'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obs</span><b> then</b><span style=\"color: navy\"> {\r\n</span> patient<span style=\"color: navy\"><b> -> </b></span>obs.subject = <span style=\"color: maroon\">patient</span> <i>"SetPatient"</i><span style=\"color: navy\">;</span>\r\n content<span style=\"color: navy\"><b> -> </b></span>obs.code<b> as </b><span style=\"color: maroon\">code</span><b> then</b><span style=\"color: navy\"> {\r\n</span> content<span style=\"color: navy\"><b> -> </b></span>code.coding<b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {\r\n</span> content<span style=\"color: navy\"><b> -> </b></span>coding.system = <span style=\"color: blue\">'http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1'</span> <i>"SetObsSystem"</i><span style=\"color: navy\">;</span>\r\n content<span style=\"color: navy\"><b> -> </b></span>coding.code = <span style=\"color: blue\">'DE109'</span> <i>"SetObsCode"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObsCoding"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObsCode"</i><span style=\"color: navy\">;</span>\r\n content<span style=\"color: navy\"><b> -> </b></span>obs.value = <span style=\"color: maroon\">content</span> <i>"SetValue"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetBirthObservation"</i><span style=\"color: navy\">;</span>\r\n immz.poliotype<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -> </b></span> bundle.entry<b> as </b><span style=\"color: maroon\">entry</span><span style=\"color: navy\">, </span> entry.resource = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Observation'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obs</span><b> then</b><span style=\"color: navy\"> {\r\n</span> patient<span style=\"color: navy\"><b> -> </b></span>obs.subject = <span style=\"color: maroon\">patient</span> <i>"SetPatient"</i><span style=\"color: navy\">;</span>\r\n content<span style=\"color: navy\"><b> -> </b></span>obs.code<b> as </b><span style=\"color: maroon\">code</span><b> then</b><span style=\"color: navy\"> {\r\n</span> content<span style=\"color: navy\"><b> -> </b></span>code.coding<b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {\r\n</span> content<span style=\"color: navy\"><b> -> </b></span>coding.system = <span style=\"color: blue\">'http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1'</span> <i>"SetObsSystem"</i><span style=\"color: navy\">;</span>\r\n content<span style=\"color: navy\"><b> -> </b></span>coding.code = <span style=\"color: blue\">'DE35'</span> <i>"SetObsCode"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObsCoding"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetObsCode"</i><span style=\"color: navy\">;</span>\r\n content<span style=\"color: navy\"><b> -> </b></span>obs.valueCodeableConcept<b> as </b><span style=\"color: maroon\">code</span><b> then</b><span style=\"color: navy\"> {\r\n</span> content<span style=\"color: navy\"><b> -> </b></span>code.coding = <span style=\"color: maroon\">content</span> <i>"SetCoding"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetCodeableConcept"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetPolioTypeObservation"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"GetPatient"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1PolioLMToResources",
"version" : "0.1.0",
"name" : "IMMZD1PolioLMToResources",
"status" : "draft",
"date" : "2024-05-30T21:26:16+00:00",
"publisher" : "World Health Organization (WHO)",
"contact" : [
{
"name" : "World Health Organization (WHO)",
"telecom" : [
{
"system" : "url",
"value" : "https://www.who.int"
}
]
}
],
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZD1ClientHistoryPolio",
"mode" : "source",
"alias" : "IMMZD1"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Bundle",
"mode" : "target",
"alias" : "Bundle"
}
],
"import" : [
🔗 "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD1LMToResources"
],
"group" : [
{
"name" : "PolioIMMZD1ToBundle",
"extends" : "IMMZD1ToBundle",
"typeMode" : "none",
"input" : [
{
"name" : "immz",
"type" : "IMMZD1",
"mode" : "source"
},
{
"name" : "bundle",
"type" : "Bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "GetPatient",
"source" : [
{
"context" : "immz",
"element" : "patient",
"variable" : "patient"
}
],
"rule" : [
{
"name" : "SetBirthObservation",
"source" : [
{
"context" : "immz",
"element" : "birth",
"variable" : "content"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "obs",
"transform" : "create",
"parameter" : [
{
"valueString" : "Observation"
}
]
}
],
"rule" : [
{
"name" : "SetPatient",
"source" : [
{
"context" : "patient"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "subject",
"transform" : "copy",
"parameter" : [
{
"valueId" : "patient"
}
]
}
]
},
{
"name" : "SetObsCode",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "code",
"variable" : "code"
}
],
"rule" : [
{
"name" : "SetObsCoding",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "code",
"contextType" : "variable",
"element" : "coding",
"variable" : "coding"
}
],
"rule" : [
{
"name" : "SetObsSystem",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "coding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1"
}
]
}
]
},
{
"name" : "SetObsCode",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "coding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "DE109"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValue",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "content"
}
]
}
]
}
]
},
{
"name" : "SetPolioTypeObservation",
"source" : [
{
"context" : "immz",
"element" : "poliotype",
"variable" : "content"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "obs",
"transform" : "create",
"parameter" : [
{
"valueString" : "Observation"
}
]
}
],
"rule" : [
{
"name" : "SetPatient",
"source" : [
{
"context" : "patient"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "subject",
"transform" : "copy",
"parameter" : [
{
"valueId" : "patient"
}
]
}
]
},
{
"name" : "SetObsCode",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "code",
"variable" : "code"
}
],
"rule" : [
{
"name" : "SetObsCoding",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "code",
"contextType" : "variable",
"element" : "coding",
"variable" : "coding"
}
],
"rule" : [
{
"name" : "SetObsSystem",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "coding",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://smart.who.int/ig/smart-immunizations/CodeSystem/IMMZ.D1"
}
]
}
]
},
{
"name" : "SetObsCode",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "coding",
"contextType" : "variable",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "DE35"
}
]
}
]
}
]
}
]
},
{
"name" : "SetCodeableConcept",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "valueCodeableConcept",
"variable" : "code"
}
],
"rule" : [
{
"name" : "SetCoding",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "code",
"contextType" : "variable",
"element" : "coding",
"transform" : "copy",
"parameter" : [
{
"valueId" : "content"
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}