FHIR Extensions Pack
1.0.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. 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

: FML Conversion for ImplementationGuide: R5 to R4 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="ImplementationGuide5to4"/>
  <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/ImplementationGuide5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'ImplementationGuide5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for ImplementationGuide: R5 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>conceptmap</b><span style="color: navy"> &quot;</span>GuidePageGeneration<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-guide-page-generation.html" title="Guide Page Generation">http://hl7.org/fhir/guide-page-generation</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-guide-page-generation.html" title="GuidePageGeneration">http://hl7.org/fhir/4.0/guide-page-generation</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>html <b>-</b> t<span style="color: navy">:</span>html
  s<span style="color: navy">:</span>markdown <b>-</b> t<span style="color: navy">:</span>markdown
  s<span style="color: navy">:</span>xml <b>-</b> t<span style="color: navy">:</span>xml
  s<span style="color: navy">:</span>generated <b>-</b> t<span style="color: navy">:</span>generated
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>PublicationStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/publication-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.0/publication-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>draft <b>-</b> t<span style="color: navy">:</span>draft
  s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
  s<span style="color: navy">:</span>retired <b>-</b> t<span style="color: navy">:</span>retired
  s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>SPDXLicense<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-spdx-license.html" title="S P D X License">http://hl7.org/fhir/spdx-license</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-spdx-license.html" title="SPDXLicense">http://hl7.org/fhir/4.0/spdx-license</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>&quot;not-open-source&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>not-open-source<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;0BSD&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>0BSD<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>AAL <b>-</b> t<span style="color: navy">:</span>AAL
  s<span style="color: navy">:</span>Abstyles <b>-</b> t<span style="color: navy">:</span>Abstyles
  s<span style="color: navy">:</span>&quot;Adobe-2006&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>Adobe-2006<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;Adobe-Glyph&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>Adobe-Glyph<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>ADSL <b>-</b> t<span style="color: navy">:</span>ADSL
  s<span style="color: navy">:</span>&quot;AFL-1.1&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AFL-1.1<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;AFL-1.2&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AFL-1.2<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;AFL-2.0&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AFL-2.0<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;AFL-2.1&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AFL-2.1<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;AFL-3.0&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AFL-3.0<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>Afmparse <b>-</b> t<span style="color: navy">:</span>Afmparse
  s<span style="color: navy">:</span>&quot;AGPL-1.0-only&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AGPL-1.0-only<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;AGPL-1.0-or-later&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AGPL-1.0-or-later<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;AGPL-3.0-only&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AGPL-3.0-only<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;AGPL-3.0-or-later&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>AGPL-3.0-or-later<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>Aladdin <b>-</b> t<span style="color: navy">:</span>Aladdin
  s<span style="color: navy">:</span>AMDPLPA <b>-</b> t<span style="color: navy">:</span>AMDPLPA
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/implementationguide.html" title="ImplementationGuide">http://hl7.org/fhir/StructureDefinition/ImplementationGuide</a><span style="color: navy">&quot; </span><b>alias </b>ImplementationGuideR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/implementationguide.html" title="ImplementationGuide">http://hl7.org/fhir/4.0/StructureDefinition/ImplementationGuide</a><span style="color: navy">&quot; </span><b>alias </b>ImplementationGuideR4 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">&quot;
</span>
<b>group </b>ImplementationGuide<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ImplementationGuideR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ImplementationGuideR4<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
  src.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.identifier -&gt; tgt.identifier;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.versionAlgorithm : string -&gt; tgt.versionAlgorithm;</span>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span>
  src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.status = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#PublicationStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.experimental<span style="color: navy"><b> -&gt; </b></span>tgt.experimental<span style="color: navy">;</span>
  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date<span style="color: navy">;</span>
  src.publisher<span style="color: navy"><b> -&gt; </b></span>tgt.publisher<span style="color: navy">;</span>
  src.contact<span style="color: navy"><b> -&gt; </b></span>tgt.contact<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.useContext<span style="color: navy"><b> -&gt; </b></span>tgt.useContext<span style="color: navy">;</span>
  src.jurisdiction<span style="color: navy"><b> -&gt; </b></span>tgt.jurisdiction<span style="color: navy">;</span>
  src.copyright<span style="color: navy"><b> -&gt; </b></span>tgt.copyright<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.purpose -&gt; tgt.purpose;</span>
  src.packageId<span style="color: navy"><b> -&gt; </b></span>tgt.packageId<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyrightLabel -&gt; tgt.copyrightLabel;</span>
  src.license<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.license = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#SPDXLicense'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.fhirVersion<span style="color: navy"><b> -&gt; </b></span>tgt.fhirVersion<span style="color: navy">;</span>
  src.dependsOn<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.dependsOn<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideDependsOn<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.global<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.global<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideGlobal<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.definition<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.definition<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideDefinition<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.manifest<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.manifest<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideManifest<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideDependsOn<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> -&gt; </b></span>tgt.uri<span style="color: navy">;</span>
  src.packageId<span style="color: navy"><b> -&gt; </b></span>tgt.packageId<span style="color: navy">;</span>
  src.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideGlobal<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> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.profile<span style="color: navy"><b> -&gt; </b></span>tgt.profile<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideDefinition<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.grouping<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.grouping<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideDefinitionGrouping<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.resource<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.resource<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideDefinitionResource<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.page<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.page<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideDefinitionPage<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.parameter<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.parameter<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideDefinitionParameter<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.template<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.template<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideDefinitionTemplate<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideDefinitionGrouping<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.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideDefinitionResource<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.reference<span style="color: navy"><b> -&gt; </b></span>tgt.reference<span style="color: navy">;</span>
  src.fhirVersion<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.fhirVersion = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#FHIRVersion'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.isExample<span style="color: navy"><b> -&gt; </b></span>tgt.example<span style="color: navy">;</span>
  src.profile<span style="color: navy"><b> -&gt; </b></span>tgt.example<span style="color: navy">;</span>
  src.groupingId<span style="color: navy"><b> -&gt; </b></span>tgt.groupingId<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideDefinitionPage<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<span style="color: navy"> : </span>url<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.source : string -&gt; tgt.source;</span>
  src.generation<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.generation = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#GuidePageGeneration'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.page<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.page<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideDefinitionPage<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideDefinitionParameter<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.code<b> as </b><span style="color: maroon">s</span><b> then</b><span style="color: navy"> {
