FHIR Cross-Version Mapping Pack
0.1.0 - Ballot for Release 5.1.0 International flag

FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions

: StructureMap Transforms: R3 to R4 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="StructureMap3to4"/>
  <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/StructureMap3to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'StructureMap3to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'StructureMap Transforms: R3 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/3.0/StructureMap<span style="color: navy">&quot; </span><b>alias </b>StructureMapR3 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/4.0/StructureMap<span style="color: navy">&quot; </span><b>alias </b>StructureMap <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*3to4<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>StructureMapR3, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>StructureMap<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>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span>
  src.status<span style="color: navy"><b> -&gt; </b></span>tgt.status<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">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.structure<b> as </b><span style="color: maroon">vt0</span><b> then </b>structure<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.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">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.group<b> as </b><span style="color: maroon">vt0</span><b> then </b>group<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>structure<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<span style="color: navy"><b> -&gt; </b></span>tgt.mode<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>group<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<span style="color: navy"><b> -&gt; </b></span>tgt.typeMode<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">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.input<b> as </b><span style="color: maroon">vt0</span><b> then </b>input<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.rule<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.rule<b> as </b><span style="color: maroon">vt0</span><b> then </b>rule<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>input<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<span style="color: navy"><b> -&gt; </b></span>tgt.mode<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>rule<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">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.source<b> as </b><span style="color: maroon">vt0</span><b> then </b>source<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.target<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.target<b> as </b><span style="color: maroon">vt0</span><b> then </b>target<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>source<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"> : </span>base64Binary<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'base64Binary'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>base64Binary<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuebase64Binary&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>boolean<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'boolean'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>boolean<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueboolean&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>code<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'code'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>code<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuecode&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>date<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'date'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>date<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuedate&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>dateTime<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'dateTime'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>dateTime<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuedateTime&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>decimal<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'decimal'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>decimal<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuedecimal&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>id<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'id'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>id<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueid&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>instant<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'instant'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>instant<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueinstant&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>integer<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'integer'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>integer<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueinteger&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>markdown<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'markdown'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>markdown<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuemarkdown&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>oid<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'oid'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>oid<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueoid&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>positiveInt<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'positiveInt'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>positiveInt<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuepositiveInt&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>string<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>string<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuestring&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>time<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'time'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>time<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuetime&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>unsignedInt<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'unsignedInt'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>unsignedInt<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueunsignedInt&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>uri<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'uri'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>uri<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueuri&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Address<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Address'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Address<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueAddress&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Age<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Age'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Age<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueAge&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Annotation<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Annotation'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Annotation<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueAnnotation&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Attachment<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Attachment'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Attachment<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueAttachment&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>CodeableConcept<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueCodeableConcept&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Coding<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Coding<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueCoding&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>ContactPoint<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'ContactPoint'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>ContactPoint<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueContactPoint&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Count<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Count'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Count<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueCount&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Distance<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Distance'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Distance<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueDistance&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Duration<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Duration'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Duration<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueDuration&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>HumanName<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'HumanName'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>HumanName<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueHumanName&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Identifier<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Identifier'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Identifier<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueIdentifier&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Money<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Money'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Money<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueMoney&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Period<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Period'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Period<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuePeriod&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Quantity<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Quantity'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Quantity<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueQuantity&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Range<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Range'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Range<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueRange&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Ratio<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Ratio'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Ratio<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueRatio&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Reference<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Reference'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Reference<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueReference&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>SampledData<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'SampledData'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>SampledData<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueSampledData&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Signature<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Signature'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Signature<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueSignature&quot;</i><span style="color: navy">;</span>
  src.defaultValue<span style="color: navy"> : </span>Timing<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Timing'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Timing<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueTiming&quot;</i><span style="color: navy">;</span>
  src.element<span style="color: navy"><b> -&gt; </b></span>tgt.element<span style="color: navy">;</span>
  src.listMode<span style="color: navy"><b> -&gt; </b></span>tgt.listMode<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>
<span style="color: navy">}

