SMART ICVP
0.1.0 - ci-build
SMART ICVP, 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-icvp/ and changes regularly. See the Directory of published versions
Draft as of 2024-10-07 |
{
"resourceType" : "StructureMap",
"id" : "DVCQRtoDVCClaim",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap DVCQRtoDVCClaim</b></p><a name=\"DVCQRtoDVCClaim\"> </a><a name=\"hcDVCQRtoDVCClaim\"> </a><a name=\"DVCQRtoDVCClaim-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim<span style=\"color: navy\">" = "</span>DVCQRtoDVCClaim<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>QuestionnaireResponse <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-DVCPayload.html\" title=\"DVC HCERT Payload\">http://smart.who.int/icvp/StructureDefinition/DVCPayload</a><span style=\"color: navy\">" </span><b>alias </b>DVCPayload <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-ModelDVC.html\" title=\"DVC\">http://smart.who.int/icvp/StructureDefinition/ModelDVC</a><span style=\"color: navy\">" </span><b>alias </b>DVCModel <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-ModelVaccineDetails.html\" title=\"DVC - Vaccine Details\">http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails</a><span style=\"color: navy\">" </span><b>alias </b>ModelVaccineDetails <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-DVCQRtoDVCLM.html\" title=\"DVCQRtoDVCLM\">http://smart.who.int/icvp/StructureMap/DVCQRtoDVCLM</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-DVCLMtoDVCClaim.html\" title=\"DVCLMtoDVCClaim\">http://smart.who.int/icvp/StructureMap/DVCLMtoDVCClaim</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>DVCQRtoDVCClaim<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">qr</span><span style=\"color: navy\"> : </span>QuestionnaireResponse, <b>target</b> <span style=\"color: maroon\">DVCClaim</span><span style=\"color: navy\"> : </span>DVCPayload<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/icvp/StructureDefinition/ModelDVC'</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>DVCClaim<b> then </b>DVCQRtoDVCLM<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>"rule1aa"</i><span style=\"color: navy\">;</span>\r\n qr<span style=\"color: navy\"><b> -> </b></span>DVCClaim<b> then </b>DVCLMtoDVCClaim<span style=\"color: navy\">(</span><span style=\"color: maroon\">model</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">DVCClaim</span><span style=\"color: navy\">)</span> <i>"rule2"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"rule3"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim",
"version" : "0.1.0",
"name" : "DVCQRtoDVCClaim",
"status" : "draft",
"date" : "2024-10-07T07:08:56+00:00",
"publisher" : "WHO",
"contact" : [
{
"name" : "WHO",
"telecom" : [
{
"system" : "url",
"value" : "http://who.int"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
"mode" : "source",
"alias" : "QuestionnaireResponse"
},
{
"url" : "http://smart.who.int/icvp/StructureDefinition/DVCPayload",
"mode" : "target",
"alias" : "DVCPayload"
},
{
"url" : "http://smart.who.int/icvp/StructureDefinition/ModelDVC",
"mode" : "target",
"alias" : "DVCModel"
},
{
"url" : "http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails",
"mode" : "target",
"alias" : "ModelVaccineDetails"
}
],
"import" : [
🔗 "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCLM"🔗 ,
"http://smart.who.int/icvp/StructureMap/DVCLMtoDVCClaim"
],
"group" : [
{
"name" : "DVCQRtoDVCClaim",
"typeMode" : "none",
"input" : [
{
"name" : "qr",
"type" : "QuestionnaireResponse",
"mode" : "source"
},
{
"name" : "DVCClaim",
"type" : "DVCPayload",
"mode" : "target"
}
],
"rule" : [
{
"name" : "rule3",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"contextType" : "variable",
"variable" : "model",
"transform" : "create",
"parameter" : [
{
"valueString" : "http://smart.who.int/icvp/StructureDefinition/ModelDVC"
}
]
}
],
"rule" : [
{
"name" : "rule1aa",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"context" : "DVCClaim",
"contextType" : "variable"
}
],
"dependent" : [
{
"name" : "DVCQRtoDVCLM",
"variable" : [
"qr",
"model"
]
}
]
},
{
"name" : "rule2",
"source" : [
{
"context" : "qr"
}
],
"target" : [
{
"context" : "DVCClaim",
"contextType" : "variable"
}
],
"dependent" : [
{
"name" : "DVCLMtoDVCClaim",
"variable" : [
"model",
"DVCClaim"
]
}
]
}
]
}
]
}
]
}