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

: Goal Transforms: R4 to R3 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="Goal4to3"/>
  <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/Goal4to3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Goal4to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'Goal Transforms: R4 to R3'</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/Goal<span style="color: navy">&quot; </span><b>alias </b>Goal <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/3.0/Goal<span style="color: navy">&quot; </span><b>alias </b>GoalR3 <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>Goal<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>Goal, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>GoalR3<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.lifecycleStatus<b> where </b>value in ('proposed' | 'planned' | 'accepted' | 'on-hold' | 'cancelled' | 'entered-in-error' | 'rejected')<span style="color: navy"><b> -&gt; </b></span>tgt.status<span style="color: navy">;</span>
  src.lifecycleStatus<b> where </b>value = 'completed'<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'achieved'</span><span style="color: navy">;</span>
  src.achievementStatus<b> where </b>coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'in-progress')).exists()<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'in-progress'</span><span style="color: navy">;</span>
  src.achievementStatus<b> where </b>coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'sustaining')).exists()<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'sustaining'</span><span style="color: navy">;</span>
  src.achievementStatus<b> where </b>coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'sustaining'))<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'on-target'</span><span style="color: navy">;</span>
  src.achievementStatus<b> where </b>coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'improving'))<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'ahead-of-target'</span><span style="color: navy">;</span>
  src.achievementStatus<b> where </b>coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'worsening'))<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'behind-target'</span><span style="color: navy">;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.priority<span style="color: navy"><b> -&gt; </b></span>tgt.priority<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.subject<span style="color: navy"><b> -&gt; </b></span>tgt.subject<span style="color: navy">;</span>
  src.start<span style="color: navy"> : </span>date<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.start = <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><span style="color: navy">;</span>
  src.start<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.start = <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.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>
  src.statusDate<span style="color: navy"><b> -&gt; </b></span>tgt.statusDate<span style="color: navy">;</span>
  src.statusReason<span style="color: navy"><b> -&gt; </b></span>tgt.statusReason<span style="color: navy">;</span>
  src.expressedBy<span style="color: navy"><b> -&gt; </b></span>tgt.expressedBy<span style="color: navy">;</span>
  src.addresses<span style="color: navy"><b> -&gt; </b></span>tgt.addresses<span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span>
  src.outcomeCode<span style="color: navy"><b> -&gt; </b></span>tgt.outcomeCode<span style="color: navy">;</span>
  src.outcomeReference<span style="color: navy"><b> -&gt; </b></span>tgt.outcomeReference<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.measure<span style="color: navy"><b> -&gt; </b></span>tgt.measure<span style="color: navy">;</span>
  src.detail<span style="color: navy"> : </span>Quantity<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.detail = <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.detail<span style="color: navy"> : </span>Range<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.detail = <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.detail<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.detail = <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.due<span style="color: navy"> : </span>date<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.due = <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><span style="color: navy">;</span>
  src.due<span style="color: navy"> : </span>Duration<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.due = <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><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/Goal4to3"/>
  <version value="0.1.0"/>
  <name value="Goal4to3"/>
  <title value="Goal Transforms: R4 to R3"/>
  <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="GoalTransformsR4toR3"/>
  <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/Goal"/>
    <mode value="source"/>
    <alias value="Goal"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/3.0/Goal"/>
    <mode value="target"/>
    <alias value="GoalR3"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to3"/>
  <group>
    <name value="Goal"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="Goal"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="GoalR3"/>
      <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="lifecycleStatus"/>
      <source>
        <context value="src"/>
        <element value="lifecycleStatus"/>
        <variable value="vvv"/>
        <condition
                   value="value in ('proposed' | 'planned' | 'accepted' | 'on-hold' | 'cancelled' | 'entered-in-error' | 'rejected')"/>
      </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="lifecycleStatus"/>
      <source>
        <context value="src"/>
        <element value="lifecycleStatus"/>
        <condition value="value = 'completed'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="achieved"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="achievementStatus"/>
      <source>
        <context value="src"/>
        <element value="achievementStatus"/>
        <condition
                   value="coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'in-progress')).exists()"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="in-progress"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="achievementStatus"/>
      <source>
        <context value="src"/>
        <element value="achievementStatus"/>
        <condition
                   value="coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'sustaining')).exists()"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="sustaining"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="achievementStatus"/>
      <source>
        <context value="src"/>
        <element value="achievementStatus"/>
        <condition
                   value="coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'sustaining'))"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="on-target"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="achievementStatus"/>
      <source>
        <context value="src"/>
        <element value="achievementStatus"/>
        <condition
                   value="coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'improving'))"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="ahead-of-target"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="achievementStatus"/>
      <source>
        <context value="src"/>
        <element value="achievementStatus"/>
        <condition
                   value="coding.where((system = 'http://terminology.hl7.org/CodeSystem/goal-achievement') and (code = 'worsening'))"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="behind-target"/>
        </parameter>
      </target>
    </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="priority"/>
      <source>
        <context value="src"/>
        <element value="priority"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="priority"/>
        <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="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="startDate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="start"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="start"/>
        <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="startCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="start"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="start"/>
        <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="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>
    <rule>
      <name value="statusDate"/>
      <source>
        <context value="src"/>
        <element value="statusDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="statusDate"/>
        <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="statusReason"/>
      <source>
        <context value="src"/>
        <element value="statusReason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="statusReason"/>
        <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="expressedBy"/>
      <source>
        <context value="src"/>
        <element value="expressedBy"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="expressedBy"/>
        <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="addresses"/>
      <source>
        <context value="src"/>
        <element value="addresses"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="addresses"/>
        <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"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="note"/>
        <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="outcomeCode"/>
      <source>
        <context value="src"/>
        <element value="outcomeCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="outcomeCode"/>
        <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="outcomeReference"/>
      <source>
        <context value="src"/>
        <element value="outcomeReference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="outcomeReference"/>
        <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="measure"/>
      <source>
        <context value="src"/>
        <element value="measure"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="measure"/>
        <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="detailQuantity"/>
      <source>
        <context value="src"/>
        <type value="Quantity"/>
        <element value="detail"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <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="detailRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="detail"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <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="detailCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="detail"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <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="dueDate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="due"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="due"/>
        <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="dueDuration"/>
      <source>
        <context value="src"/>
        <type value="Duration"/>
        <element value="due"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="due"/>
        <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>
  </group>
</StructureMap>