FHIR Extensions Pack
5.1.0 - 5.1.0 (April 2024) International flag

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

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

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



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

<b>conceptmap</b><span style="color: navy"> &quot;</span>ChargeItemStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-chargeitem-status.html" title="ChargeItemStatus">http://hl7.org/fhir/4.3/chargeitem-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-chargeitem-status.html" title="Charge Item Status">http://hl7.org/fhir/chargeitem-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>planned <b>-</b> t<span style="color: navy">:</span>planned
  s<span style="color: navy">:</span>billable <b>-</b> t<span style="color: navy">:</span>billable
  s<span style="color: navy">:</span>&quot;not-billable&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>not-billable<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>aborted <b>-</b> t<span style="color: navy">:</span>aborted
  s<span style="color: navy">:</span>billed <b>-</b> t<span style="color: navy">:</span>billed
  s<span style="color: navy">:</span>&quot;entered-in-error&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>entered-in-error<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}

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

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style="color: navy">&quot;
</span>
<b>group </b>ChargeItem<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ChargeItemR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ChargeItemR5<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.definitionUri<span style="color: navy"><b> -&gt; </b></span>tgt.definitionUri<span style="color: navy">;</span>
  src.definitionCanonical<span style="color: navy"><b> -&gt; </b></span>tgt.definitionCanonical<span style="color: navy">;</span>
  src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.status = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ChargeItemStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.partOf<span style="color: navy"><b> -&gt; </b></span>tgt.partOf<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.context<span style="color: navy"><b> -&gt; </b></span>tgt.encounter<span style="color: navy">;</span>
  src.occurrence<span style="color: navy"> : </span>dateTime<span style="color: navy"><b> -&gt; </b></span>tgt.occurrence<span style="color: navy">;</span>
  src.occurrence<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.occurrence<span style="color: navy">;</span>
  src.occurrence<span style="color: navy"> : </span>Timing<span style="color: navy"><b> -&gt; </b></span>tgt.occurrence<span style="color: navy">;</span>
  src.performer<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.performer<b> as </b><span style="color: maroon">t</span><b> then </b>ChargeItemPerformer<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.performingOrganization<span style="color: navy"><b> -&gt; </b></span>tgt.performingOrganization<span style="color: navy">;</span>
  src.requestingOrganization<span style="color: navy"><b> -&gt; </b></span>tgt.requestingOrganization<span style="color: navy">;</span>
  src.costCenter<span style="color: navy"><b> -&gt; </b></span>tgt.costCenter<span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span>
  src.bodysite<span style="color: navy"><b> -&gt; </b></span>tgt.bodysite<span style="color: navy">;</span>
  src.priceOverride<span style="color: navy"> : </span>Money<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.totalPriceComponent = <b>create</b><span style="color: navy">(</span><span style="color: blue">'MonetaryComponent'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.type = <span style="color: blue">'base'</span><span style="color: navy">, </span> t.amount = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.overrideReason<span style="color: navy"><b> -&gt; </b></span>tgt.overrideReason<span style="color: navy">;</span>
  src.enterer<span style="color: navy"><b> -&gt; </b></span>tgt.enterer<span style="color: navy">;</span>
  src.enteredDate<span style="color: navy"><b> -&gt; </b></span>tgt.enteredDate<span style="color: navy">;</span>
  src.reason<span style="color: navy"><b> -&gt; </b></span>tgt.reason<span style="color: navy">;</span>
  src.service<span style="color: navy"><b> -&gt; </b></span>tgt.service<span style="color: navy">;</span>
  src.product<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.product<span style="color: navy">;</span>
  src.product<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.product<span style="color: navy">;</span>
  src.account<span style="color: navy"><b> -&gt; </b></span>tgt.account<span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span>
  src.supportingInformation<span style="color: navy"><b> -&gt; </b></span>tgt.supportingInformation<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group ChargeItemTotalPriceOverride(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.value as v -&gt; tgt.type = &quot;base&quot;;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.value as v -&gt; tgt.amount = v &quot;money&quot;;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>ChargeItemPerformer<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.function<span style="color: navy"><b> -&gt; </b></span>tgt.function<span style="color: navy">;</span>
  src.actor<span style="color: navy"><b> -&gt; </b></span>tgt.actor<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="ChargeItemStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/chargeitem-status"/>
        <target value="http://hl7.org/fhir/chargeitem-status"/>
        <element>
          <code value="planned"/>
          <target>
            <code value="planned"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="billable"/>
          <target>
            <code value="billable"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="not-billable"/>
          <target>
            <code value="not-billable"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="aborted"/>
          <target>
            <code value="aborted"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="billed"/>
          <target>
            <code value="billed"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="entered-in-error"/>
          <target>
            <code value="entered-in-error"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/ChargeItem4Bto5"/>
  <version value="5.1.0"/>
  <name value="ChargeItem4Bto5"/>
  <title value="FML Conversion for ChargeItem: R4B to R5"/>
  <status value="active"/>
  <date value="2024-04-27T18:54:50+10: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="FMLConversionforChargeItemR4BtoR5"/>
  <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.3/StructureDefinition/ChargeItem"/>
    <mode value="source"/>
    <alias value="ChargeItemR4B"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/ChargeItem"/>
    <mode value="target"/>
    <alias value="ChargeItemR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="ChargeItem"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="ChargeItemR4B"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="ChargeItemR5"/>
      <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="definitionUri"/>
      <source>
        <context value="src"/>
        <element value="definitionUri"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="definitionUri"/>
        <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="definitionCanonical"/>
      <source>
        <context value="src"/>
        <element value="definitionCanonical"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="definitionCanonical"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#ChargeItemStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="partOf"/>
      <source>
        <context value="src"/>
        <element value="partOf"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="partOf"/>
        <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="context"/>
      <source>
        <context value="src"/>
        <element value="context"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="encounter"/>
        <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="occurrenceDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="occurrence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="occurrence"/>
        <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="occurrencePeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="occurrence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="occurrence"/>
        <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="occurrenceTiming"/>
      <source>
        <context value="src"/>
        <type value="Timing"/>
        <element value="occurrence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="occurrence"/>
        <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="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="performer"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ChargeItemPerformer"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="performingOrganization"/>
      <source>
        <context value="src"/>
        <element value="performingOrganization"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="performingOrganization"/>
        <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="requestingOrganization"/>
      <source>
        <context value="src"/>
        <element value="requestingOrganization"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="requestingOrganization"/>
        <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="costCenter"/>
      <source>
        <context value="src"/>
        <element value="costCenter"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="costCenter"/>
        <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="quantity"/>
      <source>
        <context value="src"/>
        <element value="quantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="quantity"/>
        <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="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="priceOverrideMoney"/>
      <source>
        <context value="src"/>
        <type value="Money"/>
        <element value="priceOverride"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="totalPriceComponent"/>
        <variable value="t"/>
        <transform value="create"/>
        <parameter>
          <valueString value="MonetaryComponent"/>
        </parameter>
      </target>
      <target>
        <context value="t"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="base"/>
        </parameter>
      </target>
      <target>
        <context value="t"/>
        <element value="amount"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="overrideReason"/>
      <source>
        <context value="src"/>
        <element value="overrideReason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="overrideReason"/>
        <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="enterer"/>
      <source>
        <context value="src"/>
        <element value="enterer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="enterer"/>
        <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="enteredDate"/>
      <source>
        <context value="src"/>
        <element value="enteredDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="enteredDate"/>
        <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="reason"/>
      <source>
        <context value="src"/>
        <element value="reason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reason"/>
        <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="service"/>
      <source>
        <context value="src"/>
        <element value="service"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="service"/>
        <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="productReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="product"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="product"/>
        <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="productCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="product"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="product"/>
        <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="account"/>
      <source>
        <context value="src"/>
        <element value="account"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="account"/>
        <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="supportingInformation"/>
      <source>
        <context value="src"/>
        <element value="supportingInformation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="supportingInformation"/>
        <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="ChargeItemPerformer"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group ChargeItemTotalPriceOverride(source src, target tgt) extends BackboneElement {
src.value as v -&gt; tgt.type = &quot;base&quot;;
src.value as v -&gt; tgt.amount = v &quot;money&quot;;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="function"/>
      <source>
        <context value="src"/>
        <element value="function"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="function"/>
        <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="actor"/>
      <source>
        <context value="src"/>
        <element value="actor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="actor"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>