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
Draft as of 2025-09-10 |
{
"resourceType" : "StructureMap",
"id" : "IMMZ.D13.QRToLM",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap IMMZ.D13.QRToLM</b></p><a name=\"IMMZ.D13.QRToLM\"> </a><a name=\"hcIMMZ.D13.QRToLM\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://smart.who.int/immunizations/StructureMap/IMMZ.D13.QRToLM<span style=\"color: navy\">" = "</span>IMMZ.D13.QRToLM<span style=\"color: navy\">"\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Immunization Administer Vaccine - Transform QuestionnaireResponse to Logical Model</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/questionnaireresponse.html\" title=\"QuestionnaireResponse\">http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse</a><span style=\"color: navy\">" </span><b>alias </b>QResp <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-IMMZD13.html\" title=\"IMMZ.D13.Update client record\">http://smart.who.int/immunizations/StructureDefinition/IMMZD13</a><span style=\"color: navy\">" </span><b>alias </b>IMMZD13 <b>as </b><b>target</b>\r\n\r\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\">"\r\n</span>\r\n<b>group </b>QRespToIMMZD13<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">qr</span><span style=\"color: navy\"> : </span>QResp, <b>target</b> <span style=\"color: maroon\">immz</span><span style=\"color: navy\"> : </span>IMMZD13<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> qr.subject<b> as </b><span style=\"color: maroon\">subject</span><span style=\"color: navy\"><b> -> </b></span>immz.patient = <span style=\"color: maroon\">subject</span> <i>"setPatient"</i><span style=\"color: navy\">;</span>\r\n qr<b> then </b>D1andD13Questions<span style=\"color: navy\">(</span><span style=\"color: maroon\">qr</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immz</span><span style=\"color: navy\">)</span> <i>"D1andD13Questions"</i><span style=\"color: navy\">;</span>\r\n qr<b> then </b>D13Questions<span style=\"color: navy\">(</span><span style=\"color: maroon\">qr</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immz</span><span style=\"color: navy\">)</span> <i>"D13Questions"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "http://smart.who.int/immunizations/StructureMap/IMMZ.D13.QRToLM",
"version" : "0.2.0",
"name" : "IMMZ.D13.QRToLM",
"status" : "draft",
"date" : "2025-09-10T05:58:29+00:00",
"publisher" : "WHO",
"contact" : [
{
"name" : "WHO",
"telecom" : [
{
"system" : "url",
"value" : "http://who.int"
}
]
}
],
"description" : "Immunization Administer Vaccine - Transform QuestionnaireResponse to Logical Model",
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
"mode" : "source",
"alias" : "QResp"
},
{
"url" : "http://smart.who.int/immunizations/StructureDefinition/IMMZD13",
"mode" : "target",
"alias" : "IMMZD13"
}
],
"import" : [
🔗 "http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers"
],
"group" : [
{
"name" : "QRespToIMMZD13",
"typeMode" : "none",
"input" : [
{
"name" : "qr",
"type" : "QResp",
"mode" : "source"
},
{
"name" : "immz",
"type" : "IMMZD13",
"mode" : "target"
}
],
"rule" : [
{
"name" : "setPatient",
"source" : [
{
"context" : "qr",
"element" : "subject",
"variable" : "subject"
}
],
"target" : [
{
"context" : "immz",
"contextType" : "variable",
"element" : "patient",
"transform" : "copy",
"parameter" : [
{
"valueId" : "subject"
}
]
}
]
},
{
"name" : "D1andD13Questions",
"source" : [
{
"context" : "qr"
}
],
"dependent" : [
{
"name" : "D1andD13Questions",
"variable" : [
"qr",
"immz"
]
}
]
},
{
"name" : "D13Questions",
"source" : [
{
"context" : "qr"
}
],
"dependent" : [
{
"name" : "D13Questions",
"variable" : [
"qr",
"immz"
]
}
]
}
]
}
]
}