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" : "IMMZD1LMToResources",
"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/IMMZD1LMToResources<span style=\"color: navy\">" = "</span>IMMZD1LMToResources<span style=\"color: navy\">"\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-IMMZD1ClientHistory.html\" title=\"IMMZ.D1 Capture Client History for All Antigens\">http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZD1ClientHistory</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>group </b>IMMZD1ToBundle<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><span style=\"color: navy\"> {\r\n</span> immz<span style=\"color: navy\"><b> -> </b></span>bundle.type = <span style=\"color: blue\">'collection'</span> <i>"SetCollection"</i><span style=\"color: navy\">;</span>\r\n immz.patient<b> as </b><span style=\"color: maroon\">patient</span><b> then</b><span style=\"color: navy\"> {\r\n</span> immz.type<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\">'DE103'</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>"SetTypeObservation"</i><span style=\"color: navy\">;</span>\r\n immz.booster<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\">'DE102'</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>"SetBoosterObservation"</i><span style=\"color: navy\">;</span>\r\n immz.completedPrimarySeries<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\">'DE8'</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>"SetPrimarySeriesObservation"</i><span style=\"color: navy\">;</span>\r\n immz.dateSeriesCompleted<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\">'DE81'</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>"SetDateSeriesObservation"</i><span style=\"color: navy\">;</span>\r\n immz.hivStatus<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\">'DE10'</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>"SetHIVStatusObservation"</i><span style=\"color: navy\">;</span>\r\n immz.pretermBirth<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\">'DE15'</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>"SetPretermBirthObservation"</i><span style=\"color: navy\">;</span>\r\n immz.immunocompromised<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\">'DE16'</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>"SetImmunocompromisedObservation"</i><span style=\"color: navy\">;</span>\r\n immz.onART<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\">'DE17'</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>"SetOnARTObservation"</i><span style=\"color: navy\">;</span>\r\n immz.vaccineHistory<b> as </b><span style=\"color: maroon\">history</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\">'Immunization'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">imm</span><b> then</b><span style=\"color: navy\"> {\r\n</span> patient<span style=\"color: navy\"><b> -> </b></span>imm.patient = <span style=\"color: maroon\">patient</span> <i>"SetPatient"</i><span style=\"color: navy\">;</span>\r\n history<span style=\"color: navy\"><b> -> </b></span>imm.status = <span style=\"color: blue\">'completed'</span> <i>"SetStatus"</i><span style=\"color: navy\">;</span>\r\n history.vaccineType<b> as </b><span style=\"color: maroon\">vaccine</span><span style=\"color: navy\"><b> -> </b></span>imm.vaccineCode<b> as </b><span style=\"color: maroon\">code</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vaccine<span style=\"color: navy\"><b> -> </b></span>code.coding = <span style=\"color: maroon\">vaccine</span> <i>"SetVaccineCoding"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetVaccineType"</i><span style=\"color: navy\">;</span>\r\n history.vaccineDate<b> as </b><span style=\"color: maroon\">date</span><span style=\"color: navy\"><b> -> </b></span>imm.occurrence = <b>cast</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">date</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'dateTime'</span><span style=\"color: navy\">)</span> <i>"SetDate"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetVaccineHistoryObservation"</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/IMMZD1LMToResources",
"version" : "0.1.0",
"name" : "IMMZD1LMToResources",
"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/IMMZD1ClientHistory",
"mode" : "source",
"alias" : "IMMZD1"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Bundle",
"mode" : "target",
"alias" : "Bundle"
}
],
"group" : [
{
"name" : "IMMZD1ToBundle",
"typeMode" : "none",
"input" : [
{
"name" : "immz",
"type" : "IMMZD1",
"mode" : "source"
},
{
"name" : "bundle",
"type" : "Bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "SetCollection",
"source" : [
{
"context" : "immz"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueString" : "collection"
}
]
}
]
},
{
"name" : "GetPatient",
"source" : [
{
"context" : "immz",
"element" : "patient",
"variable" : "patient"
}
],
"rule" : [
{
"name" : "SetTypeObservation",
"source" : [
{
"context" : "immz",
"element" : "type",
"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" : "DE103"
}
]
}
]
}
]
}
]
},
{
"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"
}
]
}
]
}
]
}
]
},
{
"name" : "SetBoosterObservation",
"source" : [
{
"context" : "immz",
"element" : "booster",
"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" : "DE102"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValue",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "content"
}
]
}
]
}
]
},
{
"name" : "SetPrimarySeriesObservation",
"source" : [
{
"context" : "immz",
"element" : "completedPrimarySeries",
"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" : "DE8"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValue",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "content"
}
]
}
]
}
]
},
{
"name" : "SetDateSeriesObservation",
"source" : [
{
"context" : "immz",
"element" : "dateSeriesCompleted",
"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" : "DE81"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValue",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "content"
}
]
}
]
}
]
},
{
"name" : "SetHIVStatusObservation",
"source" : [
{
"context" : "immz",
"element" : "hivStatus",
"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" : "DE10"
}
]
}
]
}
]
}
]
},
{
"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"
}
]
}
]
}
]
}
]
},
{
"name" : "SetPretermBirthObservation",
"source" : [
{
"context" : "immz",
"element" : "pretermBirth",
"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" : "DE15"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValue",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "content"
}
]
}
]
}
]
},
{
"name" : "SetImmunocompromisedObservation",
"source" : [
{
"context" : "immz",
"element" : "immunocompromised",
"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" : "DE16"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValue",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "content"
}
]
}
]
}
]
},
{
"name" : "SetOnARTObservation",
"source" : [
{
"context" : "immz",
"element" : "onART",
"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" : "DE17"
}
]
}
]
}
]
}
]
},
{
"name" : "SetValue",
"source" : [
{
"context" : "content"
}
],
"target" : [
{
"context" : "obs",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "content"
}
]
}
]
}
]
},
{
"name" : "SetVaccineHistoryObservation",
"source" : [
{
"context" : "immz",
"element" : "vaccineHistory",
"variable" : "history"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable",
"element" : "entry",
"variable" : "entry"
},
{
"context" : "entry",
"contextType" : "variable",
"element" : "resource",
"variable" : "imm",
"transform" : "create",
"parameter" : [
{
"valueString" : "Immunization"
}
]
}
],
"rule" : [
{
"name" : "SetPatient",
"source" : [
{
"context" : "patient"
}
],
"target" : [
{
"context" : "imm",
"contextType" : "variable",
"element" : "patient",
"transform" : "copy",
"parameter" : [
{
"valueId" : "patient"
}
]
}
]
},
{
"name" : "SetStatus",
"source" : [
{
"context" : "history"
}
],
"target" : [
{
"context" : "imm",
"contextType" : "variable",
"element" : "status",
"transform" : "copy",
"parameter" : [
{
"valueString" : "completed"
}
]
}
]
},
{
"name" : "SetVaccineType",
"source" : [
{
"context" : "history",
"element" : "vaccineType",
"variable" : "vaccine"
}
],
"target" : [
{
"context" : "imm",
"contextType" : "variable",
"element" : "vaccineCode",
"variable" : "code"
}
],
"rule" : [
{
"name" : "SetVaccineCoding",
"source" : [
{
"context" : "vaccine"
}
],
"target" : [
{
"context" : "code",
"contextType" : "variable",
"element" : "coding",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vaccine"
}
]
}
]
}
]
},
{
"name" : "SetDate",
"source" : [
{
"context" : "history",
"element" : "vaccineDate",
"variable" : "date"
}
],
"target" : [
{
"context" : "imm",
"contextType" : "variable",
"element" : "occurrence",
"transform" : "cast",
"parameter" : [
{
"valueId" : "date"
},
{
"valueString" : "dateTime"
}
]
}
]
}
]
}
]
}
]
}
]
}