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

: R4 to R3 Conversion for Observation - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="Observation4to3"/>
  <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/Observation4to3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Observation4to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'R4 to R3 Conversion for Observation'</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/4.0/Observation<span style="color: navy">&quot; </span><b>alias </b>Observation <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/3.0/Observation<span style="color: navy">&quot; </span><b>alias </b>ObservationR3 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to3<span style="color: navy">&quot;
</span>
<b>group </b>Observation<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>Observation, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ObservationR3<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.basedOn<span style="color: navy"><b> -&gt; </b></span>tgt.basedOn<span style="color: navy">;</span>
  src.status<span style="color: navy"><b> -&gt; </b></span>tgt.status<span style="color: navy">;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.subject<span style="color: navy"><b> -&gt; </b></span>tgt.subject<span style="color: navy">;</span>
  src.encounter<span style="color: navy"><b> -&gt; </b></span>tgt.context<span style="color: navy">;</span>
  src.effective<span style="color: navy"> : </span>dateTime<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.effective = <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><span style="color: navy">;</span>
  src.effective<span style="color: navy"> : </span>Period<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.effective = <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><span style="color: navy">;</span>
  src.issued<span style="color: navy"><b> -&gt; </b></span>tgt.issued<span style="color: navy">;</span>
  src.performer<span style="color: navy"><b> -&gt; </b></span>tgt.performer<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Quantity<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>CodeableConcept<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">'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><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><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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Range<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Ratio<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>SampledData<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>time<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>dateTime<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Period<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">'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><span style="color: navy">;</span>
  src.dataAbsentReason<span style="color: navy"><b> -&gt; </b></span>tgt.dataAbsentReason<span style="color: navy">;</span>
  src.interpretation<span style="color: navy"><b> -&gt; </b></span>tgt.interpretation<span style="color: navy">;</span>
  src.note first<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.comment<b> as </b><span style="color: maroon">vt0</span><b> then </b>Annotation2string<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.bodySite<span style="color: navy"><b> -&gt; </b></span>tgt.bodySite<span style="color: navy">;</span>
  src.method<span style="color: navy"><b> -&gt; </b></span>tgt.method<span style="color: navy">;</span>
  src.specimen<span style="color: navy"><b> -&gt; </b></span>tgt.specimen<span style="color: navy">;</span>
  src.device<span style="color: navy"><b> -&gt; </b></span>tgt.device<span style="color: navy">;</span>
  src.referenceRange<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.referenceRange<b> as </b><span style="color: maroon">vt0</span><b> then </b>referenceRange<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.hasMember<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span> tgt.related<b> as </b><span style="color: maroon">vt0</span><span style="color: navy">, </span> vt0.type = <span style="color: blue">'has-member'</span><span style="color: navy">, </span> vt0.target<b> as </b><span style="color: maroon">vt2</span><b> then </b>Reference<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt2</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.derivedFrom<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span> tgt.related<b> as </b><span style="color: maroon">vt0</span><span style="color: navy">, </span> vt0.type = <span style="color: blue">'derived-from'</span><span style="color: navy">, </span> vt0.target<b> as </b><span style="color: maroon">vt2</span><b> then </b>Reference<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt2</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.extension<b> as </b><span style="color: maroon">vs0</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/Observation.sequelTo'<span style="color: navy"><b> -&gt; </b></span> tgt.related<b> as </b><span style="color: maroon">rel</span><span style="color: navy">, </span> rel.type = <span style="color: blue">'sequel-to'</span><span style="color: navy">, </span> rel.target<b> as </b><span style="color: maroon">vt0</span><b> then </b>relatedExt<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;related3&quot;</i><span style="color: navy">;</span>
  src.extension<b> as </b><span style="color: maroon">vs0</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/Observation.replaces'<span style="color: navy"><b> -&gt; </b></span> tgt.related<b> as </b><span style="color: maroon">rel</span><span style="color: navy">, </span> rel.type = <span style="color: blue">'replaces'</span><span style="color: navy">, </span> rel.target<b> as </b><span style="color: maroon">vt0</span><b> then </b>relatedExt<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;related4&quot;</i><span style="color: navy">;</span>
  src.extension<b> as </b><span style="color: maroon">vs0</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/Observation.qualifiedBy'<span style="color: navy"><b> -&gt; </b></span> tgt.related<b> as </b><span style="color: maroon">rel</span><span style="color: navy">, </span> rel.type = <span style="color: blue">'qualifiedBy'</span><span style="color: navy">, </span> rel.target<b> as </b><span style="color: maroon">vt0</span><b> then </b>relatedExt<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;related5&quot;</i><span style="color: navy">;</span>
  src.extension<b> as </b><span style="color: maroon">vs0</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/Observation.interferedBy'<span style="color: navy"><b> -&gt; </b></span> tgt.related<b> as </b><span style="color: maroon">rel</span><span style="color: navy">, </span> rel.type = <span style="color: blue">'interfered-by'</span><span style="color: navy">, </span> rel.target<b> as </b><span style="color: maroon">vt0</span><b> then </b>relatedExt<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;related6&quot;</i><span style="color: navy">;</span>
  src.component<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.component<b> as </b><span style="color: maroon">vt0</span><b> then </b>component<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>relatedExt<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><span style="color: navy"> {
</span>  src.value<span style="color: navy"> : </span>Reference<b> as </b><span style="color: maroon">vs0</span><b> then </b>Reference<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">tgt</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>referenceRange<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.low<span style="color: navy"><b> -&gt; </b></span>tgt.low<span style="color: navy">;</span>
  src.high<span style="color: navy"><b> -&gt; </b></span>tgt.high<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.appliesTo<span style="color: navy"><b> -&gt; </b></span>tgt.appliesTo<span style="color: navy">;</span>
  src.age<span style="color: navy"><b> -&gt; </b></span>tgt.age<span style="color: navy">;</span>
  src.text<span style="color: navy"><b> -&gt; </b></span>tgt.text<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>component<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Quantity<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>CodeableConcept<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">'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><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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Range<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Ratio<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>SampledData<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>time<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>dateTime<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">'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><span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Period<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">'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><span style="color: navy">;</span>
  src.dataAbsentReason<span style="color: navy"><b> -&gt; </b></span>tgt.dataAbsentReason<span style="color: navy">;</span>
  src.interpretation<span style="color: navy"><b> -&gt; </b></span>tgt.interpretation<span style="color: navy">;</span>
  src.referenceRange<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.referenceRange<b> as </b><span style="color: maroon">vt0</span><b> then </b>referenceRange<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></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/Observation4to3"/>
  <version value="0.1.0"/>
  <name value="Observation4to3"/>
  <title value="R4 to R3 Conversion for Observation"/>
  <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="R4toR3ConversionforObservation"/>
  <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/4.0/Observation"/>
    <mode value="source"/>
    <alias value="Observation"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/3.0/Observation"/>
    <mode value="target"/>
    <alias value="ObservationR3"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to3"/>
  <group>
    <name value="Observation"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="Observation"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="ObservationR3"/>
      <mode value="target"/>
    </input>
    <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="basedOn"/>
      <source>
        <context value="src"/>
        <element value="basedOn"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="basedOn"/>
        <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="category"/>
      <source>
        <context value="src"/>
        <element value="category"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="category"/>
        <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="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="code"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="subject"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <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="encounter"/>
      <source>
        <context value="src"/>
        <element value="encounter"/>
        <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="effectiveDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="effective"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="effective"/>
        <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="effectivePeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="effective"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="effective"/>
        <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="issued"/>
      <source>
        <context value="src"/>
        <element value="issued"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="issued"/>
        <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="performer"/>
      <source>
        <context value="src"/>
        <element value="performer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="performer"/>
        <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="valueQuantity"/>
      <source>
        <context value="src"/>
        <type value="Quantity"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="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="valueRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueSampledData"/>
      <source>
        <context value="src"/>
        <type value="SampledData"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueTime"/>
      <source>
        <context value="src"/>
        <type value="time"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valuePeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="dataAbsentReason"/>
      <source>
        <context value="src"/>
        <element value="dataAbsentReason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="dataAbsentReason"/>
        <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="interpretation"/>
      <source>
        <context value="src"/>
        <element value="interpretation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="interpretation"/>
        <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="note"/>
      <source>
        <context value="src"/>
        <element value="note"/>
        <listMode value="first"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="comment"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="Annotation2string"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="bodySite"/>
      <source>
        <context value="src"/>
        <element value="bodySite"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="bodySite"/>
        <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="method"/>
      <source>
        <context value="src"/>
        <element value="method"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="method"/>
        <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="specimen"/>
      <source>
        <context value="src"/>
        <element value="specimen"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="specimen"/>
        <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="device"/>
      <source>
        <context value="src"/>
        <element value="device"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="device"/>
        <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="referenceRange"/>
      <source>
        <context value="src"/>
        <element value="referenceRange"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="referenceRange"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="referenceRange"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="hasMember"/>
      <source>
        <context value="src"/>
        <element value="hasMember"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="related"/>
        <variable value="vt0"/>
      </target>
      <target>
        <context value="vt0"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="has-member"/>
        </parameter>
      </target>
      <target>
        <context value="vt0"/>
        <element value="target"/>
        <variable value="vt2"/>
      </target>
      <dependent>
        <name value="Reference"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt2"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="derivedFrom"/>
      <source>
        <context value="src"/>
        <element value="derivedFrom"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="related"/>
        <variable value="vt0"/>
      </target>
      <target>
        <context value="vt0"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="derived-from"/>
        </parameter>
      </target>
      <target>
        <context value="vt0"/>
        <element value="target"/>
        <variable value="vt2"/>
      </target>
      <dependent>
        <name value="Reference"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt2"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="related3"/>
      <source>
        <context value="src"/>
        <element value="extension"/>
        <variable value="vs0"/>
        <condition
                   value="url = 'http://hl7.org/fhir/3.0/StructureDefinition/Observation.sequelTo'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="related"/>
        <variable value="rel"/>
      </target>
      <target>
        <context value="rel"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="sequel-to"/>
        </parameter>
      </target>
      <target>
        <context value="rel"/>
        <element value="target"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="relatedExt"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="related4"/>
      <source>
        <context value="src"/>
        <element value="extension"/>
        <variable value="vs0"/>
        <condition
                   value="url = 'http://hl7.org/fhir/3.0/StructureDefinition/Observation.replaces'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="related"/>
        <variable value="rel"/>
      </target>
      <target>
        <context value="rel"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="replaces"/>
        </parameter>
      </target>
      <target>
        <context value="rel"/>
        <element value="target"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="relatedExt"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="related5"/>
      <source>
        <context value="src"/>
        <element value="extension"/>
        <variable value="vs0"/>
        <condition
                   value="url = 'http://hl7.org/fhir/3.0/StructureDefinition/Observation.qualifiedBy'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="related"/>
        <variable value="rel"/>
      </target>
      <target>
        <context value="rel"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="qualifiedBy"/>
        </parameter>
      </target>
      <target>
        <context value="rel"/>
        <element value="target"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="relatedExt"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="related6"/>
      <source>
        <context value="src"/>
        <element value="extension"/>
        <variable value="vs0"/>
        <condition
                   value="url = 'http://hl7.org/fhir/3.0/StructureDefinition/Observation.interferedBy'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="related"/>
        <variable value="rel"/>
      </target>
      <target>
        <context value="rel"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="interfered-by"/>
        </parameter>
      </target>
      <target>
        <context value="rel"/>
        <element value="target"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="relatedExt"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="component"/>
      <source>
        <context value="src"/>
        <element value="component"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="component"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="component"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="relatedExt"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="valueReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="value"/>
        <variable value="vs0"/>
      </source>
      <dependent>
        <name value="Reference"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="tgt"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="referenceRange"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="low"/>
      <source>
        <context value="src"/>
        <element value="low"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="low"/>
        <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="high"/>
      <source>
        <context value="src"/>
        <element value="high"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="high"/>
        <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="appliesTo"/>
      <source>
        <context value="src"/>
        <element value="appliesTo"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="appliesTo"/>
        <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="age"/>
      <source>
        <context value="src"/>
        <element value="age"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="age"/>
        <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="text"/>
      <source>
        <context value="src"/>
        <element value="text"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="text"/>
        <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="component"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="code"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueQuantity"/>
      <source>
        <context value="src"/>
        <type value="Quantity"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="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="valueRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueSampledData"/>
      <source>
        <context value="src"/>
        <type value="SampledData"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueTime"/>
      <source>
        <context value="src"/>
        <type value="time"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valuePeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="value"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="dataAbsentReason"/>
      <source>
        <context value="src"/>
        <element value="dataAbsentReason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="dataAbsentReason"/>
        <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="interpretation"/>
      <source>
        <context value="src"/>
        <element value="interpretation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="interpretation"/>
        <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="referenceRange"/>
      <source>
        <context value="src"/>
        <element value="referenceRange"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="referenceRange"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="referenceRange"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>