</span><b>group </b>target<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.contextType<span style="color: navy"><b> -&gt; </b></span>tgt.contextType<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<span style="color: navy"><b> -&gt; </b></span>tgt.listMode<span style="color: navy">;</span>
  src.listRuleId<span style="color: navy"><b> -&gt; </b></span>tgt.listRuleId<span style="color: navy">;</span>
  src.transform<span style="color: navy"><b> -&gt; </b></span>tgt.transform<span style="color: navy">;</span>
  src.parameter<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.parameter<b> as </b><span style="color: maroon">vt0</span><b> then </b>parameter<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>parameter<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<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'id'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>id<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueid&quot;</i><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>string<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>string<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuestring&quot;</i><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>boolean<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'boolean'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>boolean<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueboolean&quot;</i><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>integer<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'integer'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>integer<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valueinteger&quot;</i><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>decimal<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'decimal'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>decimal<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span> <i>&quot;valuedecimal&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="draft">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/StructureMap3to4"/>
  <version value="0.1.0"/>
  <name value="StructureMap3to4"/>
  <title value="StructureMap Transforms: R3 to R4"/>
  <status value="active"/>
  <date value="2024-02-22T03:16:50+00:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="StructureMapTransformsR3toR4"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/3.0/StructureMap"/>
    <mode value="source"/>
    <alias value="StructureMapR3"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/4.0/StructureMap"/>
    <mode value="target"/>
    <alias value="StructureMap"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*3to4"/>
  <group>
    <name value="StructureMap"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="StructureMapR3"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="StructureMap"/>
      <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>
    </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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="experimental"/>
      <source>
        <context value="src"/>
        <element value="experimental"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="experimental"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="publisher"/>
      <source>
        <context value="src"/>
        <element value="publisher"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="publisher"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="contact"/>
      <source>
        <context value="src"/>
        <element value="contact"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contact"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="description"/>
      <source>
        <context value="src"/>
        <element value="description"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="description"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="useContext"/>
      <source>
        <context value="src"/>
        <element value="useContext"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="useContext"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="jurisdiction"/>
      <source>
        <context value="src"/>
        <element value="jurisdiction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="jurisdiction"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="structure"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="structure"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </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="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="group"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="group"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="structure"/>
    <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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="mode"/>
        <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="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="group"/>
    <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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="typeMode"/>
        <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>
    <rule>
      <name value="input"/>
      <source>
        <context value="src"/>
        <element value="input"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="input"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="input"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="rule"/>
      <source>
        <context value="src"/>
        <element value="rule"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="rule"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="rule"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="input"/>
    <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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="mode"/>
        <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="rule"/>
    <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="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="source"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="source"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="target"/>
      <source>
        <context value="src"/>
        <element value="target"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="target"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="target"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="source"/>
    <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="valuebase64Binary"/>
      <source>
        <context value="src"/>
        <type value="base64Binary"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="base64Binary"/>
        </parameter>
      </target>
      <dependent>
        <name value="base64Binary"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueboolean"/>
      <source>
        <context value="src"/>
        <type value="boolean"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="boolean"/>
        </parameter>
      </target>
      <dependent>
        <name value="boolean"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuecode"/>
      <source>
        <context value="src"/>
        <type value="code"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
      <dependent>
        <name value="code"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuedate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="date"/>
        </parameter>
      </target>
      <dependent>
        <name value="date"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuedateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="dateTime"/>
        </parameter>
      </target>
      <dependent>
        <name value="dateTime"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuedecimal"/>
      <source>
        <context value="src"/>
        <type value="decimal"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="decimal"/>
        </parameter>
      </target>
      <dependent>
        <name value="decimal"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueid"/>
      <source>
        <context value="src"/>
        <type value="id"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="id"/>
        </parameter>
      </target>
      <dependent>
        <name value="id"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueinstant"/>
      <source>
        <context value="src"/>
        <type value="instant"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="instant"/>
        </parameter>
      </target>
      <dependent>
        <name value="instant"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueinteger"/>
      <source>
        <context value="src"/>
        <type value="integer"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="integer"/>
        </parameter>
      </target>
      <dependent>
        <name value="integer"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuemarkdown"/>
      <source>
        <context value="src"/>
        <type value="markdown"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="markdown"/>
        </parameter>
      </target>
      <dependent>
        <name value="markdown"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueoid"/>
      <source>
        <context value="src"/>
        <type value="oid"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="oid"/>
        </parameter>
      </target>
      <dependent>
        <name value="oid"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuepositiveInt"/>
      <source>
        <context value="src"/>
        <type value="positiveInt"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="positiveInt"/>
        </parameter>
      </target>
      <dependent>
        <name value="positiveInt"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuestring"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="string"/>
        </parameter>
      </target>
      <dependent>
        <name value="string"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuetime"/>
      <source>
        <context value="src"/>
        <type value="time"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="time"/>
        </parameter>
      </target>
      <dependent>
        <name value="time"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueunsignedInt"/>
      <source>
        <context value="src"/>
        <type value="unsignedInt"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="unsignedInt"/>
        </parameter>
      </target>
      <dependent>
        <name value="unsignedInt"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueuri"/>
      <source>
        <context value="src"/>
        <type value="uri"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="uri"/>
        </parameter>
      </target>
      <dependent>
        <name value="uri"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueAddress"/>
      <source>
        <context value="src"/>
        <type value="Address"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Address"/>
        </parameter>
      </target>
      <dependent>
        <name value="Address"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueAge"/>
      <source>
        <context value="src"/>
        <type value="Age"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Age"/>
        </parameter>
      </target>
      <dependent>
        <name value="Age"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueAnnotation"/>
      <source>
        <context value="src"/>
        <type value="Annotation"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Annotation"/>
        </parameter>
      </target>
      <dependent>
        <name value="Annotation"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueAttachment"/>
      <source>
        <context value="src"/>
        <type value="Attachment"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Attachment"/>
        </parameter>
      </target>
      <dependent>
        <name value="Attachment"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <dependent>
        <name value="CodeableConcept"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueCoding"/>
      <source>
        <context value="src"/>
        <type value="Coding"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <dependent>
        <name value="Coding"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueContactPoint"/>
      <source>
        <context value="src"/>
        <type value="ContactPoint"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="ContactPoint"/>
        </parameter>
      </target>
      <dependent>
        <name value="ContactPoint"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueCount"/>
      <source>
        <context value="src"/>
        <type value="Count"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Count"/>
        </parameter>
      </target>
      <dependent>
        <name value="Count"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueDistance"/>
      <source>
        <context value="src"/>
        <type value="Distance"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Distance"/>
        </parameter>
      </target>
      <dependent>
        <name value="Distance"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueDuration"/>
      <source>
        <context value="src"/>
        <type value="Duration"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Duration"/>
        </parameter>
      </target>
      <dependent>
        <name value="Duration"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueHumanName"/>
      <source>
        <context value="src"/>
        <type value="HumanName"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="HumanName"/>
        </parameter>
      </target>
      <dependent>
        <name value="HumanName"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueIdentifier"/>
      <source>
        <context value="src"/>
        <type value="Identifier"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Identifier"/>
        </parameter>
      </target>
      <dependent>
        <name value="Identifier"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueMoney"/>
      <source>
        <context value="src"/>
        <type value="Money"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Money"/>
        </parameter>
      </target>
      <dependent>
        <name value="Money"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuePeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Period"/>
        </parameter>
      </target>
      <dependent>
        <name value="Period"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueQuantity"/>
      <source>
        <context value="src"/>
        <type value="Quantity"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Quantity"/>
        </parameter>
      </target>
      <dependent>
        <name value="Quantity"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Range"/>
        </parameter>
      </target>
      <dependent>
        <name value="Range"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueRatio"/>
      <source>
        <context value="src"/>
        <type value="Ratio"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Ratio"/>
        </parameter>
      </target>
      <dependent>
        <name value="Ratio"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Reference"/>
        </parameter>
      </target>
      <dependent>
        <name value="Reference"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueSampledData"/>
      <source>
        <context value="src"/>
        <type value="SampledData"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="SampledData"/>
        </parameter>
      </target>
      <dependent>
        <name value="SampledData"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueSignature"/>
      <source>
        <context value="src"/>
        <type value="Signature"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Signature"/>
        </parameter>
      </target>
      <dependent>
        <name value="Signature"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueTiming"/>
      <source>
        <context value="src"/>
        <type value="Timing"/>
        <element value="defaultValue"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Timing"/>
        </parameter>
      </target>
      <dependent>
        <name value="Timing"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="listMode"/>
        <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="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>
  </group>
  <group>
    <name value="target"/>
    <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="contextType"/>
      <source>
        <context value="src"/>
        <element value="contextType"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contextType"/>
        <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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="listMode"/>
        <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="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="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="transform"/>
        <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="parameter"/>
      <source>
        <context value="src"/>
        <element value="parameter"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="parameter"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="parameter"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="parameter"/>
    <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="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="id"/>
        </parameter>
      </target>
      <dependent>
        <name value="id"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuestring"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="string"/>
        </parameter>
      </target>
      <dependent>
        <name value="string"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueboolean"/>
      <source>
        <context value="src"/>
        <type value="boolean"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="boolean"/>
        </parameter>
      </target>
      <dependent>
        <name value="boolean"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueinteger"/>
      <source>
        <context value="src"/>
        <type value="integer"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="integer"/>
        </parameter>
      </target>
      <dependent>
        <name value="integer"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valuedecimal"/>
      <source>
        <context value="src"/>
        <type value="decimal"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="decimal"/>
        </parameter>
      </target>
      <dependent>
        <name value="decimal"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>