DK EHMI SBDH IG
0.91.0 - ci-build
DK EHMI SBDH IG, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 0.91.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-ehmi-sbdh/ and changes regularly. See the Directory of published versions
Draft as of 2024-12-10 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="MedComMessagingMessage2MedComDocumentReference-transform"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap MedComMessagingMessage2MedComDocumentReference-transform</b></p><a name="MedComMessagingMessage2MedComDocumentReference-transform"> </a><a name="hcMedComMessagingMessage2MedComDocumentReference-transform"> </a><a name="MedComMessagingMessage2MedComDocumentReference-transform-da-DK"> </a><pre class="fml">
<b>map</b><span style="color: navy"> "</span>http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedComMessagingMessage2MedComDocumentReference-transform<span style="color: navy">" = "</span>Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference<span style="color: navy">"
</span><span style="color: navy">// </span><span style="color: green">Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference</span>
<b>uses</b><span style="color: navy"> "</span><a href="https://build.fhir.org/ig/medcomdk/dk-medcom-messaging/StructureDefinition-medcom-messaging-message.html" title="MedComMessagingMessage">http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message</a><span style="color: navy">" </span><b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="https://build.fhir.org/ig/medcomdk/dk-medcom-document/StructureDefinition-medcom-documentreference.html" title="MedComDocumentReference">http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference</a><span style="color: navy">" </span><b>as </b><b>target</b>
<b>group </b>MedComMessagingMessage2MedComDocumentReference<span style="color: navy">(</span><b>source</b> <span style="color: maroon">source</span><span style="color: navy"> : </span>Bundle, <b>target</b> <span style="color: maroon">target</span><span style="color: navy"> : </span>DocumentReference<span style="color: navy">)</span><span style="color: navy"> {
</span> source<b> default </b>"zyx"<span style="color: navy"><b> -> </b></span>target.versionid = <b>create</b><span style="color: navy">(</span><span style="color: navy">)</span> <i>"homeCommunityid"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<url
value="http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedComMessagingMessage2MedComDocumentReference-transform"/>
<version value="0.91.0"/>
<name
value="Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference"/>
<title
value="Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference"/>
<status value="draft"/>
<date value="2024-12-10T14:41:40+00:00"/>
<publisher value="MedCom"/>
<contact>
<name value="MedCom"/>
<telecom>
<system value="url"/>
<value value="http://medcom.dk"/>
</telecom>
</contact>
<description
value="Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="DK"/>
<display value="Denmark"/>
</coding>
</jurisdiction>
<structure>
<url
value="http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message"/>
<mode value="source"/>
</structure>
<structure>
<url
value="http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference"/>
<mode value="target"/>
</structure>
<group>
<name value="MedComMessagingMessage2MedComDocumentReference"/>
<typeMode value="none"/>
<input>
<name value="source"/>
<type value="Bundle"/>
<mode value="source"/>
</input>
<input>
<name value="target"/>
<type value="DocumentReference"/>
<mode value="target"/>
</input>
<rule>
<name value="homeCommunityid"/>
<source>
<context value="source"/>
<defaultValueCode value="zyx"/>
</source>
<target>
<context value="target"/>
<contextType value="variable"/>
<element value="versionid"/>
<transform value="create"/>
</target>
</rule>
</group>
</StructureMap>