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
Draft as of 2024-09-21 |
{
"resourceType" : "StructureMap",
"id" : "IMMZD1QRToResources",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap IMMZD1QRToResources</b></p><a name=\"IMMZD1QRToResources\"> </a><a name=\"hcIMMZD1QRToResources\"> </a><a name=\"IMMZD1QRToResources-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://smart.who.int/immunizations-measles/StructureMap/IMMZD1QRToResources<span style=\"color: navy\">" = "</span>IMMZD1QRToResources<span style=\"color: navy\">"\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Immunization - Client History - Extract QuestionnaireResponse to resources</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-IMMZD1ClientHistoryMeasles.html\" title=\"IMMZ.D1 Capture Client History for Measles\">http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD1ClientHistoryMeasles</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-IMMZD1QRToLM.html\" title=\"IMMZD1QRToLM\">http://smart.who.int/immunizations-measles/StructureMap/IMMZD1QRToLM</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-IMMZD1LMToResources.html\" title=\"IMMZD1LMToResources\">http://smart.who.int/immunizations-measles/StructureMap/IMMZD1LMToResources</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>QRespToBundle<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\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> qr<span style=\"color: navy\"><b> -> </b></span><b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD1ClientHistoryMeasles'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">model</span><b> then</b><span style=\"color: navy\"> {\r\n</span> qr<span style=\"color: navy\"><b> -> </b></span>model<b> then </b>QRespToIMMZD1<span style=\"color: navy\">(</span><span style=\"color: maroon\">qr</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">model</span><span style=\"color: navy\">)</span> <i>"QRtoLM"</i><span style=\"color: navy\">;</span>\r\n qr<span style=\"color: navy\"><b> -> </b></span>bundle<b> then </b>IMMZD1ToBundle<span style=\"color: navy\">(</span><span style=\"color: maroon\">model</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span> <i>"LMtoBundle"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"QRtoBundle"</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-measles/StructureMap/IMMZD1QRToResources",
"version" : "0.1.0",
"name" : "IMMZD1QRToResources",
"status" : "draft",
"date" : "2024-09-21T14:59:40+00:00",
"publisher" : "WHO",
"contact" : [
{
"name" : "WHO",
"telecom" : [
{
"system" : "url",
"value" : "http://who.int"
}
]
}
],
"description" : "Immunization - Client History - Extract QuestionnaireResponse to resources",
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
"mode" : "source",
"alias" : "QResp"
},
{
"url" : "http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD1ClientHistoryMeasles",
"mode" : "source",
"alias" : "IMMZD1"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Bundle",
"mode" : "target",
"alias" : "Bundle"
}
],
"import" : [
🔗 "http://smart.who.int/immunizations-measles/StructureMap/IMMZD1QRToLM"🔗 ,
"http://smart.who.int/immunizations-measles/StructureMap/IMMZD1LMToResources"
],
"group" : [
{
"name" : "QRespToBundle",
"typeMode" : "none",
"input" : [
{
"name" : "qr",
"type" : "QResp",
"mode" : "source"
},
{
"name" : "bundle",
"type" : "Bundle",
"mode" : "target"
}
],
"rule" : [
{
"name" : "QRtoBundle",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"contextType" : "variable",
"variable" : "model",
"transform" : "create",
"parameter" : [
{
"valueString" : "http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD1ClientHistoryMeasles"
}
]
}
],
"rule" : [
{
"name" : "QRtoLM",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"context" : "model",
"contextType" : "variable"
}
],
"dependent" : [
{
"name" : "QRespToIMMZD1",
"variable" : [
"qr",
"model"
]
}
]
},
{
"name" : "LMtoBundle",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"context" : "bundle",
"contextType" : "variable"
}
],
"dependent" : [
{
"name" : "IMMZD1ToBundle",
"variable" : [
"model",
"bundle"
]
}
]
}
]
}
]
}
]
}