</span>    s.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  <span style="color: navy">}</span><span style="color: navy">;</span>
  src.value<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideDefinitionTemplate<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.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.source<span style="color: navy"><b> -&gt; </b></span>tgt.source<span style="color: navy">;</span>
  src.scope<span style="color: navy"><b> -&gt; </b></span>tgt.scope<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideManifest<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.rendering<span style="color: navy"><b> -&gt; </b></span>tgt.rendering<span style="color: navy">;</span>
  src.resource<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.resource<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideManifestResource<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.page<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.page<b> as </b><span style="color: maroon">t</span><b> then </b>ImplementationGuideManifestPage<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.image<span style="color: navy"><b> -&gt; </b></span>tgt.image<span style="color: navy">;</span>
  src.other<span style="color: navy"><b> -&gt; </b></span>tgt.other<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideManifestResource<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.reference<span style="color: navy"><b> -&gt; </b></span>tgt.reference<span style="color: navy">;</span>
  src.isExample<span style="color: navy"><b> -&gt; </b></span>tgt.example<span style="color: navy">;</span>
  src.profile<span style="color: navy"><b> -&gt; </b></span>tgt.example<span style="color: navy">;</span>
  src.relativePath<span style="color: navy"><b> -&gt; </b></span>tgt.relativePath<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ImplementationGuideManifestPage<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.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span>
  src.anchor<span style="color: navy"><b> -&gt; </b></span>tgt.anchor<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="GuidePageGeneration"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/guide-page-generation"/>
        <target value="http://hl7.org/fhir/4.0/guide-page-generation"/>
        <element>
          <code value="html"/>
          <target>
            <code value="html"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="markdown"/>
          <target>
            <code value="markdown"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="xml"/>
          <target>
            <code value="xml"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="generated"/>
          <target>
            <code value="generated"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="PublicationStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/publication-status"/>
        <target value="http://hl7.org/fhir/4.0/publication-status"/>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="retired"/>
          <target>
            <code value="retired"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="SPDXLicense"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/spdx-license"/>
        <target value="http://hl7.org/fhir/4.0/spdx-license"/>
        <element>
          <code value="not-open-source"/>
          <target>
            <code value="not-open-source"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="0BSD"/>
          <target>
            <code value="0BSD"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AAL"/>
          <target>
            <code value="AAL"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="Abstyles"/>
          <target>
            <code value="Abstyles"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="Adobe-2006"/>
          <target>
            <code value="Adobe-2006"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="Adobe-Glyph"/>
          <target>
            <code value="Adobe-Glyph"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="ADSL"/>
          <target>
            <code value="ADSL"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AFL-1.1"/>
          <target>
            <code value="AFL-1.1"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AFL-1.2"/>
          <target>
            <code value="AFL-1.2"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AFL-2.0"/>
          <target>
            <code value="AFL-2.0"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AFL-2.1"/>
          <target>
            <code value="AFL-2.1"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AFL-3.0"/>
          <target>
            <code value="AFL-3.0"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="Afmparse"/>
          <target>
            <code value="Afmparse"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AGPL-1.0-only"/>
          <target>
            <code value="AGPL-1.0-only"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AGPL-1.0-or-later"/>
          <target>
            <code value="AGPL-1.0-or-later"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AGPL-3.0-only"/>
          <target>
            <code value="AGPL-3.0-only"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AGPL-3.0-or-later"/>
          <target>
            <code value="AGPL-3.0-or-later"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="Aladdin"/>
          <target>
            <code value="Aladdin"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="AMDPLPA"/>
          <target>
            <code value="AMDPLPA"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <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.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/ImplementationGuide5to4"/>
  <version value="1.0.0"/>
  <name value="ImplementationGuide5to4"/>
  <title value="FML Conversion for ImplementationGuide: R5 to R4"/>
  <status value="active"/>
  <date value="2023-03-26T08:47:34+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/fhir-i"/>
    </telecom>
  </contact>
  <description value="FMLConversionforImplementationGuideR5toR4"/>
  <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/ImplementationGuide"/>
    <mode value="source"/>
    <alias value="ImplementationGuideR5"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/4.0/StructureDefinition/ImplementationGuide"/>
    <mode value="target"/>
    <alias value="ImplementationGuideR4"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4"/>
  <group>
    <name value="ImplementationGuide"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="ImplementationGuideR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="ImplementationGuideR4"/>
      <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>
      <documentation value="src.identifier -&gt; tgt.identifier;"/>
    </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>
      <documentation
                     value="src.versionAlgorithm : string -&gt; tgt.versionAlgorithm;"/>
    </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="status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#PublicationStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </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>
      <documentation value="src.purpose -&gt; tgt.purpose;"/>
    </rule>
    <rule>
      <name value="packageId"/>
      <source>
        <context value="src"/>
        <element value="packageId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="packageId"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.copyrightLabel -&gt; tgt.copyrightLabel;"/>
    </rule>
    <rule>
      <name value="license"/>
      <source>
        <context value="src"/>
        <element value="license"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="license"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#SPDXLicense"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </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="dependsOn"/>
      <source>
        <context value="src"/>
        <element value="dependsOn"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="dependsOn"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideDependsOn"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="global"/>
      <source>
        <context value="src"/>
        <element value="global"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="global"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideGlobal"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="definition"/>
      <source>
        <context value="src"/>
        <element value="definition"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="definition"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideDefinition"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="manifest"/>
      <source>
        <context value="src"/>
        <element value="manifest"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="manifest"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideManifest"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ImplementationGuideDependsOn"/>
    <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>
    <rule>
      <name value="packageId"/>
      <source>
        <context value="src"/>
        <element value="packageId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="packageId"/>
        <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>
  </group>
  <group>
    <name value="ImplementationGuideGlobal"/>
    <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="ImplementationGuideDefinition"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="grouping"/>
      <source>
        <context value="src"/>
        <element value="grouping"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="grouping"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideDefinitionGrouping"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="resource"/>
      <source>
        <context value="src"/>
        <element value="resource"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resource"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideDefinitionResource"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="page"/>
      <source>
        <context value="src"/>
        <element value="page"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="page"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideDefinitionPage"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="parameter"/>
      <source>
        <context value="src"/>
        <element value="parameter"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="parameter"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideDefinitionParameter"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="template"/>
      <source>
        <context value="src"/>
        <element value="template"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="template"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideDefinitionTemplate"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ImplementationGuideDefinitionGrouping"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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>
  </group>
  <group>
    <name value="ImplementationGuideDefinitionResource"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="reference"/>
      <source>
        <context value="src"/>
        <element value="reference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reference"/>
        <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="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fhirVersion"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#FHIRVersion"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </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="isExample"/>
      <source>
        <context value="src"/>
        <element value="isExample"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="example"/>
        <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="example"/>
        <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="groupingId"/>
      <source>
        <context value="src"/>
        <element value="groupingId"/>
        <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>
  </group>
  <group>
    <name value="ImplementationGuideDefinitionPage"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sourceUrl"/>
      <source>
        <context value="src"/>
        <type value="url"/>
        <element value="source"/>
        <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="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>
      <documentation value="src.source : string -&gt; tgt.source;"/>
    </rule>
    <rule>
      <name value="generation"/>
      <source>
        <context value="src"/>
        <element value="generation"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="generation"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#GuidePageGeneration"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="page"/>
      <source>
        <context value="src"/>
        <element value="page"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="page"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideDefinitionPage"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ImplementationGuideDefinitionParameter"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="s"/>
      </source>
      <rule>
        <name value="code"/>
        <source>
          <context value="s"/>
          <element value="code"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="tgt"/>
          <element value="code"/>
          <variable value="vvv"/>
          <transform value="create"/>
        </target>
        <dependent>
          <name value="DefaultMappingGroupAnonymousAlias"/>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
        </dependent>
      </rule>
    </rule>
    <rule>
      <name value="value"/>
      <source>
        <context value="src"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="ImplementationGuideDefinitionTemplate"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="code"/>
        <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="source"/>
      <source>
        <context value="src"/>
        <element value="source"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="source"/>
        <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="scope"/>
      <source>
        <context value="src"/>
        <element value="scope"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="scope"/>
        <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="ImplementationGuideManifest"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="rendering"/>
      <source>
        <context value="src"/>
        <element value="rendering"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rendering"/>
        <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="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resource"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideManifestResource"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="page"/>
      <source>
        <context value="src"/>
        <element value="page"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="page"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ImplementationGuideManifestPage"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="image"/>
      <source>
        <context value="src"/>
        <element value="image"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="image"/>
        <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="other"/>
      <source>
        <context value="src"/>
        <element value="other"/>
        <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>
  <group>
    <name value="ImplementationGuideManifestResource"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="reference"/>
      <source>
        <context value="src"/>
        <element value="reference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reference"/>
        <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="isExample"/>
      <source>
        <context value="src"/>
        <element value="isExample"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="example"/>
        <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="example"/>
        <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="relativePath"/>
      <source>
        <context value="src"/>
        <element value="relativePath"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relativePath"/>
        <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="ImplementationGuideManifestPage"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="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="anchor"/>
      <source>
        <context value="src"/>
        <element value="anchor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="anchor"/>
        <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>