FHIR Extensions Pack
5.1.0-snapshot1 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

: FML Conversion for StructureMap: R5 to R4B - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="StructureMap5to4B"/>
  <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/StructureMap5to4B'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'StructureMap5to4B'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for StructureMap: R5 to R4B'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</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/R4B/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.3/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>StructureMapGroupTypeMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-map-group-type-mode.html" title="Structure Map Group Type Mode">http://hl7.org/fhir/map-group-type-mode</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-map-group-type-mode.html" title="StructureMapGroupTypeMode">http://hl7.org/fhir/4.3/map-group-type-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>types <b>-</b> t<span style="color: navy">:</span>types
  s<span style="color: navy">:</span>&quot;type-and-types&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>type-and-types<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>StructureMapInputMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-map-input-mode.html" title="Structure Map Input Mode">http://hl7.org/fhir/map-input-mode</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-map-input-mode.html" title="StructureMapInputMode">http://hl7.org/fhir/4.3/map-input-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>source <b>-</b> t<span style="color: navy">:</span>source
  s<span style="color: navy">:</span>target <b>-</b> t<span style="color: navy">:</span>target
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>StructureMapModelMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-map-model-mode.html" title="Structure Map Model Mode">http://hl7.org/fhir/map-model-mode</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-map-model-mode.html" title="StructureMapModelMode">http://hl7.org/fhir/4.3/map-model-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>source <b>-</b> t<span style="color: navy">:</span>source
  s<span style="color: navy">:</span>queried <b>-</b> t<span style="color: navy">:</span>queried
  s<span style="color: navy">:</span>target <b>-</b> t<span style="color: navy">:</span>target
  s<span style="color: navy">:</span>produced <b>-</b> t<span style="color: navy">:</span>produced
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>StructureMapSourceListMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-map-source-list-mode.html" title="Structure Map Source List Mode">http://hl7.org/fhir/map-source-list-mode</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-map-source-list-mode.html" title="StructureMapSourceListMode">http://hl7.org/fhir/4.3/map-source-list-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>first <b>-</b> t<span style="color: navy">:</span>first
  s<span style="color: navy">:</span>not_first <b>-</b> t<span style="color: navy">:</span>not_first
  s<span style="color: navy">:</span>last <b>-</b> t<span style="color: navy">:</span>last
  s<span style="color: navy">:</span>not_last <b>-</b> t<span style="color: navy">:</span>not_last
  s<span style="color: navy">:</span>only_one <b>-</b> t<span style="color: navy">:</span>only_one
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>StructureMapTargetListMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-map-target-list-mode.html" title="Structure Map Target List Mode">http://hl7.org/fhir/map-target-list-mode</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-map-target-list-mode.html" title="StructureMapTargetListMode">http://hl7.org/fhir/4.3/map-target-list-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>first <b>-</b> t<span style="color: navy">:</span>first
  s<span style="color: navy">:</span>share <b>-</b> t<span style="color: navy">:</span>share
  s<span style="color: navy">:</span>last <b>-</b> t<span style="color: navy">:</span>last
  s<span style="color: navy">:</span>single <b>-</b> t<span style="color: navy">:</span>collate
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>StructureMapTransform<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-map-transform.html" title="Structure Map Transform">http://hl7.org/fhir/map-transform</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-map-transform.html" title="StructureMapTransform">http://hl7.org/fhir/4.3/map-transform</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>create <b>-</b> t<span style="color: navy">:</span>create
  s<span style="color: navy">:</span>copy <b>-</b> t<span style="color: navy">:</span>copy
  s<span style="color: navy">:</span>truncate <b>-</b> t<span style="color: navy">:</span>truncate
  s<span style="color: navy">:</span>escape <b>-</b> t<span style="color: navy">:</span>escape
  s<span style="color: navy">:</span>cast <b>-</b> t<span style="color: navy">:</span>cast
  s<span style="color: navy">:</span>append <b>-</b> t<span style="color: navy">:</span>append
  s<span style="color: navy">:</span>translate <b>-</b> t<span style="color: navy">:</span>translate
  s<span style="color: navy">:</span>reference <b>-</b> t<span style="color: navy">:</span>reference
  s<span style="color: navy">:</span>dateOp <b>-</b> t<span style="color: navy">:</span>dateOp
  s<span style="color: navy">:</span>uuid <b>-</b> t<span style="color: navy">:</span>uuid
  s<span style="color: navy">:</span>pointer <b>-</b> t<span style="color: navy">:</span>pointer
  s<span style="color: navy">:</span>evaluate <b>-</b> t<span style="color: navy">:</span>evaluate
  s<span style="color: navy">:</span>cc <b>-</b> t<span style="color: navy">:</span>cc
  s<span style="color: navy">:</span>c <b>-</b> t<span style="color: navy">:</span>c
  s<span style="color: navy">:</span>qty <b>-</b> t<span style="color: navy">:</span>qty
  s<span style="color: navy">:</span>id <b>-</b> t<span style="color: navy">:</span>id
  s<span style="color: navy">:</span>cp <b>-</b> t<span style="color: navy">:</span>cp
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/structuremap.html" title="StructureMap">http://hl7.org/fhir/StructureDefinition/StructureMap</a><span style="color: navy">&quot; </span><b>alias </b>StructureMapR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/structuremap.html" title="StructureMap">http://hl7.org/fhir/4.3/StructureDefinition/StructureMap</a><span style="color: navy">&quot; </span><b>alias </b>StructureMapR4B <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4B<span style="color: navy">&quot;
</span>
<b>group </b>StructureMap<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>StructureMapR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>StructureMapR4B<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.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</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.purpose<span style="color: navy"><b> -&gt; </b></span>tgt.purpose<span style="color: navy">;</span>
  src.copyright<span style="color: navy"><b> -&gt; </b></span>tgt.copyright<span style="color: navy">;</span>
  src.structure<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.structure<b> as </b><span style="color: maroon">t</span><b> then </b>StructureMapStructure<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><span style="color: green">src.copyrightLabel -&gt; tgt.copyrightLabel;</span>
  src.import<span style="color: navy"><b> -&gt; </b></span>tgt.import<span style="color: navy">;</span>
  src.group<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.group<b> as </b><span style="color: maroon">t</span><b> then </b>StructureMapGroup<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><span style="color: green">src.const as s -&gt; tgt.const as t then StructureMapConst(s,t);</span>
