This page is part of the Canonical Resource Management Infrastructure Implementation Guide (v2.0.0-ballot: STU 2 Ballot) based on FHIR (HL7® FHIR® Standard) R4. This version is a pre-release. The current official version is 1.0.0. For a full list of available versions, see the Directory of published versions
Page standards status: Informative |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="publishable-example"/>
<meta>
<profile
value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablestructuremap"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap publishable-example</b></p><a name="publishable-example"> </a><a name="hcpublishable-example"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-crmi-publishablestructuremap.html">CRMI Publishable StructureMap</a></p></div><pre class="fml">
<b>map</b><span style="color: navy"> "</span>http://hl7.org/fhir/uv/crmi/StructureMap/publishable-example<span style="color: navy">" = "</span>PublishableStructureMapExample<span style="color: navy">"
</span><span style="color: navy">// </span><span style="color: green">Example Structure Map</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// Source.test -> Destination.testValue</span>
<b>group </b>Examples<span style="color: navy">(</span><b>source</b> <span style="color: maroon">Source</span>, <b>target</b> <span style="color: maroon">Destination</span><span style="color: navy">)</span><span style="color: navy"> {
</span> Source.test<span style="color: navy"> : </span>SourceClassA<b> as </b><span style="color: maroon">t</span><span style="color: navy"><b> -> </b></span>Destination.testValue = <b>copy</b><span style="color: navy">(</span><span style="color: navy">)</span> <i>"rule1"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<url value="http://hl7.org/fhir/uv/crmi/StructureMap/publishable-example"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.40.38.43.1"/>
</identifier>
<version value="0.1"/>
<name value="PublishableStructureMapExample"/>
<title value="Publishable StructureMap Example"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2017-03-09"/>
<publisher value="HL7 FHIR Standard"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<description value="Example Structure Map"/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="009"/>
<display value="Oceania"/>
</coding>
</jurisdiction>
<group>
<name value="Examples"/>
<typeMode value="none"/>
<documentation value="Source.test -> Destination.testValue"/>
<input>
<name value="Source"/>
<mode value="source"/>
</input>
<input>
<name value="Destination"/>
<mode value="target"/>
</input>
<rule>
<name value="rule1"/>
<source>
<context value="Source"/>
<type value="SourceClassA"/>
<element value="test"/>
<variable value="t"/>
</source>
<target>
<context value="Destination"/>
<contextType value="variable"/>
<element value="testValue"/>
<transform value="copy"/>
</target>
</rule>
</group>
</StructureMap>