WHO Digital Documentation of COVID-19 Certificates (DDCC)
1.0.0 - CI Build
This page is part of the WHO Digital Documentation of COVID-19 Certificates (DDCC) (v1.0.0: releases Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Draft as of 2024-10-15 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="BundleVSToAddBundle"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap BundleVSToAddBundle</b></p><a name="BundleVSToAddBundle"> </a><a name="hcBundleVSToAddBundle"> </a><a name="BundleVSToAddBundle-en-US"> </a><pre class="fml">
<b>map</b><span style="color: navy"> "</span>http://smart.who.int/ddcc/StructureMap/BundleVSToAddBundle<span style="color: navy">" = "</span>BundleVSToAddBundle<span style="color: navy">"
</span><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>DDCCBundle <b>as </b><b>source</b>
<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>AddBundle <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span><a href="StructureMap-CoreDataSetVSToAddBundle.html" title="CoreDataSetVSToAddBundle">http://smart.who.int/ddcc/StructureMap/CoreDataSetVSToAddBundle</a><span style="color: navy">"
</span>
<b>group </b>BundleVSToAddBundle<span style="color: navy">(</span><b>source</b> <span style="color: maroon">ddccbundle</span><span style="color: navy"> : </span>DDCCBundle, <b>target</b> <span style="color: maroon">bundle</span><span style="color: navy"> : </span>AddBundle<span style="color: navy">)</span><span style="color: navy"> {
</span> ddccbundle.entry first<b> as </b><span style="color: maroon">ddcc</span><span style="color: navy"><b> -> </b></span>bundle<b> then </b>CoreDataSetVSToAddBundle<span style="color: navy">(</span><span style="color: maroon">ddcc</span><span style="color: navy">, </span><span style="color: maroon">bundle</span><span style="color: navy">)</span> <i>"get first entry from bundle"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<url value="http://smart.who.int/ddcc/StructureMap/BundleVSToAddBundle"/>
<version value="1.0.0"/>
<name value="BundleVSToAddBundle"/>
<status value="draft"/>
<date value="2024-10-15T11:00:36+02:00"/>
<publisher value="WHO"/>
<contact>
<name value="WHO"/>
<telecom>
<system value="url"/>
<value value="http://who.int"/>
</telecom>
</contact>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
</coding>
</jurisdiction>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
<mode value="source"/>
<alias value="DDCCBundle"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
<mode value="target"/>
<alias value="AddBundle"/>
</structure>
<import
value="http://smart.who.int/ddcc/StructureMap/CoreDataSetVSToAddBundle"/>
<group>
<name value="BundleVSToAddBundle"/>
<typeMode value="none"/>
<input>
<name value="ddccbundle"/>
<type value="DDCCBundle"/>
<mode value="source"/>
</input>
<input>
<name value="bundle"/>
<type value="AddBundle"/>
<mode value="target"/>
</input>
<rule>
<name value="get first entry from bundle"/>
<source>
<context value="ddccbundle"/>
<element value="entry"/>
<listMode value="first"/>
<variable value="ddcc"/>
</source>
<target>
<context value="bundle"/>
<contextType value="variable"/>
</target>
<dependent>
<name value="CoreDataSetVSToAddBundle"/>
<variable value="ddcc"/>
<variable value="bundle"/>
</dependent>
</rule>
</group>
</StructureMap>