<span style="color: navy">}

</span><b>group </b>StructureMapStructure<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.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
  src.mode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.mode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#StructureMapModelMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.alias<span style="color: navy"><b> -&gt; </b></span>tgt.alias<span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>StructureMapGroup<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.extends<span style="color: navy"><b> -&gt; </b></span>tgt.extends<span style="color: navy">;</span>
  src.typeMode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.typeMode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#StructureMapGroupTypeMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
  src.input<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.input<b> as </b><span style="color: maroon">t</span><b> then </b>StructureMapGroupInput<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.rule<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.rule<b> as </b><span style="color: maroon">t</span><b> then </b>StructureMapGroupRule<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>StructureMapGroupInput<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.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.mode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.mode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#StructureMapInputMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>StructureMapGroupRule<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.source<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.source<b> as </b><span style="color: maroon">t</span><b> then </b>StructureMapGroupRuleSource<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.target<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.target<b> as </b><span style="color: maroon">t</span><b> then </b>StructureMapGroupRuleTarget<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.dependent<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.dependent<b> as </b><span style="color: maroon">t</span><b> then </b>StructureMapGroupRuleDependent<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.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>StructureMapGroupRuleSource<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.context<span style="color: navy"><b> -&gt; </b></span>tgt.context<span style="color: navy">;</span>
  src.min<span style="color: navy"><b> -&gt; </b></span>tgt.min<span style="color: navy">;</span>
  src.max<span style="color: navy"><b> -&gt; </b></span>tgt.max<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue<span style="color: navy">;</span>
  src.element<span style="color: navy"><b> -&gt; </b></span>tgt.element<span style="color: navy">;</span>
  src.listMode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.listMode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#StructureMapSourceListMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.variable<span style="color: navy"><b> -&gt; </b></span>tgt.variable<span style="color: navy">;</span>
  src.condition<span style="color: navy"><b> -&gt; </b></span>tgt.condition<span style="color: navy">;</span>
  src.check<span style="color: navy"><b> -&gt; </b></span>tgt.check<span style="color: navy">;</span>
  src.logMessage<span style="color: navy"><b> -&gt; </b></span>tgt.logMessage<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>StructureMapGroupRuleTarget<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.context<span style="color: navy"><b> -&gt; </b></span>tgt.context<span style="color: navy">;</span>
  src.element<span style="color: navy"><b> -&gt; </b></span>tgt.element<span style="color: navy">;</span>
  src.variable<span style="color: navy"><b> -&gt; </b></span>tgt.variable<span style="color: navy">;</span>
  src.listMode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.listMode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#StructureMapTargetListMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.listRuleId<span style="color: navy"><b> -&gt; </b></span>tgt.listRuleId<span style="color: navy">;</span>
  src.transform<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.transform = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#StructureMapTransform'</span><span style="color: navy">, </span><span style="color: blue">'code'</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>StructureMapGroupRuleTargetParameter<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>StructureMapGroupRuleTargetParameter<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.value<span style="color: navy"> : </span>id<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>string<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>boolean<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>integer<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>decimal<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>StructureMapGroupRuleDependent<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>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="PublicationStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/publication-status"/>
        <target value="http://hl7.org/fhir/4.3/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="StructureMapGroupTypeMode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/map-group-type-mode"/>
        <target value="http://hl7.org/fhir/4.3/map-group-type-mode"/>
        <element>
          <code value="types"/>
          <target>
            <code value="types"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="type-and-types"/>
          <target>
            <code value="type-and-types"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="StructureMapInputMode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/map-input-mode"/>
        <target value="http://hl7.org/fhir/4.3/map-input-mode"/>
        <element>
          <code value="source"/>
          <target>
            <code value="source"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="target"/>
          <target>
            <code value="target"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="StructureMapModelMode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/map-model-mode"/>
        <target value="http://hl7.org/fhir/4.3/map-model-mode"/>
        <element>
          <code value="source"/>
          <target>
            <code value="source"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="queried"/>
          <target>
            <code value="queried"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="target"/>
          <target>
            <code value="target"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="produced"/>
          <target>
            <code value="produced"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="StructureMapSourceListMode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/map-source-list-mode"/>
        <target value="http://hl7.org/fhir/4.3/map-source-list-mode"/>
        <element>
          <code value="first"/>
          <target>
            <code value="first"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="not_first"/>
          <target>
            <code value="not_first"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="last"/>
          <target>
            <code value="last"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="not_last"/>
          <target>
            <code value="not_last"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="only_one"/>
          <target>
            <code value="only_one"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="StructureMapTargetListMode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/map-target-list-mode"/>
        <target value="http://hl7.org/fhir/4.3/map-target-list-mode"/>
        <element>
          <code value="first"/>
          <target>
            <code value="first"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="share"/>
          <target>
            <code value="share"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="last"/>
          <target>
            <code value="last"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="single"/>
          <target>
            <code value="collate"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="StructureMapTransform"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/map-transform"/>
        <target value="http://hl7.org/fhir/4.3/map-transform"/>
        <element>
          <code value="create"/>
          <target>
            <code value="create"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="copy"/>
          <target>
            <code value="copy"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="truncate"/>
          <target>
            <code value="truncate"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="escape"/>
          <target>
            <code value="escape"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="cast"/>
          <target>
            <code value="cast"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="append"/>
          <target>
            <code value="append"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="translate"/>
          <target>
            <code value="translate"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="reference"/>
          <target>
            <code value="reference"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="dateOp"/>
          <target>
            <code value="dateOp"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="uuid"/>
          <target>
            <code value="uuid"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="pointer"/>
          <target>
            <code value="pointer"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="evaluate"/>
          <target>
            <code value="evaluate"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="cc"/>
          <target>
            <code value="cc"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="c"/>
          <target>
            <code value="c"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="qty"/>
          <target>
            <code value="qty"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="id"/>
          <target>
            <code value="id"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="cp"/>
          <target>
            <code value="cp"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <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.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/StructureMap5to4B"/>
  <version value="5.1.0-snapshot1"/>
  <name value="StructureMap5to4B"/>
  <title value="FML Conversion for StructureMap: R5 to R4B"/>
  <status value="active"/>
  <date value="2024-03-12T13:30:10+11: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="FMLConversionforStructureMapR5toR4B"/>
  <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/StructureMap"/>
    <mode value="source"/>
    <alias value="StructureMapR5"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/4.3/StructureDefinition/StructureMap"/>
    <mode value="target"/>
    <alias value="StructureMapR4B"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4B"/>
  <group>
    <name value="StructureMap"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="StructureMapR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="StructureMapR4B"/>
      <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="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <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>
      <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="purpose"/>
      <source>
        <context value="src"/>
        <element value="purpose"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="purpose"/>
        <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="structure"/>
      <source>
        <context value="src"/>
        <element value="structure"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="structure"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="StructureMapStructure"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation value="src.copyrightLabel -&gt; tgt.copyrightLabel;"/>
    </rule>
    <rule>
      <name value="import"/>
      <source>
        <context value="src"/>
        <element value="import"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="import"/>
        <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="group"/>
      <source>
        <context value="src"/>
        <element value="group"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="group"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="StructureMapGroup"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.const as s -&gt; tgt.const as t then StructureMapConst(s,t);"/>
    </rule>
  </group>
  <group>
    <name value="StructureMapStructure"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <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="mode"/>
      <source>
        <context value="src"/>
        <element value="mode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="mode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#StructureMapModelMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="alias"/>
      <source>
        <context value="src"/>
        <element value="alias"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="alias"/>
        <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="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <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="StructureMapGroup"/>
    <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="extends"/>
      <source>
        <context value="src"/>
        <element value="extends"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="extends"/>
        <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="typeMode"/>
      <source>
        <context value="src"/>
        <element value="typeMode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="typeMode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#StructureMapGroupTypeMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <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="input"/>
      <source>
        <context value="src"/>
        <element value="input"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="input"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="StructureMapGroupInput"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="rule"/>
      <source>
        <context value="src"/>
        <element value="rule"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rule"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="StructureMapGroupRule"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="StructureMapGroupInput"/>
    <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="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="mode"/>
      <source>
        <context value="src"/>
        <element value="mode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="mode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#StructureMapInputMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <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="StructureMapGroupRule"/>
    <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="source"/>
      <source>
        <context value="src"/>
        <element value="source"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="source"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="StructureMapGroupRuleSource"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="target"/>
      <source>
        <context value="src"/>
        <element value="target"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="target"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="StructureMapGroupRuleTarget"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="dependent"/>
      <source>
        <context value="src"/>
        <element value="dependent"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="dependent"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="StructureMapGroupRuleDependent"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <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="StructureMapGroupRuleSource"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="context"/>
      <source>
        <context value="src"/>
        <element value="context"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="context"/>
        <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="min"/>
      <source>
        <context value="src"/>
        <element value="min"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="min"/>
        <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="max"/>
      <source>
        <context value="src"/>
        <element value="max"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="max"/>
        <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="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="defaultValue"/>
      <source>
        <context value="src"/>
        <element value="defaultValue"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <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="element"/>
      <source>
        <context value="src"/>
        <element value="element"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="element"/>
        <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="listMode"/>
      <source>
        <context value="src"/>
        <element value="listMode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="listMode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#StructureMapSourceListMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="variable"/>
      <source>
        <context value="src"/>
        <element value="variable"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="variable"/>
        <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="condition"/>
      <source>
        <context value="src"/>
        <element value="condition"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="condition"/>
        <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="check"/>
      <source>
        <context value="src"/>
        <element value="check"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="check"/>
        <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="logMessage"/>
      <source>
        <context value="src"/>
        <element value="logMessage"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="logMessage"/>
        <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="StructureMapGroupRuleTarget"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="context"/>
      <source>
        <context value="src"/>
        <element value="context"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="context"/>
        <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="element"/>
      <source>
        <context value="src"/>
        <element value="element"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="element"/>
        <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="variable"/>
      <source>
        <context value="src"/>
        <element value="variable"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="variable"/>
        <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="listMode"/>
      <source>
        <context value="src"/>
        <element value="listMode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="listMode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#StructureMapTargetListMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="listRuleId"/>
      <source>
        <context value="src"/>
        <element value="listRuleId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="listRuleId"/>
        <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="transform"/>
      <source>
        <context value="src"/>
        <element value="transform"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="transform"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#StructureMapTransform"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </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="StructureMapGroupRuleTargetParameter"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="StructureMapGroupRuleTargetParameter"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="valueId"/>
      <source>
        <context value="src"/>
        <type value="id"/>
        <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>
    <rule>
      <name value="valueString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <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>
    <rule>
      <name value="valueBoolean"/>
      <source>
        <context value="src"/>
        <type value="boolean"/>
        <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>
    <rule>
      <name value="valueInteger"/>
      <source>
        <context value="src"/>
        <type value="integer"/>
        <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>
    <rule>
      <name value="valueDecimal"/>
      <source>
        <context value="src"/>
        <type value="decimal"/>
        <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="StructureMapGroupRuleDependent"/>
    <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>
  </group>
</StructureMap>