FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. 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/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="ImplementationGuide3to4"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><pre class="fml">
<span style="color: #cc00cc">/// <b>url</b> = </span><span style="color: blue">'http://hl7.org/fhir/StructureMap/ImplementationGuide3to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'ImplementationGuide3to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'ImplementationGuide Transforms: R3 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/3.0/ImplementationGuide<span style="color: navy">" </span><b>alias </b>ImplementationGuideR3 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/ImplementationGuide<span style="color: navy">" </span><b>alias </b>ImplementationGuide <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*3to4<span style="color: navy">"
</span>
<b>group </b>ImplementationGuide<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ImplementationGuideR3, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ImplementationGuide<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.url<span style="color: navy"><b> -> </b></span>tgt.url<span style="color: navy">;</span>
src.version<span style="color: navy"><b> -> </b></span>tgt.version<span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span>
src.status<span style="color: navy"><b> -> </b></span>tgt.status<span style="color: navy">;</span>
src.experimental<span style="color: navy"><b> -> </b></span>tgt.experimental<span style="color: navy">;</span>
src.date<span style="color: navy"><b> -> </b></span>tgt.date<span style="color: navy">;</span>
src.publisher<span style="color: navy"><b> -> </b></span>tgt.publisher<span style="color: navy">;</span>
src.contact<span style="color: navy"><b> -> </b></span>tgt.contact<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.useContext<span style="color: navy"><b> -> </b></span>tgt.useContext<span style="color: navy">;</span>
src.jurisdiction<span style="color: navy"><b> -> </b></span>tgt.jurisdiction<span style="color: navy">;</span>
src.copyright<span style="color: navy"><b> -> </b></span>tgt.copyright<span style="color: navy">;</span>
src.fhirVersion<span style="color: navy"><b> -> </b></span>tgt.fhirVersion<span style="color: navy">;</span>
src.dependency<b> as </b><span style="color: maroon">vs0</span><b> check </b>type = 'reference'<span style="color: navy"><b> -> </b></span>tgt.dependsOn<b> as </b><span style="color: maroon">vt0</span><b> then </b>dependency<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.global<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.global<b> as </b><span style="color: maroon">vt0</span><b> then </b>global<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
src<span style="color: navy"><b> -> </b></span>tgt.definition<b> as </b><span style="color: maroon">dfn</span><b> then </b>definition<span style="color: navy">(</span><span style="color: maroon">src</span><span style="color: navy">, </span><span style="color: maroon">dfn</span><span style="color: navy">)</span> <i>"definition"</i><span style="color: navy">;</span>
src<b> where </b>binary.exists()<span style="color: navy"><b> -> </b></span>tgt.manifest<b> as </b><span style="color: maroon">mft</span><b> then </b>manifest<span style="color: navy">(</span><span style="color: maroon">src</span><span style="color: navy">, </span><span style="color: maroon">mft</span><span style="color: navy">)</span> <i>"manifest"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>dependency<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> src.uri<span style="color: navy"><b> -> </b></span>tgt.uri<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>global<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> src.type<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
src.profile<span style="color: navy"><b> -> </b></span>tgt.profile<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>definition<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> src.package<b> as </b><span style="color: maroon">pck</span><span style="color: navy"><b> -> </b></span>tgt.grouping<b> as </b><span style="color: maroon">grp</span><b> then </b>grouping<span style="color: navy">(</span><span style="color: maroon">pck</span><span style="color: navy">, </span><span style="color: maroon">tgt</span><span style="color: navy">, </span><span style="color: maroon">grp</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.page<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.page<b> as </b><span style="color: maroon">vt0</span><b> then </b>page<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>grouping<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">dfn</span>, <b>target</b> <span style="color: maroon">grp</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> src.name<span style="color: navy"><b> -> </b></span>grp.name<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>grp.description<span style="color: navy">;</span>
src.resource<b> as </b><span style="color: maroon">rs</span><span style="color: navy"><b> -> </b></span>dfn.resource<b> as </b><span style="color: maroon">rt</span><b> then </b>resource<span style="color: navy">(</span><span style="color: maroon">rs</span><span style="color: navy">, </span><span style="color: maroon">rt</span><span style="color: navy">, </span><span style="color: maroon">src</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>resource<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span>, <b>source</b> <span style="color: maroon">pck</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> pck.id<span style="color: navy"><b> -> </b></span>tgt.groupingId <i>"packageId"</i><span style="color: navy">;</span>
src.example<b> where </b>src.exampleFor.empty() as vs0<span style="color: navy"><b> -> </b></span>tgt.example = <b>create</b><span style="color: navy">(</span><span style="color: blue">'boolean'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt0</span><b> then </b>boolean<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.acronym<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span> tgt.extension<b> as </b><span style="color: maroon">ext</span><span style="color: navy">, </span> ext.url = <span style="color: blue">'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.package.resource.acronym'</span><span style="color: navy">, </span> ext.value = <span style="color: maroon">vs</span><span style="color: navy">;</span>
src.source<span style="color: navy"> : </span>uri<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span> tgt.reference<b> as </b><span style="color: maroon">ref</span><span style="color: navy">, </span> ref.reference = <span style="color: maroon">vs</span><span style="color: navy">, </span> ref.extension<b> as </b><span style="color: maroon">ext</span><span style="color: navy">, </span> ext.url = <span style="color: blue">'http://hl7.org/fhir/3.0/StructureDefinition/BaseType'</span><span style="color: navy">, </span> ext.value = <span style="color: blue">'uri'</span><span style="color: navy">;</span>
src.source<span style="color: navy"> : </span>Reference<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.reference<b> as </b><span style="color: maroon">vt0</span><b> then </b>reference<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>"sourceRef"</i><span style="color: navy">;</span>
src.exampleFor<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.example = <b>create</b><span style="color: navy">(</span><span style="color: blue">'canonical'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt0</span><b> then </b>Reference2Canonical<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>page<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> src.source<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.name = <b>create</b><span style="color: navy">(</span><span style="color: blue">'uri'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt0</span><b> then </b>uri<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.title<span style="color: navy"><b> -> </b></span>tgt.title<span style="color: navy">;</span>
src.kind<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span> tgt.extension<b> as </b><span style="color: maroon">ext</span><span style="color: navy">, </span> ext.url = <span style="color: blue">'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.kind'</span><span style="color: navy">, </span> ext.value = <span style="color: maroon">vs</span><span style="color: navy">;</span>
src.type<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span> tgt.extension<b> as </b><span style="color: maroon">ext</span><span style="color: navy">, </span> ext.url = <span style="color: blue">'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.type'</span><span style="color: navy">, </span> ext.value = <span style="color: maroon">vs</span><span style="color: navy">;</span>
src.package<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span> tgt.extension<b> as </b><span style="color: maroon">ext</span><span style="color: navy">, </span> ext.url = <span style="color: blue">'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.package'</span><span style="color: navy">, </span> ext.value = <span style="color: maroon">vs</span><span style="color: navy">;</span>
src.format<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span> tgt.extension<b> as </b><span style="color: maroon">ext</span><span style="color: navy">, </span> ext.url = <span style="color: blue">'http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.format'</span><span style="color: navy">, </span> ext.value = <span style="color: maroon">vs</span><span style="color: navy">;</span>
src.page<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.page<b> as </b><span style="color: maroon">vt0</span><b> then </b>page<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>manifest<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span> src.binary<span style="color: navy"><b> -> </b></span>tgt.other<span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="1">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
</extension>
</valueInteger>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="draft">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
</extension>
</valueCode>
</extension>
<url value="http://hl7.org/fhir/StructureMap/ImplementationGuide3to4"/>
<version value="0.1.0"/>
<name value="ImplementationGuide3to4"/>
<title value="ImplementationGuide Transforms: R3 to R4"/>
<status value="active"/>
<date value="2024-02-22T03:16:50+00:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<description value="ImplementationGuideTransformsR3toR4"/>
<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/3.0/ImplementationGuide"/>
<mode value="source"/>
<alias value="ImplementationGuideR3"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/ImplementationGuide"/>
<mode value="target"/>
<alias value="ImplementationGuide"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*3to4"/>
<group>
<name value="ImplementationGuide"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="ImplementationGuideR3"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="ImplementationGuide"/>
<mode value="target"/>
</input>
<rule>
<name value="url"/>
<source>
<context value="src"/>
<element value="url"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="url"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="version"/>
<source>
<context value="src"/>
<element value="version"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="version"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="name"/>
<source>
<context value="src"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="name"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="status"/>
<source>
<context value="src"/>
<element value="status"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="status"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="experimental"/>
<source>
<context value="src"/>
<element value="experimental"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="experimental"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="date"/>
<source>
<context value="src"/>
<element value="date"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="date"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="publisher"/>
<source>
<context value="src"/>
<element value="publisher"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="publisher"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="contact"/>
<source>
<context value="src"/>
<element value="contact"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="contact"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="description"/>
<source>
<context value="src"/>
<element value="description"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="description"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="useContext"/>
<source>
<context value="src"/>
<element value="useContext"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="useContext"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="jurisdiction"/>
<source>
<context value="src"/>
<element value="jurisdiction"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="jurisdiction"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="copyright"/>
<source>
<context value="src"/>
<element value="copyright"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="copyright"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="fhirVersion"/>
<source>
<context value="src"/>
<element value="fhirVersion"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="fhirVersion"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="dependency"/>
<source>
<context value="src"/>
<element value="dependency"/>
<variable value="vs0"/>
<check value="type = 'reference'"/>
</source>
<target>
<context value="tgt"/>
<element value="dependsOn"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="dependency"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="global"/>
<source>
<context value="src"/>
<element value="global"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="global"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="global"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="definition"/>
<source>
<context value="src"/>
</source>
<target>
<context value="tgt"/>
<element value="definition"/>
<variable value="dfn"/>
</target>
<dependent>
<name value="definition"/>
<parameter>
<valueId value="src"/>
</parameter>
<parameter>
<valueId value="dfn"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="manifest"/>
<source>
<context value="src"/>
<condition value="binary.exists()"/>
</source>
<target>
<context value="tgt"/>
<element value="manifest"/>
<variable value="mft"/>
</target>
<dependent>
<name value="manifest"/>
<parameter>
<valueId value="src"/>
</parameter>
<parameter>
<valueId value="mft"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="dependency"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="uri"/>
<source>
<context value="src"/>
<element value="uri"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="uri"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="global"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="type"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="profile"/>
<source>
<context value="src"/>
<element value="profile"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="profile"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="definition"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="package"/>
<source>
<context value="src"/>
<element value="package"/>
<variable value="pck"/>
</source>
<target>
<context value="tgt"/>
<element value="grouping"/>
<variable value="grp"/>
</target>
<dependent>
<name value="grouping"/>
<parameter>
<valueId value="pck"/>
</parameter>
<parameter>
<valueId value="tgt"/>
</parameter>
<parameter>
<valueId value="grp"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="page"/>
<source>
<context value="src"/>
<element value="page"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="page"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="page"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="grouping"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="dfn"/>
<mode value="target"/>
</input>
<input>
<name value="grp"/>
<mode value="target"/>
</input>
<rule>
<name value="name"/>
<source>
<context value="src"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="grp"/>
<element value="name"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="description"/>
<source>
<context value="src"/>
<element value="description"/>
<variable value="vvv"/>
</source>
<target>
<context value="grp"/>
<element value="description"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="resource"/>
<source>
<context value="src"/>
<element value="resource"/>
<variable value="rs"/>
</source>
<target>
<context value="dfn"/>
<element value="resource"/>
<variable value="rt"/>
</target>
<dependent>
<name value="resource"/>
<parameter>
<valueId value="rs"/>
</parameter>
<parameter>
<valueId value="rt"/>
</parameter>
<parameter>
<valueId value="src"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="resource"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<input>
<name value="pck"/>
<mode value="source"/>
</input>
<rule>
<name value="packageId"/>
<source>
<context value="pck"/>
<element value="id"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="groupingId"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="example"/>
<source>
<context value="src"/>
<element value="example"/>
<condition value="src.exampleFor.empty() as vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="example"/>
<variable value="vt0"/>
<transform value="create"/>
<parameter>
<valueString value="boolean"/>
</parameter>
</target>
<dependent>
<name value="boolean"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="name"/>
<source>
<context value="src"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="name"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="description"/>
<source>
<context value="src"/>
<element value="description"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="description"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="acronym"/>
<source>
<context value="src"/>
<element value="acronym"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="extension"/>
<variable value="ext"/>
</target>
<target>
<context value="ext"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.package.resource.acronym"/>
</parameter>
</target>
<target>
<context value="ext"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="vs"/>
</parameter>
</target>
</rule>
<rule>
<name value="sourceUri"/>
<source>
<context value="src"/>
<type value="uri"/>
<element value="source"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="reference"/>
<variable value="ref"/>
</target>
<target>
<context value="ref"/>
<element value="reference"/>
<transform value="copy"/>
<parameter>
<valueId value="vs"/>
</parameter>
</target>
<target>
<context value="ref"/>
<element value="extension"/>
<variable value="ext"/>
</target>
<target>
<context value="ext"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/3.0/StructureDefinition/BaseType"/>
</parameter>
</target>
<target>
<context value="ext"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueString value="uri"/>
</parameter>
</target>
</rule>
<rule>
<name value="sourceRef"/>
<source>
<context value="src"/>
<type value="Reference"/>
<element value="source"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="reference"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="reference"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="exampleFor"/>
<source>
<context value="src"/>
<element value="exampleFor"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="example"/>
<variable value="vt0"/>
<transform value="create"/>
<parameter>
<valueString value="canonical"/>
</parameter>
</target>
<dependent>
<name value="Reference2Canonical"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="page"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="source"/>
<source>
<context value="src"/>
<element value="source"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="name"/>
<variable value="vt0"/>
<transform value="create"/>
<parameter>
<valueString value="uri"/>
</parameter>
</target>
<dependent>
<name value="uri"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="title"/>
<source>
<context value="src"/>
<element value="title"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="title"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="kind"/>
<source>
<context value="src"/>
<element value="kind"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="extension"/>
<variable value="ext"/>
</target>
<target>
<context value="ext"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.kind"/>
</parameter>
</target>
<target>
<context value="ext"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="vs"/>
</parameter>
</target>
</rule>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="extension"/>
<variable value="ext"/>
</target>
<target>
<context value="ext"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.type"/>
</parameter>
</target>
<target>
<context value="ext"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="vs"/>
</parameter>
</target>
</rule>
<rule>
<name value="package"/>
<source>
<context value="src"/>
<element value="package"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="extension"/>
<variable value="ext"/>
</target>
<target>
<context value="ext"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.package"/>
</parameter>
</target>
<target>
<context value="ext"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="vs"/>
</parameter>
</target>
</rule>
<rule>
<name value="format"/>
<source>
<context value="src"/>
<element value="format"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="extension"/>
<variable value="ext"/>
</target>
<target>
<context value="ext"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://hl7.org/fhir/3.0/StructureDefinition/extension-ImplementationGuide.page.format"/>
</parameter>
</target>
<target>
<context value="ext"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="vs"/>
</parameter>
</target>
</rule>
<rule>
<name value="page"/>
<source>
<context value="src"/>
<element value="page"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="page"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="page"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="manifest"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="binary"/>
<source>
<context value="src"/>
<element value="binary"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="other"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</group>
</StructureMap>