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" : "IMMZCQRToPatient",
"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/IMMZCQRToPatient<span style=\"color: navy\">" = "</span>IMMZCQRToPatient<span style=\"color: navy\">"\r\n\r\n</span><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-IMMZCRegisterClient.html\" title=\"IMMZ.C Register Client\">http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZCRegisterClient</a><span style=\"color: navy\">" </span><b>alias </b>IMMZC <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/patient.html\" title=\"Patient\">http://hl7.org/fhir/StructureDefinition/Patient</a><span style=\"color: navy\">" </span><b>alias </b>Patient <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-IMMZCQRToLM.html\" title=\"IMMZCQRToLM\">http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZCQRToLM</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-IMMZCLMToPatient.html\" title=\"IMMZCLMToPatient\">http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZCLMToPatient</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>QRestToIMMZC<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\">patient</span><span style=\"color: navy\"> : </span>Patient<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/ig/smart-immunizations/StructureDefinition/IMMZCRegisterClient'</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>QRespToIMMZC<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>patient<b> then </b>IMMZCToPatient<span style=\"color: navy\">(</span><span style=\"color: maroon\">model</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">)</span> <i>"LMtoPatient"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"QRtoPatient"</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/IMMZCQRToPatient",
"version" : "0.1.0",
"name" : "IMMZCQRToPatient",
"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://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
"mode" : "source",
"alias" : "QResp"
},
{
"url" : "http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZCRegisterClient",
"mode" : "source",
"alias" : "IMMZC"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Patient",
"mode" : "target",
"alias" : "Patient"
}
],
"import" : [
🔗 "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZCQRToLM"🔗 ,
"http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZCLMToPatient"
],
"group" : [
{
"name" : "QRestToIMMZC",
"typeMode" : "none",
"input" : [
{
"name" : "qr",
"type" : "QResp",
"mode" : "source"
},
{
"name" : "patient",
"type" : "Patient",
"mode" : "target"
}
],
"rule" : [
{
"name" : "QRtoPatient",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"contextType" : "variable",
"variable" : "model",
"transform" : "create",
"parameter" : [
{
"valueString" : "http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZCRegisterClient"
}
]
}
],
"rule" : [
{
"name" : "QRtoLM",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"context" : "model",
"contextType" : "variable"
}
],
"dependent" : [
{
"name" : "QRespToIMMZC",
"variable" : [
"qr",
"model"
]
}
]
},
{
"name" : "LMtoPatient",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"context" : "patient",
"contextType" : "variable"
}
],
"dependent" : [
{
"name" : "IMMZCToPatient",
"variable" : [
"model",
"patient"
]
}
]
}
]
}
]
}
]
}