This page is part of the ICVP (v0.1.0: Releases Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Draft as of 2024-10-07 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "DVCClaimtoDVCLM"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap DVCClaimtoDVCLM</b></p><a name=\"DVCClaimtoDVCLM\"> </a><a name=\"hcDVCClaimtoDVCLM\"> </a><a name=\"DVCClaimtoDVCLM-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://smart.who.int/icvp/StructureMap/DVCClaimtoDVCLM<span style=\"color: navy\">" = "</span>DVCClaimtoDVCLM<span style=\"color: navy\">"\r\n\r\n</span><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>source</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>group </b>DVCClaimtoDVCLM<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DVCPayload, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DVCModel<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> src.n<b> as </b><span style=\"color: maroon\">name</span><span style=\"color: navy\"><b> -> </b></span>tgt.name = <span style=\"color: maroon\">name</span> <i>"rule1"</i><span style=\"color: navy\">;</span>\r\n src.dob<b> as </b><span style=\"color: maroon\">dob</span><span style=\"color: navy\"><b> -> </b></span>tgt.dob = <span style=\"color: maroon\">dob</span> <i>"rule2"</i><span style=\"color: navy\">;</span>\r\n src.s<b> as </b><span style=\"color: maroon\">sex</span><span style=\"color: navy\"><b> -> </b></span>tgt.sex = <span style=\"color: maroon\">sex</span> <i>"rule3"</i><span style=\"color: navy\">;</span>\r\n src.ntl<b> as </b><span style=\"color: maroon\">nationality</span><span style=\"color: navy\"><b> -> </b></span>tgt.nationality = <span style=\"color: maroon\">nationality</span> <i>"rule4"</i><span style=\"color: navy\">;</span>\r\n src.nid<b> as </b><span style=\"color: maroon\">id</span><span style=\"color: navy\"><b> -> </b></span>tgt.nid = <span style=\"color: maroon\">id</span> <i>"rule5"</i><span style=\"color: navy\">;</span>\r\n src.gn<b> as </b><span style=\"color: maroon\">gName</span><span style=\"color: navy\"><b> -> </b></span>tgt.guardian = <span style=\"color: maroon\">gName</span> <i>"rule6"</i><span style=\"color: navy\">;</span>\r\n src.v<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.vaccineDetails<b> as </b><span style=\"color: maroon\">tv</span><b> then </b>mapVaccineDetails<span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tv</span><span style=\"color: navy\">)</span> <i>"rule7"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>mapVaccineDetails<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>BackboneElement, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ModelVaccineDetails<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> src.tg<b> as </b><span style=\"color: maroon\">tg</span><span style=\"color: navy\"><b> -> </b></span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">coding</span><span style=\"color: navy\">, </span> coding.code = <span style=\"color: maroon\">tg</span><span style=\"color: navy\">, </span> coding.system = <span style=\"color: blue\">'http://id.who.int/icd/release/11/mms'</span><span style=\"color: navy\">, </span> tgt.disease = <span style=\"color: maroon\">coding</span> <i>"rule8"</i><span style=\"color: navy\">;</span>\r\n src.vp<b> as </b><span style=\"color: maroon\">vp</span><span style=\"color: navy\"><b> -> </b></span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">coding</span><span style=\"color: navy\">, </span> coding.code = <span style=\"color: maroon\">vp</span><span style=\"color: navy\">, </span> coding.system = <span style=\"color: blue\">'http://id.who.int/icd/release/11/mms'</span><span style=\"color: navy\">, </span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span> code.coding = <span style=\"color: maroon\">coding</span><span style=\"color: navy\">, </span> tgt.vaccineClassification = <span style=\"color: maroon\">code</span> <i>"rule9"</i><span style=\"color: navy\">;</span>\r\n src.mp<b> as </b><span style=\"color: maroon\">mp</span><span style=\"color: navy\"><b> -> </b></span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Identifier'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">id</span><span style=\"color: navy\">, </span> id.value = <span style=\"color: maroon\">mp</span><span style=\"color: navy\">, </span> tgt.vaccineTradeItem = <span style=\"color: maroon\">id</span> <i>"rule10"</i><span style=\"color: navy\">;</span>\r\n src.ma<b> as </b><span style=\"color: maroon\">ma</span><span style=\"color: navy\"><b> -> </b></span>tgt.manufacturer = <span style=\"color: maroon\">ma</span> <i>"rule11"</i><span style=\"color: navy\">;</span>\r\n src.mid<b> as </b><span style=\"color: maroon\">mid</span><span style=\"color: navy\"><b> -> </b></span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Identifier'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">id</span><span style=\"color: navy\">, </span> id.value = <span style=\"color: maroon\">mid</span><span style=\"color: navy\">, </span> tgt.manufacturerId = <span style=\"color: maroon\">id</span> <i>"rule12"</i><span style=\"color: navy\">;</span>\r\n src.dt<b> as </b><span style=\"color: maroon\">dt</span><span style=\"color: navy\"><b> -> </b></span>tgt.date = <span style=\"color: maroon\">dt</span> <i>"rule13"</i><span style=\"color: navy\">;</span>\r\n src.bo<b> as </b><span style=\"color: maroon\">bo</span><span style=\"color: navy\"><b> -> </b></span>tgt.batchNo = <span style=\"color: maroon\">bo</span> <i>"rule14"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span><b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Period'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">period</span><b> then</b><span style=\"color: navy\"> {\r\n</span> src.vls<b> as </b><span style=\"color: maroon\">start</span><span style=\"color: navy\"><b> -> </b></span>period.start = <span style=\"color: maroon\">start</span> <i>"rule15"</i><span style=\"color: navy\">;</span>\r\n src.vle<b> as </b><span style=\"color: maroon\">end</span><span style=\"color: navy\"><b> -> </b></span>period.end = <span style=\"color: maroon\">end</span> <i>"rule16"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>tgt.validityPeriod = <span style=\"color: maroon\">period</span> <i>"rule17"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"rule18"</i><span style=\"color: navy\">;</span>\r\n src.cn<b> as </b><span style=\"color: maroon\">cn</span><span style=\"color: navy\"><b> -> </b></span>tgt.clinicianName = <span style=\"color: maroon\">cn</span> <i>"rule19"</i><span style=\"color: navy\">;</span>\r\n src.is<b> as </b><span style=\"color: maroon\">is</span><span style=\"color: navy\"><b> -> </b></span> tgt.issuer<b> as </b><span style=\"color: maroon\">issuer</span><span style=\"color: navy\">, </span> issuer.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Organization/'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">is</span><span style=\"color: navy\">)</span> <i>"rule21"</i><span style=\"color: navy\">;</span>\r\n src.dn<b> as </b><span style=\"color: maroon\">dn</span><span style=\"color: navy\"><b> -> </b></span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">coding</span><span style=\"color: navy\">, </span> coding.code = <span style=\"color: maroon\">dn</span><span style=\"color: navy\">, </span> coding.system = <span style=\"color: blue\">'http://smart.who.int/icvp/CodeSystem/doseNumber'</span><span style=\"color: navy\">, </span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span> code.coding = <span style=\"color: maroon\">coding</span><span style=\"color: navy\">, </span> tgt.doseNumber = <span style=\"color: maroon\">code</span> <i>"rule20"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">helper function</span>\r\n<b>group </b>generateNarrativeText<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Section, <b>target</b> <span style=\"color: maroon\">text</span><span style=\"color: navy\"> : </span>string<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span>text.status = <span style=\"color: blue\">'empty'</span> <i>"setstatus"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>text.div = <span style=\"color: blue\">'<div>narrative not available</div>'</span> <i>"setdiv"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>humanNameToHumanName<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">sourceName</span>, <b>target</b> <span style=\"color: maroon\">targetName</span><span style=\"color: navy\"> : </span>HumanName<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> sourceName.use<b> as </b><span style=\"color: maroon\">use</span><span style=\"color: navy\"><b> -> </b></span>targetName.use = <span style=\"color: maroon\">use</span> <i>"CopyUse"</i><span style=\"color: navy\">;</span>\r\n sourceName.text<b> as </b><span style=\"color: maroon\">text</span><span style=\"color: navy\"><b> -> </b></span>targetName.text = <span style=\"color: maroon\">text</span> <i>"CopyText"</i><span style=\"color: navy\">;</span>\r\n sourceName.family<b> as </b><span style=\"color: maroon\">family</span><span style=\"color: navy\"><b> -> </b></span>targetName.family = <span style=\"color: maroon\">family</span> <i>"CopyFamily"</i><span style=\"color: navy\">;</span>\r\n sourceName.given<b> as </b><span style=\"color: maroon\">given</span><span style=\"color: navy\"><b> -> </b></span>targetName.given = <span style=\"color: maroon\">given</span> <i>"CopyGiven"</i><span style=\"color: navy\">;</span>\r\n sourceName.prefix<b> as </b><span style=\"color: maroon\">prefix</span><span style=\"color: navy\"><b> -> </b></span>targetName.prefix = <span style=\"color: maroon\">prefix</span> <i>"CopyPrefix"</i><span style=\"color: navy\">;</span>\r\n sourceName.suffix<b> as </b><span style=\"color: maroon\">suffix</span><span style=\"color: navy\"><b> -> </b></span>targetName.suffix = <span style=\"color: maroon\">suffix</span> <i>"CopySuffix"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">// </span><span style=\"color: green\">Copy the period using the previously defined group function</span>\r\n sourceName.period<b> as </b><span style=\"color: maroon\">sourcePeriod</span><span style=\"color: navy\"><b> -> </b></span>targetName.period<b> as </b><span style=\"color: maroon\">targetPeriod</span><b> then</b><span style=\"color: navy\"> {\r\n</span> sourcePeriod<span style=\"color: navy\"><b> -> </b></span>sourcePeriod<b> then </b>periodToPeriod<span style=\"color: navy\">(</span><span style=\"color: maroon\">sourcePeriod</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">targetPeriod</span><span style=\"color: navy\">)</span> <i>"CopyPeriod"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"copyPeriod"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>periodToPeriod<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">sourcePeriod</span>, <b>target</b> <span style=\"color: maroon\">targetPeriod</span><span style=\"color: navy\"> : </span>Period<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> sourcePeriod.start<b> as </b><span style=\"color: maroon\">start</span><span style=\"color: navy\"><b> -> </b></span>targetPeriod.start = <span style=\"color: maroon\">start</span> <i>"set period start"</i><span style=\"color: navy\">;</span>\r\n sourcePeriod.end<b> as </b><span style=\"color: maroon\">end</span><span style=\"color: navy\"><b> -> </b></span>targetPeriod.end = <span style=\"color: maroon\">end</span> <i>"set period end"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>" ] ; # fhir:url [ fhir:v "http://smart.who.int/icvp/StructureMap/DVCClaimtoDVCLM"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "DVCClaimtoDVCLM"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2024-10-07T07:28:50+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "WHO"] ; # fhir:contact ( [ fhir:name [ fhir:v "WHO" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://who.int" ] ] ) ] ) ; # fhir:structure ( [ fhir:url [ fhir:v "http://smart.who.int/icvp/StructureDefinition/DVCPayload"^^xsd:anyURI ; fhir:link <http://smart.who.int/icvp/StructureDefinition/DVCPayload> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "DVCPayload" ] ] [ fhir:url [ fhir:v "http://smart.who.int/icvp/StructureDefinition/ModelDVC"^^xsd:anyURI ; fhir:link <http://smart.who.int/icvp/StructureDefinition/ModelDVC> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "DVCModel" ] ] [ fhir:url [ fhir:v "http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails"^^xsd:anyURI ; fhir:link <http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "ModelVaccineDetails" ] ] ) ; # fhir:group ( [ fhir:name [ fhir:v "DVCClaimtoDVCLM" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "DVCPayload" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "DVCModel" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "rule1" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "n" ] ; fhir:variable [ fhir:v "name" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "name" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "name" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule2" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dob" ] ; fhir:variable [ fhir:v "dob" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "dob" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "dob" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule3" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "s" ] ; fhir:variable [ fhir:v "sex" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "sex" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "sex" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule4" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "ntl" ] ; fhir:variable [ fhir:v "nationality" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "nationality" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "nationality" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule5" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "nid" ] ; fhir:variable [ fhir:v "id" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "nid" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "id" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule6" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "gn" ] ; fhir:variable [ fhir:v "gName" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "guardian" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "gName" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule7" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "v" ] ; fhir:variable [ fhir:v "v" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "vaccineDetails" ] ; fhir:variable [ fhir:v "tv" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "mapVaccineDetails" ] ; ( fhir:variable [ fhir:v "v" ] [ fhir:v "tv" ] ) ] ) ] ) ] [ fhir:name [ fhir:v "mapVaccineDetails" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "BackboneElement" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "ModelVaccineDetails" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "rule8" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "tg" ] ; fhir:variable [ fhir:v "tg" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "coding" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "tg" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://id.who.int/icd/release/11/mms" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "disease" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "coding" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule9" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "vp" ] ; fhir:variable [ fhir:v "vp" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "coding" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vp" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://id.who.int/icd/release/11/mms" ] ] ) ] [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "code" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "code" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "coding" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "vaccineClassification" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule10" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "mp" ] ; fhir:variable [ fhir:v "mp" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "id" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Identifier" ] ] ) ] [ fhir:context [ fhir:v "id" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "mp" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "vaccineTradeItem" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "id" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule11" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "ma" ] ; fhir:variable [ fhir:v "ma" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "manufacturer" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "ma" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule12" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "mid" ] ; fhir:variable [ fhir:v "mid" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "id" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Identifier" ] ] ) ] [ fhir:context [ fhir:v "id" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "mid" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "manufacturerId" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "id" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule13" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dt" ] ; fhir:variable [ fhir:v "dt" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "date" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "dt" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule14" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "bo" ] ; fhir:variable [ fhir:v "bo" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "batchNo" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "bo" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule18" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "period" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Period" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "rule15" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "vls" ] ; fhir:variable [ fhir:v "start" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "period" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "start" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "start" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule16" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "vle" ] ; fhir:variable [ fhir:v "end" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "period" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "end" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "end" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule17" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "validityPeriod" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "period" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "rule19" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "cn" ] ; fhir:variable [ fhir:v "cn" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "clinicianName" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "cn" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule21" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "is" ] ; fhir:variable [ fhir:v "is" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "issuer" ] ; fhir:variable [ fhir:v "issuer" ] ] [ fhir:context [ fhir:v "issuer" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "reference" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Organization/" ] ] [ fhir:value [ fhir:v "is" ] ] ) ] ) ] [ fhir:name [ fhir:v "rule20" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "dn" ] ; fhir:variable [ fhir:v "dn" ] ] ) ; ( fhir:target [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "coding" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Coding" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "dn" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://smart.who.int/icvp/CodeSystem/doseNumber" ] ] ) ] [ fhir:contextType [ fhir:v "variable" ] ; fhir:variable [ fhir:v "code" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ fhir:v "CodeableConcept" ] ] ) ] [ fhir:context [ fhir:v "code" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "coding" ] ] ) ] [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "doseNumber" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "code" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "generateNarrativeText" ] ; fhir:typeMode [ fhir:v "none" ] ; fhir:documentation [ fhir:v "helper function" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "Section" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "text" ] ; fhir:type [ fhir:v "string" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "setstatus" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "text" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "empty" ] ] ) ] ) ] [ fhir:name [ fhir:v "setdiv" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "text" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "div" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "<div>narrative not available</div>" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "humanNameToHumanName" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "sourceName" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "targetName" ] ; fhir:type [ fhir:v "HumanName" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "CopyUse" ] ; ( fhir:source [ fhir:context [ fhir:v "sourceName" ] ; fhir:element [ fhir:v "use" ] ; fhir:variable [ fhir:v "use" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetName" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "use" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "use" ] ] ) ] ) ] [ fhir:name [ fhir:v "CopyText" ] ; ( fhir:source [ fhir:context [ fhir:v "sourceName" ] ; fhir:element [ fhir:v "text" ] ; fhir:variable [ fhir:v "text" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetName" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "text" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "text" ] ] ) ] ) ] [ fhir:name [ fhir:v "CopyFamily" ] ; ( fhir:source [ fhir:context [ fhir:v "sourceName" ] ; fhir:element [ fhir:v "family" ] ; fhir:variable [ fhir:v "family" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetName" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "family" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "family" ] ] ) ] ) ] [ fhir:name [ fhir:v "CopyGiven" ] ; ( fhir:source [ fhir:context [ fhir:v "sourceName" ] ; fhir:element [ fhir:v "given" ] ; fhir:variable [ fhir:v "given" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetName" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "given" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "given" ] ] ) ] ) ] [ fhir:name [ fhir:v "CopyPrefix" ] ; ( fhir:source [ fhir:context [ fhir:v "sourceName" ] ; fhir:element [ fhir:v "prefix" ] ; fhir:variable [ fhir:v "prefix" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetName" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "prefix" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "prefix" ] ] ) ] ) ] [ fhir:name [ fhir:v "CopySuffix" ] ; ( fhir:source [ fhir:context [ fhir:v "sourceName" ] ; fhir:element [ fhir:v "suffix" ] ; fhir:variable [ fhir:v "suffix" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetName" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "suffix" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "suffix" ] ] ) ] ) ] [ fhir:name [ fhir:v "copyPeriod" ] ; ( fhir:source [ fhir:context [ fhir:v "sourceName" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "sourcePeriod" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetName" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "targetPeriod" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "CopyPeriod" ] ; ( fhir:source [ fhir:context [ fhir:v "sourcePeriod" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "sourcePeriod" ] ; fhir:contextType [ fhir:v "variable" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "periodToPeriod" ] ; ( fhir:variable [ fhir:v "sourcePeriod" ] [ fhir:v "targetPeriod" ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "periodToPeriod" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "sourcePeriod" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "targetPeriod" ] ; fhir:type [ fhir:v "Period" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set period start" ] ; ( fhir:source [ fhir:context [ fhir:v "sourcePeriod" ] ; fhir:element [ fhir:v "start" ] ; fhir:variable [ fhir:v "start" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetPeriod" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "start" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "start" ] ] ) ] ) ] [ fhir:name [ fhir:v "set period end" ] ; ( fhir:source [ fhir:context [ fhir:v "sourcePeriod" ] ; fhir:element [ fhir:v "end" ] ; fhir:variable [ fhir:v "end" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "targetPeriod" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "end" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "end" ] ] ) ] ) ] ) ] ) . #
IG © 2023+ WHO. Package smart.who.int.icvp#0.1.0 based on FHIR 4.0.1. Generated 2024-10-07
Links: Table of Contents |
QA Report
| Version History | License