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 ExplanationOfBenefit: R4 to R5 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="ExplanationOfBenefit4to5"/>
  <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/ExplanationOfBenefit4to5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'ExplanationOfBenefit4to5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for ExplanationOfBenefit: R4 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>ClaimOutcome<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-remittance-outcome.html" title="Claim Processing Codes">http://hl7.org/fhir/4.0/remittance-outcome</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-claim-outcome.html" title="Claim Processing Outcome Codes">http://hl7.org/fhir/claim-outcome</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>queued <b>-</b> t<span style="color: navy">:</span>queued
  s<span style="color: navy">:</span>complete <b>-</b> t<span style="color: navy">:</span>complete
  s<span style="color: navy">:</span>error <b>-</b> t<span style="color: navy">:</span>error
  s<span style="color: navy">:</span>partial <b>-</b> t<span style="color: navy">:</span>partial
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>ExplanationOfBenefitStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-explanationofbenefit-status.html" title="ExplanationOfBenefitStatus">http://hl7.org/fhir/4.0/explanationofbenefit-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-explanationofbenefit-status.html" title="Explanation Of Benefit Status">http://hl7.org/fhir/explanationofbenefit-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
  s<span style="color: navy">:</span>cancelled <b>-</b> t<span style="color: navy">:</span>cancelled
  s<span style="color: navy">:</span>draft <b>-</b> t<span style="color: navy">:</span>draft
  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>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>Use<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-claim-use.html" title="Use">http://hl7.org/fhir/4.0/claim-use</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-claim-use.html" title="Use">http://hl7.org/fhir/claim-use</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>claim <b>-</b> t<span style="color: navy">:</span>claim
  s<span style="color: navy">:</span>preauthorization <b>-</b> t<span style="color: navy">:</span>preauthorization
  s<span style="color: navy">:</span>predetermination <b>-</b> t<span style="color: navy">:</span>predetermination
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/explanationofbenefit.html" title="ExplanationOfBenefit">http://hl7.org/fhir/4.0/StructureDefinition/ExplanationOfBenefit</a><span style="color: navy">&quot; </span><b>alias </b>ExplanationOfBenefitR4 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/explanationofbenefit.html" title="ExplanationOfBenefit">http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit</a><span style="color: navy">&quot; </span><b>alias </b>ExplanationOfBenefitR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to5<span style="color: navy">&quot;
</span>
<b>group </b>ExplanationOfBenefit<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ExplanationOfBenefitR4, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ExplanationOfBenefitR5<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.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">'#ExplanationOfBenefitStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.traceNumber -&gt; tgt.traceNumber;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.subType<span style="color: navy"><b> -&gt; </b></span>tgt.subType<span style="color: navy">;</span>
  src.use<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.use = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#Use'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.patient<span style="color: navy">;</span>
  src.billablePeriod<span style="color: navy"><b> -&gt; </b></span>tgt.billablePeriod<span style="color: navy">;</span>
  src.created<span style="color: navy"><b> -&gt; </b></span>tgt.created<span style="color: navy">;</span>
  src.enterer<span style="color: navy"><b> -&gt; </b></span>tgt.enterer<span style="color: navy">;</span>
  src.insurer<span style="color: navy"><b> -&gt; </b></span>tgt.insurer<span style="color: navy">;</span>
  src.provider<span style="color: navy"><b> -&gt; </b></span>tgt.provider<span style="color: navy">;</span>
  src.priority<span style="color: navy"><b> -&gt; </b></span>tgt.priority<span style="color: navy">;</span>
  src.fundsReserveRequested<span style="color: navy"><b> -&gt; </b></span>tgt.fundsReserveRequested<span style="color: navy">;</span>
  src.fundsReserve<span style="color: navy"><b> -&gt; </b></span>tgt.fundsReserve<span style="color: navy">;</span>
  src.related<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.related<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitRelated<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.prescription<span style="color: navy"><b> -&gt; </b></span>tgt.prescription<span style="color: navy">;</span>
  src.originalPrescription<span style="color: navy"><b> -&gt; </b></span>tgt.originalPrescription<span style="color: navy">;</span>
  src.payee<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.payee<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitPayee<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.event as s -&gt; tgt.event as t then ExplanationOfBenefitEvent(s,t);</span>
  src.referral<span style="color: navy"><b> -&gt; </b></span>tgt.referral<span style="color: navy">;</span>
  src.facility<span style="color: navy"><b> -&gt; </b></span>tgt.facility<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.encounter -&gt; tgt.encounter;</span>
  src.claim<span style="color: navy"><b> -&gt; </b></span>tgt.claim<span style="color: navy">;</span>
  src.claimResponse<span style="color: navy"><b> -&gt; </b></span>tgt.claimResponse<span style="color: navy">;</span>
  src.outcome<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.outcome = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ClaimOutcome'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.disposition<span style="color: navy"><b> -&gt; </b></span>tgt.disposition<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.decision -&gt; tgt.decision;</span>
  src.preAuthRef<span style="color: navy"><b> -&gt; </b></span>tgt.preAuthRef<span style="color: navy">;</span>
  src.preAuthRefPeriod<span style="color: navy"><b> -&gt; </b></span>tgt.preAuthRefPeriod<span style="color: navy">;</span>
  src.careTeam<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.careTeam<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitCareTeam<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.diagnosisRelatedGroup -&gt; tgt.diagnosisRelatedGroup;</span>
  src.supportingInfo<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.supportingInfo<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitSupportingInfo<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.diagnosis<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.diagnosis<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitDiagnosis<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.procedure<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.procedure<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitProcedure<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.precedence<span style="color: navy"><b> -&gt; </b></span>tgt.precedence<span style="color: navy">;</span>
  src.insurance<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.insurance<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitInsurance<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.accident<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.accident<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitAccident<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.item<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.item<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitItem<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.patientPaid -&gt; tgt.patientPaid;</span>
  src.addItem<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.addItem<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitAddItem<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.total<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.total<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitTotal<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.payment<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.payment<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitPayment<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.formCode<span style="color: navy"><b> -&gt; </b></span>tgt.formCode<span style="color: navy">;</span>
  src.form<span style="color: navy"><b> -&gt; </b></span>tgt.form<span style="color: navy">;</span>
  src.processNote<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.processNote<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitProcessNote<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.benefitPeriod<span style="color: navy"><b> -&gt; </b></span>tgt.benefitPeriod<span style="color: navy">;</span>
  src.benefitBalance<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.benefitBalance<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitBenefitBalance<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitRelated<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.claim<span style="color: navy"><b> -&gt; </b></span>tgt.claim<span style="color: navy">;</span>
  src.relationship<span style="color: navy"><b> -&gt; </b></span>tgt.relationship<span style="color: navy">;</span>
  src.reference<span style="color: navy"><b> -&gt; </b></span>tgt.reference<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group ExplanationOfBenefitEvent(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.type -&gt; tgt.type;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.when : dateTime -&gt; tgt.when;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.when : Period -&gt; tgt.when;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>ExplanationOfBenefitPayee<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.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.party<span style="color: navy"><b> -&gt; </b></span>tgt.party<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitCareTeam<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.sequence<span style="color: navy"><b> -&gt; </b></span>tgt.sequence<span style="color: navy">;</span>
  src.provider<span style="color: navy"><b> -&gt; </b></span>tgt.provider<span style="color: navy">;</span>
  src.responsible<span style="color: navy"><b> -&gt; </b></span>tgt.responsible<span style="color: navy">;</span>
  src.role<span style="color: navy"><b> -&gt; </b></span>tgt.role<span style="color: navy">;</span>
  src.qualification<span style="color: navy"><b> -&gt; </b></span>tgt.specialty<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitSupportingInfo<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.sequence<span style="color: navy"><b> -&gt; </b></span>tgt.sequence<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.timing<span style="color: navy"> : </span>date<span style="color: navy"><b> -&gt; </b></span>tgt.timing<span style="color: navy">;</span>
  src.timing<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.timing<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>boolean<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>string<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Quantity<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Attachment<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.reason<span style="color: navy"><b> -&gt; </b></span>tgt.reason<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.value : Identifier -&gt; tgt.value;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitDiagnosis<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.sequence<span style="color: navy"><b> -&gt; </b></span>tgt.sequence<span style="color: navy">;</span>
  src.diagnosis<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.diagnosis<span style="color: navy">;</span>
  src.diagnosis<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.diagnosis<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.onAdmission<span style="color: navy"><b> -&gt; </b></span>tgt.onAdmission<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitProcedure<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.sequence<span style="color: navy"><b> -&gt; </b></span>tgt.sequence<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date<span style="color: navy">;</span>
  src.procedure<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.procedure<span style="color: navy">;</span>
  src.procedure<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.procedure<span style="color: navy">;</span>
  src.udi<span style="color: navy"><b> -&gt; </b></span>tgt.udi<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitInsurance<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.focal<span style="color: navy"><b> -&gt; </b></span>tgt.focal<span style="color: navy">;</span>
  src.coverage<span style="color: navy"><b> -&gt; </b></span>tgt.coverage<span style="color: navy">;</span>
  src.preAuthRef<span style="color: navy"><b> -&gt; </b></span>tgt.preAuthRef<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitAccident<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.date<span style="color: navy"><b> -&gt; </b></span>tgt.date<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.location<span style="color: navy"> : </span>Address<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
  src.location<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitItem<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.sequence<span style="color: navy"><b> -&gt; </b></span>tgt.sequence<span style="color: navy">;</span>
  src.careTeamSequence<span style="color: navy"><b> -&gt; </b></span>tgt.careTeamSequence<span style="color: navy">;</span>
  src.diagnosisSequence<span style="color: navy"><b> -&gt; </b></span>tgt.diagnosisSequence<span style="color: navy">;</span>
  src.procedureSequence<span style="color: navy"><b> -&gt; </b></span>tgt.procedureSequence<span style="color: navy">;</span>
  src.informationSequence<span style="color: navy"><b> -&gt; </b></span>tgt.informationSequence<span style="color: navy">;</span>
  src.revenue<span style="color: navy"><b> -&gt; </b></span>tgt.revenue<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.traceNumber -&gt; tgt.traceNumber;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.productOrService<span style="color: navy"><b> -&gt; </b></span>tgt.productOrService<span style="color: navy">;</span>
  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;</span>
  src.programCode<span style="color: navy"><b> -&gt; </b></span>tgt.programCode<span style="color: navy">;</span>
  src.serviced<span style="color: navy"> : </span>date<span style="color: navy"><b> -&gt; </b></span>tgt.serviced<span style="color: navy">;</span>
  src.serviced<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.serviced<span style="color: navy">;</span>
  src.location<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
  src.location<span style="color: navy"> : </span>Address<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
  src.location<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.patientPaid -&gt; tgt.patientPaid;</span>
  src.unitPrice<span style="color: navy"><b> -&gt; </b></span>tgt.unitPrice<span style="color: navy">;</span>
  src.factor<span style="color: navy"><b> -&gt; </b></span>tgt.factor<span style="color: navy">;</span>
  src.net<span style="color: navy"><b> -&gt; </b></span>tgt.net<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.tax -&gt; tgt.tax;</span>
  src.udi<span style="color: navy"><b> -&gt; </b></span>tgt.udi<span style="color: navy">;</span>
  src.bodySite<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.bodySite<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.site = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.subSite<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.bodySite<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.subSite = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.encounter<span style="color: navy"><b> -&gt; </b></span>tgt.encounter<span style="color: navy">;</span>
  src.noteNumber<span style="color: navy"><b> -&gt; </b></span>tgt.noteNumber<span style="color: navy">;</span>
  src.adjudication<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.adjudication<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitItemAdjudication<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.reviewOutcome as s -&gt; tgt.reviewOutcome as t then ExplanationOfBenefitItemReviewOutcome(s,t);</span>
  src.detail<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.detail<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitItemDetail<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group ExplanationOfBenefitItemBodySite(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.site -&gt; tgt.site;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.subSite -&gt; tgt.subSite;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<span style="color: navy">// </span><span style="color: green">group ExplanationOfBenefitItemReviewOutcome(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.decision -&gt; tgt.decision;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.reason -&gt; tgt.reason;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.preAuthRef -&gt; tgt.preAuthRef;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.preAuthPeriod -&gt; tgt.preAuthPeriod;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>ExplanationOfBenefitItemAdjudication<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.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.reason<span style="color: navy"><b> -&gt; </b></span>tgt.reason<span style="color: navy">;</span>
  src.amount<span style="color: navy"><b> -&gt; </b></span>tgt.amount<span style="color: navy">;</span>
  src.value<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.quantity = <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">t</span><span style="color: navy">, </span> t.value = <span style="color: maroon">s</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitItemDetail<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.sequence<span style="color: navy"><b> -&gt; </b></span>tgt.sequence<span style="color: navy">;</span>
  src.revenue<span style="color: navy"><b> -&gt; </b></span>tgt.revenue<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.traceNumber -&gt; tgt.traceNumber;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.productOrService<span style="color: navy"><b> -&gt; </b></span>tgt.productOrService<span style="color: navy">;</span>
  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;</span>
  src.programCode<span style="color: navy"><b> -&gt; </b></span>tgt.programCode<span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.patientPaid -&gt; tgt.patientPaid;</span>
  src.unitPrice<span style="color: navy"><b> -&gt; </b></span>tgt.unitPrice<span style="color: navy">;</span>
  src.factor<span style="color: navy"><b> -&gt; </b></span>tgt.factor<span style="color: navy">;</span>
  src.net<span style="color: navy"><b> -&gt; </b></span>tgt.net<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.tax -&gt; tgt.tax;</span>
  src.udi<span style="color: navy"><b> -&gt; </b></span>tgt.udi<span style="color: navy">;</span>
  src.noteNumber<span style="color: navy"><b> -&gt; </b></span>tgt.noteNumber<span style="color: navy">;</span>
  src.subDetail<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.subDetail<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitItemDetailSubDetail<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitItemDetailSubDetail<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.sequence<span style="color: navy"><b> -&gt; </b></span>tgt.sequence<span style="color: navy">;</span>
  src.revenue<span style="color: navy"><b> -&gt; </b></span>tgt.revenue<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.traceNumber -&gt; tgt.traceNumber;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.productOrService<span style="color: navy"><b> -&gt; </b></span>tgt.productOrService<span style="color: navy">;</span>
  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;</span>
  src.programCode<span style="color: navy"><b> -&gt; </b></span>tgt.programCode<span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.patientPaid -&gt; tgt.patientPaid;</span>
  src.unitPrice<span style="color: navy"><b> -&gt; </b></span>tgt.unitPrice<span style="color: navy">;</span>
  src.factor<span style="color: navy"><b> -&gt; </b></span>tgt.factor<span style="color: navy">;</span>
  src.net<span style="color: navy"><b> -&gt; </b></span>tgt.net<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.tax -&gt; tgt.tax;</span>
  src.udi<span style="color: navy"><b> -&gt; </b></span>tgt.udi<span style="color: navy">;</span>
  src.noteNumber<span style="color: navy"><b> -&gt; </b></span>tgt.noteNumber<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitAddItem<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.itemSequence<span style="color: navy"><b> -&gt; </b></span>tgt.itemSequence<span style="color: navy">;</span>
  src.detailSequence<span style="color: navy"><b> -&gt; </b></span>tgt.detailSequence<span style="color: navy">;</span>
  src.subDetailSequence<span style="color: navy"><b> -&gt; </b></span>tgt.subDetailSequence<span style="color: navy">;</span>
  src.provider<span style="color: navy"><b> -&gt; </b></span>tgt.provider<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.traceNumber -&gt; tgt.traceNumber;</span>
  src.productOrService<span style="color: navy"><b> -&gt; </b></span>tgt.productOrService<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.revenue -&gt; tgt.revenue;</span>
  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;</span>
  src.programCode<span style="color: navy"><b> -&gt; </b></span>tgt.programCode<span style="color: navy">;</span>
  src.serviced<span style="color: navy"> : </span>date<span style="color: navy"><b> -&gt; </b></span>tgt.serviced<span style="color: navy">;</span>
  src.serviced<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.serviced<span style="color: navy">;</span>
  src.location<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
  src.location<span style="color: navy"> : </span>Address<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
  src.location<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.patientPaid -&gt; tgt.patientPaid;</span>
  src.unitPrice<span style="color: navy"><b> -&gt; </b></span>tgt.unitPrice<span style="color: navy">;</span>
  src.factor<span style="color: navy"><b> -&gt; </b></span>tgt.factor<span style="color: navy">;</span>
  src.net<span style="color: navy"><b> -&gt; </b></span>tgt.net<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.tax -&gt; tgt.tax;</span>
  src.bodySite<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.bodySite<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.site = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.subSite<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.bodySite<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.subSite = <span style="color: maroon">s</span><span style="color: navy">;</span>
  src.noteNumber<span style="color: navy"><b> -&gt; </b></span>tgt.noteNumber<span style="color: navy">;</span>
  src.detail<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.detail<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitAddItemDetail<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group ExplanationOfBenefitAddItemBodySite(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.site -&gt; tgt.site;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.subSite -&gt; tgt.subSite;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>ExplanationOfBenefitAddItemDetail<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.productOrService<span style="color: navy"><b> -&gt; </b></span>tgt.productOrService<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.traceNumber -&gt; tgt.traceNumber;</span>
  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.patientPaid -&gt; tgt.patientPaid;</span>
  src.unitPrice<span style="color: navy"><b> -&gt; </b></span>tgt.unitPrice<span style="color: navy">;</span>
  src.factor<span style="color: navy"><b> -&gt; </b></span>tgt.factor<span style="color: navy">;</span>
  src.net<span style="color: navy"><b> -&gt; </b></span>tgt.net<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.tax -&gt; tgt.tax;</span>
  src.noteNumber<span style="color: navy"><b> -&gt; </b></span>tgt.noteNumber<span style="color: navy">;</span>
  src.subDetail<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.subDetail<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitAddItemDetailSubDetail<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitAddItemDetailSubDetail<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.productOrService<span style="color: navy"><b> -&gt; </b></span>tgt.productOrService<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.traceNumber -&gt; tgt.traceNumber;</span>
  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.patientPaid -&gt; tgt.patientPaid;</span>
  src.unitPrice<span style="color: navy"><b> -&gt; </b></span>tgt.unitPrice<span style="color: navy">;</span>
  src.factor<span style="color: navy"><b> -&gt; </b></span>tgt.factor<span style="color: navy">;</span>
  src.net<span style="color: navy"><b> -&gt; </b></span>tgt.net<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.tax -&gt; tgt.tax;</span>
  src.noteNumber<span style="color: navy"><b> -&gt; </b></span>tgt.noteNumber<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitTotal<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.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.amount<span style="color: navy"><b> -&gt; </b></span>tgt.amount<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitPayment<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.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.adjustment<span style="color: navy"><b> -&gt; </b></span>tgt.adjustment<span style="color: navy">;</span>
  src.adjustmentReason<span style="color: navy"><b> -&gt; </b></span>tgt.adjustmentReason<span style="color: navy">;</span>
  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date<span style="color: navy">;</span>
  src.amount<span style="color: navy"><b> -&gt; </b></span>tgt.amount<span style="color: navy">;</span>
  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitProcessNote<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.number<span style="color: navy"><b> -&gt; </b></span>tgt.number<span style="color: navy">;</span>
  src.type<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'display'<span style="color: navy"><b> -&gt; </b></span> tgt.type = <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">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://hl7.org/fhir/note-type'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'display'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'display'</span><span style="color: navy">;</span>
  src.type<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'print'<span style="color: navy"><b> -&gt; </b></span> tgt.type = <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">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://hl7.org/fhir/note-type'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'print'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Print (Form)'</span><span style="color: navy">;</span>
  src.type<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'printoper'<span style="color: navy"><b> -&gt; </b></span> tgt.type = <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">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://hl7.org/fhir/note-type'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'printoper'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Print (Operator)'</span><span style="color: navy">;</span>
  src.text<span style="color: navy"><b> -&gt; </b></span>tgt.text<span style="color: navy">;</span>
  src.language<span style="color: navy"><b> -&gt; </b></span>tgt.language<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitBenefitBalance<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.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.excluded<span style="color: navy"><b> -&gt; </b></span>tgt.excluded<span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.network<span style="color: navy"><b> -&gt; </b></span>tgt.network<span style="color: navy">;</span>
  src.unit<span style="color: navy"><b> -&gt; </b></span>tgt.unit<span style="color: navy">;</span>
  src.term<span style="color: navy"><b> -&gt; </b></span>tgt.term<span style="color: navy">;</span>
  src.financial<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.financial<b> as </b><span style="color: maroon">t</span><b> then </b>ExplanationOfBenefitBenefitBalanceFinancial<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>ExplanationOfBenefitBenefitBalanceFinancial<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.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.allowed<span style="color: navy"> : </span>unsignedInt<span style="color: navy"><b> -&gt; </b></span>tgt.allowed<span style="color: navy">;</span>
  src.allowed<span style="color: navy"> : </span>string<span style="color: navy"><b> -&gt; </b></span>tgt.allowed<span style="color: navy">;</span>
  src.allowed<span style="color: navy"> : </span>Money<span style="color: navy"><b> -&gt; </b></span>tgt.allowed<span style="color: navy">;</span>
  src.used<span style="color: navy"> : </span>unsignedInt<span style="color: navy"><b> -&gt; </b></span>tgt.used<span style="color: navy">;</span>
  src.used<span style="color: navy"> : </span>Money<span style="color: navy"><b> -&gt; </b></span>tgt.used<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="ClaimOutcome"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/remittance-outcome"/>
        <target value="http://hl7.org/fhir/claim-outcome"/>
        <element>
          <code value="queued"/>
          <target>
            <code value="queued"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="complete"/>
          <target>
            <code value="complete"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="error"/>
          <target>
            <code value="error"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="partial"/>
          <target>
            <code value="partial"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="ExplanationOfBenefitStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/explanationofbenefit-status"/>
        <target value="http://hl7.org/fhir/explanationofbenefit-status"/>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="cancelled"/>
          <target>
            <code value="cancelled"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="entered-in-error"/>
          <target>
            <code value="entered-in-error"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="Use"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/claim-use"/>
        <target value="http://hl7.org/fhir/claim-use"/>
        <element>
          <code value="claim"/>
          <target>
            <code value="claim"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="preauthorization"/>
          <target>
            <code value="preauthorization"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="predetermination"/>
          <target>
            <code value="predetermination"/>
            <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/ExplanationOfBenefit4to5"/>
  <version value="5.1.0"/>
  <name value="ExplanationOfBenefit4to5"/>
  <title value="FML Conversion for ExplanationOfBenefit: R4 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="FMLConversionforExplanationOfBenefitR4toR5"/>
  <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/StructureDefinition/ExplanationOfBenefit"/>
    <mode value="source"/>
    <alias value="ExplanationOfBenefitR4"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit"/>
    <mode value="target"/>
    <alias value="ExplanationOfBenefitR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to5"/>
  <group>
    <name value="ExplanationOfBenefit"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="ExplanationOfBenefitR4"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="ExplanationOfBenefitR5"/>
      <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="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="#ExplanationOfBenefitStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
      <documentation value="src.traceNumber -&gt; tgt.traceNumber;"/>
    </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="subType"/>
      <source>
        <context value="src"/>
        <element value="subType"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subType"/>
        <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="use"/>
      <source>
        <context value="src"/>
        <element value="use"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="use"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#Use"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="patient"/>
      <source>
        <context value="src"/>
        <element value="patient"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="patient"/>
        <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="billablePeriod"/>
      <source>
        <context value="src"/>
        <element value="billablePeriod"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="billablePeriod"/>
        <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="created"/>
      <source>
        <context value="src"/>
        <element value="created"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="created"/>
        <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="insurer"/>
      <source>
        <context value="src"/>
        <element value="insurer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="insurer"/>
        <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="provider"/>
      <source>
        <context value="src"/>
        <element value="provider"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="provider"/>
        <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="fundsReserveRequested"/>
      <source>
        <context value="src"/>
        <element value="fundsReserveRequested"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fundsReserveRequested"/>
        <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="fundsReserve"/>
      <source>
        <context value="src"/>
        <element value="fundsReserve"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fundsReserve"/>
        <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="related"/>
      <source>
        <context value="src"/>
        <element value="related"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="related"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitRelated"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="prescription"/>
      <source>
        <context value="src"/>
        <element value="prescription"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="prescription"/>
        <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="originalPrescription"/>
      <source>
        <context value="src"/>
        <element value="originalPrescription"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="originalPrescription"/>
        <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="payee"/>
      <source>
        <context value="src"/>
        <element value="payee"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="payee"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitPayee"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.event as s -&gt; tgt.event as t then ExplanationOfBenefitEvent(s,t);"/>
    </rule>
    <rule>
      <name value="referral"/>
      <source>
        <context value="src"/>
        <element value="referral"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="referral"/>
        <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="facility"/>
      <source>
        <context value="src"/>
        <element value="facility"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="facility"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.encounter -&gt; tgt.encounter;"/>
    </rule>
    <rule>
      <name value="claim"/>
      <source>
        <context value="src"/>
        <element value="claim"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="claim"/>
        <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="claimResponse"/>
      <source>
        <context value="src"/>
        <element value="claimResponse"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="claimResponse"/>
        <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="outcome"/>
      <source>
        <context value="src"/>
        <element value="outcome"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="outcome"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#ClaimOutcome"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="disposition"/>
      <source>
        <context value="src"/>
        <element value="disposition"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="disposition"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.decision -&gt; tgt.decision;"/>
    </rule>
    <rule>
      <name value="preAuthRef"/>
      <source>
        <context value="src"/>
        <element value="preAuthRef"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="preAuthRef"/>
        <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="preAuthRefPeriod"/>
      <source>
        <context value="src"/>
        <element value="preAuthRefPeriod"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="preAuthRefPeriod"/>
        <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="careTeam"/>
      <source>
        <context value="src"/>
        <element value="careTeam"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="careTeam"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitCareTeam"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.diagnosisRelatedGroup -&gt; tgt.diagnosisRelatedGroup;"/>
    </rule>
    <rule>
      <name value="supportingInfo"/>
      <source>
        <context value="src"/>
        <element value="supportingInfo"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="supportingInfo"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitSupportingInfo"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="diagnosis"/>
      <source>
        <context value="src"/>
        <element value="diagnosis"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="diagnosis"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitDiagnosis"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="procedure"/>
      <source>
        <context value="src"/>
        <element value="procedure"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="procedure"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitProcedure"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="precedence"/>
      <source>
        <context value="src"/>
        <element value="precedence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="precedence"/>
        <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="insurance"/>
      <source>
        <context value="src"/>
        <element value="insurance"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="insurance"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitInsurance"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="accident"/>
      <source>
        <context value="src"/>
        <element value="accident"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="accident"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitAccident"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="item"/>
      <source>
        <context value="src"/>
        <element value="item"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="item"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitItem"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation value="src.patientPaid -&gt; tgt.patientPaid;"/>
    </rule>
    <rule>
      <name value="addItem"/>
      <source>
        <context value="src"/>
        <element value="addItem"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="addItem"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitAddItem"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="total"/>
      <source>
        <context value="src"/>
        <element value="total"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="total"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitTotal"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="payment"/>
      <source>
        <context value="src"/>
        <element value="payment"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="payment"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitPayment"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="formCode"/>
      <source>
        <context value="src"/>
        <element value="formCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="formCode"/>
        <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="form"/>
      <source>
        <context value="src"/>
        <element value="form"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="form"/>
        <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="processNote"/>
      <source>
        <context value="src"/>
        <element value="processNote"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="processNote"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitProcessNote"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="benefitPeriod"/>
      <source>
        <context value="src"/>
        <element value="benefitPeriod"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="benefitPeriod"/>
        <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="benefitBalance"/>
      <source>
        <context value="src"/>
        <element value="benefitBalance"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="benefitBalance"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitBenefitBalance"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitRelated"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="claim"/>
      <source>
        <context value="src"/>
        <element value="claim"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="claim"/>
        <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="relationship"/>
      <source>
        <context value="src"/>
        <element value="relationship"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relationship"/>
        <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="reference"/>
      <source>
        <context value="src"/>
        <element value="reference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reference"/>
        <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="ExplanationOfBenefitPayee"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group ExplanationOfBenefitEvent(source src, target tgt) extends BackboneElement {
src.type -&gt; tgt.type;
src.when : dateTime -&gt; tgt.when;
src.when : Period -&gt; tgt.when;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="party"/>
      <source>
        <context value="src"/>
        <element value="party"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="party"/>
        <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="ExplanationOfBenefitCareTeam"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sequence"/>
      <source>
        <context value="src"/>
        <element value="sequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sequence"/>
        <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="provider"/>
      <source>
        <context value="src"/>
        <element value="provider"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="provider"/>
        <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="responsible"/>
      <source>
        <context value="src"/>
        <element value="responsible"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="responsible"/>
        <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="role"/>
      <source>
        <context value="src"/>
        <element value="role"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="role"/>
        <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="qualification"/>
      <source>
        <context value="src"/>
        <element value="qualification"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="specialty"/>
        <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="ExplanationOfBenefitSupportingInfo"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sequence"/>
      <source>
        <context value="src"/>
        <element value="sequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sequence"/>
        <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="timingDate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="timing"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="timing"/>
        <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="timingPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="timing"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="timing"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueBoolean"/>
      <source>
        <context value="src"/>
        <type value="boolean"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueQuantity"/>
      <source>
        <context value="src"/>
        <type value="Quantity"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueAttachment"/>
      <source>
        <context value="src"/>
        <type value="Attachment"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="valueReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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>
      <documentation value="src.value : Identifier -&gt; tgt.value;"/>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitDiagnosis"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sequence"/>
      <source>
        <context value="src"/>
        <element value="sequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sequence"/>
        <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="diagnosisCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="diagnosis"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="diagnosis"/>
        <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="diagnosisReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="diagnosis"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="diagnosis"/>
        <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="onAdmission"/>
      <source>
        <context value="src"/>
        <element value="onAdmission"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onAdmission"/>
        <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="ExplanationOfBenefitProcedure"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sequence"/>
      <source>
        <context value="src"/>
        <element value="sequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sequence"/>
        <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="date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="procedureCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="procedure"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="procedure"/>
        <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="procedureReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="procedure"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="procedure"/>
        <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="udi"/>
      <source>
        <context value="src"/>
        <element value="udi"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="udi"/>
        <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="ExplanationOfBenefitInsurance"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="focal"/>
      <source>
        <context value="src"/>
        <element value="focal"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="focal"/>
        <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="coverage"/>
      <source>
        <context value="src"/>
        <element value="coverage"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="coverage"/>
        <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="preAuthRef"/>
      <source>
        <context value="src"/>
        <element value="preAuthRef"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="preAuthRef"/>
        <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="ExplanationOfBenefitAccident"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="locationAddress"/>
      <source>
        <context value="src"/>
        <type value="Address"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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="locationReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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="ExplanationOfBenefitItem"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sequence"/>
      <source>
        <context value="src"/>
        <element value="sequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sequence"/>
        <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="careTeamSequence"/>
      <source>
        <context value="src"/>
        <element value="careTeamSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="careTeamSequence"/>
        <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="diagnosisSequence"/>
      <source>
        <context value="src"/>
        <element value="diagnosisSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="diagnosisSequence"/>
        <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="procedureSequence"/>
      <source>
        <context value="src"/>
        <element value="procedureSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="procedureSequence"/>
        <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="informationSequence"/>
      <source>
        <context value="src"/>
        <element value="informationSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="informationSequence"/>
        <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="revenue"/>
      <source>
        <context value="src"/>
        <element value="revenue"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="revenue"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.traceNumber -&gt; tgt.traceNumber;"/>
    </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="productOrService"/>
      <source>
        <context value="src"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productOrService"/>
        <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="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;"/>
    </rule>
    <rule>
      <name value="programCode"/>
      <source>
        <context value="src"/>
        <element value="programCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="programCode"/>
        <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="servicedDate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="serviced"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="serviced"/>
        <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="servicedPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="serviced"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="serviced"/>
        <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="locationCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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="locationAddress"/>
      <source>
        <context value="src"/>
        <type value="Address"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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="locationReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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>
      <documentation value="src.patientPaid -&gt; tgt.patientPaid;"/>
    </rule>
    <rule>
      <name value="unitPrice"/>
      <source>
        <context value="src"/>
        <element value="unitPrice"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="unitPrice"/>
        <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="factor"/>
      <source>
        <context value="src"/>
        <element value="factor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="factor"/>
        <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="net"/>
      <source>
        <context value="src"/>
        <element value="net"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="net"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.tax -&gt; tgt.tax;"/>
    </rule>
    <rule>
      <name value="udi"/>
      <source>
        <context value="src"/>
        <element value="udi"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="udi"/>
        <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="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="bodySite"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="site"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="subSite"/>
      <source>
        <context value="src"/>
        <element value="subSite"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="bodySite"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="subSite"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="encounter"/>
      <source>
        <context value="src"/>
        <element value="encounter"/>
        <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="noteNumber"/>
      <source>
        <context value="src"/>
        <element value="noteNumber"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="noteNumber"/>
        <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="adjudication"/>
      <source>
        <context value="src"/>
        <element value="adjudication"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="adjudication"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitItemAdjudication"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.reviewOutcome as s -&gt; tgt.reviewOutcome as t then ExplanationOfBenefitItemReviewOutcome(s,t);"/>
    </rule>
    <rule>
      <name value="detail"/>
      <source>
        <context value="src"/>
        <element value="detail"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitItemDetail"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitItemAdjudication"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group ExplanationOfBenefitItemBodySite(source src, target tgt) extends BackboneElement {
src.site -&gt; tgt.site;
src.subSite -&gt; tgt.subSite;
}
group ExplanationOfBenefitItemReviewOutcome(source src, target tgt) extends BackboneElement {
src.decision -&gt; tgt.decision;
src.reason -&gt; tgt.reason;
src.preAuthRef -&gt; tgt.preAuthRef;
src.preAuthPeriod -&gt; tgt.preAuthPeriod;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="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="amount"/>
      <source>
        <context value="src"/>
        <element value="amount"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="amount"/>
        <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="value"/>
      <source>
        <context value="src"/>
        <element value="value"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="quantity"/>
        <variable value="t"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Quantity"/>
        </parameter>
      </target>
      <target>
        <context value="t"/>
        <element value="value"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitItemDetail"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sequence"/>
      <source>
        <context value="src"/>
        <element value="sequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sequence"/>
        <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="revenue"/>
      <source>
        <context value="src"/>
        <element value="revenue"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="revenue"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.traceNumber -&gt; tgt.traceNumber;"/>
    </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="productOrService"/>
      <source>
        <context value="src"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productOrService"/>
        <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="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;"/>
    </rule>
    <rule>
      <name value="programCode"/>
      <source>
        <context value="src"/>
        <element value="programCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="programCode"/>
        <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>
      <documentation value="src.patientPaid -&gt; tgt.patientPaid;"/>
    </rule>
    <rule>
      <name value="unitPrice"/>
      <source>
        <context value="src"/>
        <element value="unitPrice"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="unitPrice"/>
        <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="factor"/>
      <source>
        <context value="src"/>
        <element value="factor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="factor"/>
        <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="net"/>
      <source>
        <context value="src"/>
        <element value="net"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="net"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.tax -&gt; tgt.tax;"/>
    </rule>
    <rule>
      <name value="udi"/>
      <source>
        <context value="src"/>
        <element value="udi"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="udi"/>
        <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="noteNumber"/>
      <source>
        <context value="src"/>
        <element value="noteNumber"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="noteNumber"/>
        <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="subDetail"/>
      <source>
        <context value="src"/>
        <element value="subDetail"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subDetail"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitItemDetailSubDetail"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitItemDetailSubDetail"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sequence"/>
      <source>
        <context value="src"/>
        <element value="sequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sequence"/>
        <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="revenue"/>
      <source>
        <context value="src"/>
        <element value="revenue"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="revenue"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.traceNumber -&gt; tgt.traceNumber;"/>
    </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="productOrService"/>
      <source>
        <context value="src"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productOrService"/>
        <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="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;"/>
    </rule>
    <rule>
      <name value="programCode"/>
      <source>
        <context value="src"/>
        <element value="programCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="programCode"/>
        <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>
      <documentation value="src.patientPaid -&gt; tgt.patientPaid;"/>
    </rule>
    <rule>
      <name value="unitPrice"/>
      <source>
        <context value="src"/>
        <element value="unitPrice"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="unitPrice"/>
        <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="factor"/>
      <source>
        <context value="src"/>
        <element value="factor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="factor"/>
        <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="net"/>
      <source>
        <context value="src"/>
        <element value="net"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="net"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.tax -&gt; tgt.tax;"/>
    </rule>
    <rule>
      <name value="udi"/>
      <source>
        <context value="src"/>
        <element value="udi"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="udi"/>
        <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="noteNumber"/>
      <source>
        <context value="src"/>
        <element value="noteNumber"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="noteNumber"/>
        <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="ExplanationOfBenefitAddItem"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="itemSequence"/>
      <source>
        <context value="src"/>
        <element value="itemSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="itemSequence"/>
        <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="detailSequence"/>
      <source>
        <context value="src"/>
        <element value="detailSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detailSequence"/>
        <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="subDetailSequence"/>
      <source>
        <context value="src"/>
        <element value="subDetailSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subDetailSequence"/>
        <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="provider"/>
      <source>
        <context value="src"/>
        <element value="provider"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="provider"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.traceNumber -&gt; tgt.traceNumber;"/>
    </rule>
    <rule>
      <name value="productOrService"/>
      <source>
        <context value="src"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.revenue -&gt; tgt.revenue;"/>
    </rule>
    <rule>
      <name value="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;"/>
    </rule>
    <rule>
      <name value="programCode"/>
      <source>
        <context value="src"/>
        <element value="programCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="programCode"/>
        <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="servicedDate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="serviced"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="serviced"/>
        <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="servicedPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="serviced"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="serviced"/>
        <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="locationCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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="locationAddress"/>
      <source>
        <context value="src"/>
        <type value="Address"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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="locationReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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>
      <documentation value="src.patientPaid -&gt; tgt.patientPaid;"/>
    </rule>
    <rule>
      <name value="unitPrice"/>
      <source>
        <context value="src"/>
        <element value="unitPrice"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="unitPrice"/>
        <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="factor"/>
      <source>
        <context value="src"/>
        <element value="factor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="factor"/>
        <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="net"/>
      <source>
        <context value="src"/>
        <element value="net"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="net"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.tax -&gt; tgt.tax;"/>
    </rule>
    <rule>
      <name value="bodySite"/>
      <source>
        <context value="src"/>
        <element value="bodySite"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="bodySite"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="site"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="subSite"/>
      <source>
        <context value="src"/>
        <element value="subSite"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="bodySite"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="subSite"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="noteNumber"/>
      <source>
        <context value="src"/>
        <element value="noteNumber"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="noteNumber"/>
        <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="detail"/>
      <source>
        <context value="src"/>
        <element value="detail"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitAddItemDetail"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitAddItemDetail"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group ExplanationOfBenefitAddItemBodySite(source src, target tgt) extends BackboneElement {
src.site -&gt; tgt.site;
src.subSite -&gt; tgt.subSite;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="productOrService"/>
      <source>
        <context value="src"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.traceNumber -&gt; tgt.traceNumber;"/>
    </rule>
    <rule>
      <name value="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;"/>
    </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>
      <documentation value="src.patientPaid -&gt; tgt.patientPaid;"/>
    </rule>
    <rule>
      <name value="unitPrice"/>
      <source>
        <context value="src"/>
        <element value="unitPrice"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="unitPrice"/>
        <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="factor"/>
      <source>
        <context value="src"/>
        <element value="factor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="factor"/>
        <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="net"/>
      <source>
        <context value="src"/>
        <element value="net"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="net"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.tax -&gt; tgt.tax;"/>
    </rule>
    <rule>
      <name value="noteNumber"/>
      <source>
        <context value="src"/>
        <element value="noteNumber"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="noteNumber"/>
        <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="subDetail"/>
      <source>
        <context value="src"/>
        <element value="subDetail"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subDetail"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitAddItemDetailSubDetail"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitAddItemDetailSubDetail"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="productOrService"/>
      <source>
        <context value="src"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.traceNumber -&gt; tgt.traceNumber;"/>
    </rule>
    <rule>
      <name value="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.productOrServiceEnd -&gt; tgt.productOrServiceEnd;"/>
    </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>
      <documentation value="src.patientPaid -&gt; tgt.patientPaid;"/>
    </rule>
    <rule>
      <name value="unitPrice"/>
      <source>
        <context value="src"/>
        <element value="unitPrice"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="unitPrice"/>
        <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="factor"/>
      <source>
        <context value="src"/>
        <element value="factor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="factor"/>
        <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="net"/>
      <source>
        <context value="src"/>
        <element value="net"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="net"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.tax -&gt; tgt.tax;"/>
    </rule>
    <rule>
      <name value="noteNumber"/>
      <source>
        <context value="src"/>
        <element value="noteNumber"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="noteNumber"/>
        <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="ExplanationOfBenefitTotal"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="amount"/>
      <source>
        <context value="src"/>
        <element value="amount"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="amount"/>
        <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="ExplanationOfBenefitPayment"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="adjustment"/>
      <source>
        <context value="src"/>
        <element value="adjustment"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="adjustment"/>
        <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="adjustmentReason"/>
      <source>
        <context value="src"/>
        <element value="adjustmentReason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="adjustmentReason"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="amount"/>
      <source>
        <context value="src"/>
        <element value="amount"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="amount"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitProcessNote"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="number"/>
      <source>
        <context value="src"/>
        <element value="number"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="number"/>
        <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="s"/>
        <condition value="code = 'display'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://hl7.org/fhir/note-type"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="display"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="display"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="s"/>
        <condition value="code = 'print'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://hl7.org/fhir/note-type"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="print"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Print (Form)"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="s"/>
        <condition value="code = 'printoper'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://hl7.org/fhir/note-type"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="printoper"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Print (Operator)"/>
        </parameter>
      </target>
    </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>
    <rule>
      <name value="language"/>
      <source>
        <context value="src"/>
        <element value="language"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="language"/>
        <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="ExplanationOfBenefitBenefitBalance"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="excluded"/>
      <source>
        <context value="src"/>
        <element value="excluded"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="excluded"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="network"/>
      <source>
        <context value="src"/>
        <element value="network"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="network"/>
        <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="unit"/>
      <source>
        <context value="src"/>
        <element value="unit"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="unit"/>
        <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="term"/>
      <source>
        <context value="src"/>
        <element value="term"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="term"/>
        <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="financial"/>
      <source>
        <context value="src"/>
        <element value="financial"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="financial"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ExplanationOfBenefitBenefitBalanceFinancial"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ExplanationOfBenefitBenefitBalanceFinancial"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="allowedUnsignedInt"/>
      <source>
        <context value="src"/>
        <type value="unsignedInt"/>
        <element value="allowed"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="allowed"/>
        <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="allowedString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="allowed"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="allowed"/>
        <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="allowedMoney"/>
      <source>
        <context value="src"/>
        <type value="Money"/>
        <element value="allowed"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="allowed"/>
        <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="usedUnsignedInt"/>
      <source>
        <context value="src"/>
        <type value="unsignedInt"/>
        <element value="used"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="used"/>
        <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="usedMoney"/>
      <source>
        <context value="src"/>
        <type value="Money"/>
        <element value="used"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="used"/>
        <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>