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 ClaimResponse: R5 to R4B - JSON Representation

Page standards status: Trial-use Maturity Level: 1

Raw json | Download


{
  "resourceType" : "StructureMap",
  "id" : "ClaimResponse5to4B",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/ClaimResponse5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ClaimResponse5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for ClaimResponse: R5 to R4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ClaimResponseStatus<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-fm-status.html\" title=\"Financial Resource Status Codes\">http://hl7.org/fhir/fm-status</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4B/codesystem-fm-status.html\" title=\"Financial Resource Status Codes\">http://hl7.org/fhir/4.3/fm-status</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>active <b>-</b> t<span style=\"color: navy\">:</span>active\r\n  s<span style=\"color: navy\">:</span>cancelled <b>-</b> t<span style=\"color: navy\">:</span>cancelled\r\n  s<span style=\"color: navy\">:</span>draft <b>-</b> t<span style=\"color: navy\">:</span>draft\r\n  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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>RemittanceOutcome<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4B/codesystem-remittance-outcome.html\" title=\"RemittanceOutcome\">http://hl7.org/fhir/4.3/remittance-outcome</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>queued <b>-</b> t<span style=\"color: navy\">:</span>queued\r\n  s<span style=\"color: navy\">:</span>complete <b>-</b> t<span style=\"color: navy\">:</span>complete\r\n  s<span style=\"color: navy\">:</span>error <b>-</b> t<span style=\"color: navy\">:</span>error\r\n  s<span style=\"color: navy\">:</span>partial <b>-</b> t<span style=\"color: navy\">:</span>partial\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>Use<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4B/codesystem-claim-use.html\" title=\"Use\">http://hl7.org/fhir/4.3/claim-use</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>claim <b>-</b> t<span style=\"color: navy\">:</span>claim\r\n  s<span style=\"color: navy\">:</span>preauthorization <b>-</b> t<span style=\"color: navy\">:</span>preauthorization\r\n  s<span style=\"color: navy\">:</span>predetermination <b>-</b> t<span style=\"color: navy\">:</span>predetermination\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R5/claimresponse.html\" title=\"ClaimResponse\">http://hl7.org/fhir/StructureDefinition/ClaimResponse</a><span style=\"color: navy\">&quot; </span><b>alias </b>ClaimResponseR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4B/claimresponse.html\" title=\"ClaimResponse\">http://hl7.org/fhir/4.3/StructureDefinition/ClaimResponse</a><span style=\"color: navy\">&quot; </span><b>alias </b>ClaimResponseR4B <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4B<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>ClaimResponse<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ClaimResponseR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ClaimResponseR4B<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n  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\">'#ClaimResponseStatus'</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>\r\n  src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n  src.subType<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subType<span style=\"color: navy\">;</span>\r\n  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>\r\n  src.patient<span style=\"color: navy\"><b> -&gt; </b></span>tgt.patient<span style=\"color: navy\">;</span>\r\n  src.created<span style=\"color: navy\"><b> -&gt; </b></span>tgt.created<span style=\"color: navy\">;</span>\r\n  src.insurer<span style=\"color: navy\"><b> -&gt; </b></span>tgt.insurer<span style=\"color: navy\">;</span>\r\n  src.requestor<span style=\"color: navy\"><b> -&gt; </b></span>tgt.requestor<span style=\"color: navy\">;</span>\r\n  src.request<span style=\"color: navy\"><b> -&gt; </b></span>tgt.request<span style=\"color: navy\">;</span>\r\n  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\">'#RemittanceOutcome'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  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>\r\n  src.preAuthRef<span style=\"color: navy\"><b> -&gt; </b></span>tgt.preAuthRef<span style=\"color: navy\">;</span>\r\n  src.preAuthPeriod<span style=\"color: navy\"><b> -&gt; </b></span>tgt.preAuthPeriod<span style=\"color: navy\">;</span>\r\n  src.payeeType<span style=\"color: navy\"><b> -&gt; </b></span>tgt.payeeType<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.event as s -&gt; tgt.event as t then ClaimResponseEvent(s,t);</span>\r\n  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>ClaimResponseItem<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.encounter -&gt; tgt.encounter;</span>\r\n  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>ClaimResponseAddItem<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>\r\n  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>ClaimResponseTotal<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>\r\n  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>ClaimResponsePayment<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>\r\n  src.fundsReserve<span style=\"color: navy\"><b> -&gt; </b></span>tgt.fundsReserve<span style=\"color: navy\">;</span>\r\n  src.formCode<span style=\"color: navy\"><b> -&gt; </b></span>tgt.formCode<span style=\"color: navy\">;</span>\r\n  src.form<span style=\"color: navy\"><b> -&gt; </b></span>tgt.form<span style=\"color: navy\">;</span>\r\n  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>ClaimResponseProcessNote<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>\r\n  src.communicationRequest<span style=\"color: navy\"><b> -&gt; </b></span>tgt.communicationRequest<span style=\"color: navy\">;</span>\r\n  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>ClaimResponseInsurance<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>\r\n  src.error<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.error<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ClaimResponseError<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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group ClaimResponseEvent(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -&gt; tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.when : dateTime -&gt; tgt.when;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.when : Period -&gt; tgt.when;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>ClaimResponseItem<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\"> {\r\n</span>  src.itemSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.itemSequence<span style=\"color: navy\">;</span>\r\n  src.noteNumber<span style=\"color: navy\"><b> -&gt; </b></span>tgt.noteNumber<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.traceNumber -&gt; tgt.traceNumber;</span>\r\n  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>ClaimResponseItemAdjudication<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 ClaimResponseItemReviewOutcome(s,t);</span>\r\n  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>ClaimResponseItemDetail<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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group ClaimResponseItemReviewOutcome(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.decision -&gt; tgt.decision;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.reason -&gt; tgt.reason;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.preAuthRef -&gt; tgt.preAuthRef;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.preAuthPeriod -&gt; tgt.preAuthPeriod;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>ClaimResponseItemAdjudication<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\"> {\r\n</span>  src.category<span style=\"color: navy\"><b> -&gt; </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n  src.reason<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reason<span style=\"color: navy\">;</span>\r\n  src.amount<span style=\"color: navy\"><b> -&gt; </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n  src.quantity<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    s.value<span style=\"color: navy\"><b> -&gt; </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponseItemDetail<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\"> {\r\n</span>  src.detailSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.detailSequence<span style=\"color: navy\">;</span>\r\n  src.noteNumber<span style=\"color: navy\"><b> -&gt; </b></span>tgt.noteNumber<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.traceNumber -&gt; tgt.traceNumber;</span>\r\n  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>ClaimResponseItemDetailSubDetail<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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponseItemDetailSubDetail<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\"> {\r\n</span>  src.subDetailSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subDetailSequence<span style=\"color: navy\">;</span>\r\n  src.noteNumber<span style=\"color: navy\"><b> -&gt; </b></span>tgt.noteNumber<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.traceNumber -&gt; tgt.traceNumber;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponseAddItem<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\"> {\r\n</span>  src.itemSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.itemSequence<span style=\"color: navy\">;</span>\r\n  src.detailSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.detailSequence<span style=\"color: navy\">;</span>\r\n  src.subdetailSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subdetailSequence<span style=\"color: navy\">;</span>\r\n  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>\r\n  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>\r\n  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>\r\n  src.programCode<span style=\"color: navy\"><b> -&gt; </b></span>tgt.programCode<span style=\"color: navy\">;</span>\r\n  src.serviced<span style=\"color: navy\"> : </span>date<span style=\"color: navy\"><b> -&gt; </b></span>tgt.serviced<span style=\"color: navy\">;</span>\r\n  src.serviced<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -&gt; </b></span>tgt.serviced<span style=\"color: navy\">;</span>\r\n  src.location<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -&gt; </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n  src.location<span style=\"color: navy\"> : </span>Address<span style=\"color: navy\"><b> -&gt; </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n  src.location<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -&gt; </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n  src.quantity<span style=\"color: navy\"><b> -&gt; </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n  src.unitPrice<span style=\"color: navy\"><b> -&gt; </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n  src.factor<span style=\"color: navy\"><b> -&gt; </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n  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>\r\n  src.bodySite<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.bodySite = <span style=\"color: maroon\">s.site</span><span style=\"color: navy\">;</span>\r\n  src.noteNumber<span style=\"color: navy\"><b> -&gt; </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n  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>ClaimResponseAddItemDetail<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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group ClaimResponseAddItemBodySite(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.site -&gt; tgt.site;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.subSite -&gt; tgt.subSite;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>ClaimResponseAddItemDetail<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\"> {\r\n</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>\r\n  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>\r\n  src.quantity<span style=\"color: navy\"><b> -&gt; </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n  src.unitPrice<span style=\"color: navy\"><b> -&gt; </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n  src.factor<span style=\"color: navy\"><b> -&gt; </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n  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>\r\n  src.noteNumber<span style=\"color: navy\"><b> -&gt; </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n  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>ClaimResponseAddItemDetailSubDetail<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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponseAddItemDetailSubDetail<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\"> {\r\n</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>\r\n  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>\r\n  src.quantity<span style=\"color: navy\"><b> -&gt; </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n  src.unitPrice<span style=\"color: navy\"><b> -&gt; </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n  src.factor<span style=\"color: navy\"><b> -&gt; </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n  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>\r\n  src.noteNumber<span style=\"color: navy\"><b> -&gt; </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponseTotal<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\"> {\r\n</span>  src.category<span style=\"color: navy\"><b> -&gt; </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n  src.amount<span style=\"color: navy\"><b> -&gt; </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponsePayment<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\"> {\r\n</span>  src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n  src.adjustment<span style=\"color: navy\"><b> -&gt; </b></span>tgt.adjustment<span style=\"color: navy\">;</span>\r\n  src.adjustmentReason<span style=\"color: navy\"><b> -&gt; </b></span>tgt.adjustmentReason<span style=\"color: navy\">;</span>\r\n  src.date<span style=\"color: navy\"><b> -&gt; </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n  src.amount<span style=\"color: navy\"><b> -&gt; </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponseProcessNote<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\"> {\r\n</span>  src.number<span style=\"color: navy\"><b> -&gt; </b></span>tgt.number<span style=\"color: navy\">;</span>\r\n  src.type<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    s.coding<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      s.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n  src.text<span style=\"color: navy\"><b> -&gt; </b></span>tgt.text<span style=\"color: navy\">;</span>\r\n  src.language<span style=\"color: navy\"><b> -&gt; </b></span>tgt.language<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponseInsurance<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\"> {\r\n</span>  src.sequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.sequence<span style=\"color: navy\">;</span>\r\n  src.focal<span style=\"color: navy\"><b> -&gt; </b></span>tgt.focal<span style=\"color: navy\">;</span>\r\n  src.coverage<span style=\"color: navy\"><b> -&gt; </b></span>tgt.coverage<span style=\"color: navy\">;</span>\r\n  src.businessArrangement<span style=\"color: navy\"><b> -&gt; </b></span>tgt.businessArrangement<span style=\"color: navy\">;</span>\r\n  src.claimResponse<span style=\"color: navy\"><b> -&gt; </b></span>tgt.claimResponse<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ClaimResponseError<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\"> {\r\n</span>  src.itemSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.itemSequence<span style=\"color: navy\">;</span>\r\n  src.detailSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.detailSequence<span style=\"color: navy\">;</span>\r\n  src.subDetailSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subDetailSequence<span style=\"color: navy\">;</span>\r\n  src.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "contained" : [
    {
      "resourceType" : "ConceptMap",
      "id" : "ClaimResponseStatus",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/fm-status",
          "target" : "http://hl7.org/fhir/4.3/fm-status",
          "element" : [
            {
              "code" : "active",
              "target" : [
                {
                  "code" : "active",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "cancelled",
              "target" : [
                {
                  "code" : "cancelled",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "draft",
              "target" : [
                {
                  "code" : "draft",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "entered-in-error",
              "target" : [
                {
                  "code" : "entered-in-error",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "RemittanceOutcome",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/claim-outcome",
          "target" : "http://hl7.org/fhir/4.3/remittance-outcome",
          "element" : [
            {
              "code" : "queued",
              "target" : [
                {
                  "code" : "queued",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "complete",
              "target" : [
                {
                  "code" : "complete",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "error",
              "target" : [
                {
                  "code" : "error",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "partial",
              "target" : [
                {
                  "code" : "partial",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "Use",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/claim-use",
          "target" : "http://hl7.org/fhir/4.3/claim-use",
          "element" : [
            {
              "code" : "claim",
              "target" : [
                {
                  "code" : "claim",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "preauthorization",
              "target" : [
                {
                  "code" : "preauthorization",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "predetermination",
              "target" : [
                {
                  "code" : "predetermination",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "trial-use",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/ClaimResponse5to4B",
  "version" : "5.1.0",
  "name" : "ClaimResponse5to4B",
  "title" : "FML Conversion for ClaimResponse: R5 to R4B",
  "status" : "active",
  "date" : "2024-04-27T18:54:50+10:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "FMLConversionforClaimResponseR5toR4B",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/ClaimResponse",
      "mode" : "source",
      "alias" : "ClaimResponseR5"
    },
    {
      "url" : "http://hl7.org/fhir/4.3/StructureDefinition/ClaimResponse",
      "mode" : "target",
      "alias" : "ClaimResponseR4B"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*5to4B"
  ],
  "group" : [
    {
      "name" : "ClaimResponse",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "ClaimResponseR5",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "ClaimResponseR4B",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ClaimResponseStatus"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ],
          "documentation" : "src.traceNumber -> tgt.traceNumber;"
        },
        {
          "name" : "type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "subType",
          "source" : [
            {
              "context" : "src",
              "element" : "subType",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subType",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "use",
          "source" : [
            {
              "context" : "src",
              "element" : "use",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "use",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#Use"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "patient",
          "source" : [
            {
              "context" : "src",
              "element" : "patient",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "patient",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "created",
          "source" : [
            {
              "context" : "src",
              "element" : "created",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "created",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "insurer",
          "source" : [
            {
              "context" : "src",
              "element" : "insurer",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "insurer",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "requestor",
          "source" : [
            {
              "context" : "src",
              "element" : "requestor",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "requestor",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "request",
          "source" : [
            {
              "context" : "src",
              "element" : "request",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "request",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "outcome",
          "source" : [
            {
              "context" : "src",
              "element" : "outcome",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "outcome",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#RemittanceOutcome"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "disposition",
          "source" : [
            {
              "context" : "src",
              "element" : "disposition",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "disposition",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.decision -> tgt.decision;"
        },
        {
          "name" : "preAuthRef",
          "source" : [
            {
              "context" : "src",
              "element" : "preAuthRef",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "preAuthRef",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "preAuthPeriod",
          "source" : [
            {
              "context" : "src",
              "element" : "preAuthPeriod",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "preAuthPeriod",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "payeeType",
          "source" : [
            {
              "context" : "src",
              "element" : "payeeType",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "payeeType",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.event as s -> tgt.event as t then ClaimResponseEvent(s,t);"
        },
        {
          "name" : "item",
          "source" : [
            {
              "context" : "src",
              "element" : "item",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "item",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseItem",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ],
          "documentation" : "src.encounter -> tgt.encounter;"
        },
        {
          "name" : "addItem",
          "source" : [
            {
              "context" : "src",
              "element" : "addItem",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "addItem",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseAddItem",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        },
        {
          "name" : "total",
          "source" : [
            {
              "context" : "src",
              "element" : "total",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "total",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseTotal",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        },
        {
          "name" : "payment",
          "source" : [
            {
              "context" : "src",
              "element" : "payment",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "payment",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponsePayment",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        },
        {
          "name" : "fundsReserve",
          "source" : [
            {
              "context" : "src",
              "element" : "fundsReserve",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "fundsReserve",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "formCode",
          "source" : [
            {
              "context" : "src",
              "element" : "formCode",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "formCode",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "form",
          "source" : [
            {
              "context" : "src",
              "element" : "form",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "form",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "processNote",
          "source" : [
            {
              "context" : "src",
              "element" : "processNote",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "processNote",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseProcessNote",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        },
        {
          "name" : "communicationRequest",
          "source" : [
            {
              "context" : "src",
              "element" : "communicationRequest",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "communicationRequest",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "insurance",
          "source" : [
            {
              "context" : "src",
              "element" : "insurance",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "insurance",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseInsurance",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        },
        {
          "name" : "error",
          "source" : [
            {
              "context" : "src",
              "element" : "error",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "error",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseError",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseItem",
      "extends" : "BackboneElement",
      "documentation" : "group ClaimResponseEvent(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.when : dateTime -> tgt.when;\r\nsrc.when : Period -> tgt.when;\r\n}",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "itemSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "itemSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "itemSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "noteNumber",
          "source" : [
            {
              "context" : "src",
              "element" : "noteNumber",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "noteNumber",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.traceNumber -> tgt.traceNumber;"
        },
        {
          "name" : "adjudication",
          "source" : [
            {
              "context" : "src",
              "element" : "adjudication",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "adjudication",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseItemAdjudication",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ],
          "documentation" : "src.reviewOutcome as s -> tgt.reviewOutcome as t then ClaimResponseItemReviewOutcome(s,t);"
        },
        {
          "name" : "detail",
          "source" : [
            {
              "context" : "src",
              "element" : "detail",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "detail",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseItemDetail",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseItemAdjudication",
      "extends" : "BackboneElement",
      "documentation" : "group ClaimResponseItemReviewOutcome(source src, target tgt) extends BackboneElement {\r\nsrc.decision -> tgt.decision;\r\nsrc.reason -> tgt.reason;\r\nsrc.preAuthRef -> tgt.preAuthRef;\r\nsrc.preAuthPeriod -> tgt.preAuthPeriod;\r\n}",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "category",
          "source" : [
            {
              "context" : "src",
              "element" : "category",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "category",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "reason",
          "source" : [
            {
              "context" : "src",
              "element" : "reason",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reason",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "amount",
          "source" : [
            {
              "context" : "src",
              "element" : "amount",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "amount",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "quantity",
          "source" : [
            {
              "context" : "src",
              "element" : "quantity",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "tgt"
                }
              ]
            }
          ],
          "rule" : [
            {
              "name" : "value",
              "source" : [
                {
                  "context" : "s",
                  "element" : "value",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "element" : "value",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseItemDetail",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "detailSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "detailSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "detailSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "noteNumber",
          "source" : [
            {
              "context" : "src",
              "element" : "noteNumber",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "noteNumber",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.traceNumber -> tgt.traceNumber;"
        },
        {
          "name" : "subDetail",
          "source" : [
            {
              "context" : "src",
              "element" : "subDetail",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subDetail",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseItemDetailSubDetail",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseItemDetailSubDetail",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "subDetailSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "subDetailSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subDetailSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "noteNumber",
          "source" : [
            {
              "context" : "src",
              "element" : "noteNumber",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "noteNumber",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.traceNumber -> tgt.traceNumber;"
        }
      ]
    },
    {
      "name" : "ClaimResponseAddItem",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "itemSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "itemSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "itemSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detailSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "detailSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "detailSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "subdetailSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "subdetailSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subdetailSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "provider",
          "source" : [
            {
              "context" : "src",
              "element" : "provider",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "provider",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.traceNumber -> tgt.traceNumber;"
        },
        {
          "name" : "productOrService",
          "source" : [
            {
              "context" : "src",
              "element" : "productOrService",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "productOrService",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.revenue -> tgt.revenue;"
        },
        {
          "name" : "modifier",
          "source" : [
            {
              "context" : "src",
              "element" : "modifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "modifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.productOrServiceEnd -> tgt.productOrServiceEnd;"
        },
        {
          "name" : "programCode",
          "source" : [
            {
              "context" : "src",
              "element" : "programCode",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "programCode",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "servicedDate",
          "source" : [
            {
              "context" : "src",
              "type" : "date",
              "element" : "serviced",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "serviced",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "servicedPeriod",
          "source" : [
            {
              "context" : "src",
              "type" : "Period",
              "element" : "serviced",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "serviced",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "locationCodeableConcept",
          "source" : [
            {
              "context" : "src",
              "type" : "CodeableConcept",
              "element" : "location",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "location",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "locationAddress",
          "source" : [
            {
              "context" : "src",
              "type" : "Address",
              "element" : "location",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "location",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "locationReference",
          "source" : [
            {
              "context" : "src",
              "type" : "Reference",
              "element" : "location",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "location",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "quantity",
          "source" : [
            {
              "context" : "src",
              "element" : "quantity",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "quantity",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "unitPrice",
          "source" : [
            {
              "context" : "src",
              "element" : "unitPrice",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "unitPrice",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "factor",
          "source" : [
            {
              "context" : "src",
              "element" : "factor",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "factor",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "net",
          "source" : [
            {
              "context" : "src",
              "element" : "net",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "net",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.tax -> tgt.tax;"
        },
        {
          "name" : "bodySite",
          "source" : [
            {
              "context" : "src",
              "element" : "bodySite",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "bodySite",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s.site"
                }
              ]
            }
          ]
        },
        {
          "name" : "noteNumber",
          "source" : [
            {
              "context" : "src",
              "element" : "noteNumber",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "noteNumber",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail",
          "source" : [
            {
              "context" : "src",
              "element" : "detail",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "detail",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseAddItemDetail",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseAddItemDetail",
      "extends" : "BackboneElement",
      "documentation" : "group ClaimResponseAddItemBodySite(source src, target tgt) extends BackboneElement {\r\nsrc.site -> tgt.site;\r\nsrc.subSite -> tgt.subSite;\r\n}",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "productOrService",
          "source" : [
            {
              "context" : "src",
              "element" : "productOrService",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "productOrService",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.traceNumber -> tgt.traceNumber;"
        },
        {
          "name" : "modifier",
          "source" : [
            {
              "context" : "src",
              "element" : "modifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "modifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.productOrServiceEnd -> tgt.productOrServiceEnd;"
        },
        {
          "name" : "quantity",
          "source" : [
            {
              "context" : "src",
              "element" : "quantity",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "quantity",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "unitPrice",
          "source" : [
            {
              "context" : "src",
              "element" : "unitPrice",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "unitPrice",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "factor",
          "source" : [
            {
              "context" : "src",
              "element" : "factor",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "factor",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "net",
          "source" : [
            {
              "context" : "src",
              "element" : "net",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "net",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.tax -> tgt.tax;"
        },
        {
          "name" : "noteNumber",
          "source" : [
            {
              "context" : "src",
              "element" : "noteNumber",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "noteNumber",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "subDetail",
          "source" : [
            {
              "context" : "src",
              "element" : "subDetail",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subDetail",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ClaimResponseAddItemDetailSubDetail",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseAddItemDetailSubDetail",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "productOrService",
          "source" : [
            {
              "context" : "src",
              "element" : "productOrService",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "productOrService",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.traceNumber -> tgt.traceNumber;"
        },
        {
          "name" : "modifier",
          "source" : [
            {
              "context" : "src",
              "element" : "modifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "modifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.productOrServiceEnd -> tgt.productOrServiceEnd;"
        },
        {
          "name" : "quantity",
          "source" : [
            {
              "context" : "src",
              "element" : "quantity",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "quantity",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "unitPrice",
          "source" : [
            {
              "context" : "src",
              "element" : "unitPrice",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "unitPrice",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "factor",
          "source" : [
            {
              "context" : "src",
              "element" : "factor",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "factor",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "net",
          "source" : [
            {
              "context" : "src",
              "element" : "net",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "net",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.tax -> tgt.tax;"
        },
        {
          "name" : "noteNumber",
          "source" : [
            {
              "context" : "src",
              "element" : "noteNumber",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "noteNumber",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseTotal",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "category",
          "source" : [
            {
              "context" : "src",
              "element" : "category",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "category",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "amount",
          "source" : [
            {
              "context" : "src",
              "element" : "amount",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "amount",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponsePayment",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "adjustment",
          "source" : [
            {
              "context" : "src",
              "element" : "adjustment",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "adjustment",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "adjustmentReason",
          "source" : [
            {
              "context" : "src",
              "element" : "adjustmentReason",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "adjustmentReason",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "date",
          "source" : [
            {
              "context" : "src",
              "element" : "date",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "date",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "amount",
          "source" : [
            {
              "context" : "src",
              "element" : "amount",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "amount",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseProcessNote",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "number",
          "source" : [
            {
              "context" : "src",
              "element" : "number",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "number",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "tgt"
                }
              ]
            }
          ],
          "rule" : [
            {
              "name" : "coding",
              "source" : [
                {
                  "context" : "s",
                  "element" : "coding",
                  "variable" : "s"
                }
              ],
              "target" : [
                {
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueId" : "tgt"
                    }
                  ]
                }
              ],
              "rule" : [
                {
                  "name" : "code",
                  "source" : [
                    {
                      "context" : "s",
                      "element" : "code",
                      "variable" : "vvv"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "tgt",
                      "element" : "type",
                      "variable" : "vvv",
                      "transform" : "create"
                    }
                  ],
                  "dependent" : [
                    {
                      "name" : "DefaultMappingGroupAnonymousAlias",
                      "parameter" : [
                        {
                          "valueId" : "vvv"
                        },
                        {
                          "valueId" : "vvv"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "text",
          "source" : [
            {
              "context" : "src",
              "element" : "text",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "text",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "language",
          "source" : [
            {
              "context" : "src",
              "element" : "language",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "language",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseInsurance",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "sequence",
          "source" : [
            {
              "context" : "src",
              "element" : "sequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "sequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "focal",
          "source" : [
            {
              "context" : "src",
              "element" : "focal",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "focal",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "coverage",
          "source" : [
            {
              "context" : "src",
              "element" : "coverage",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "coverage",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "businessArrangement",
          "source" : [
            {
              "context" : "src",
              "element" : "businessArrangement",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "businessArrangement",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "claimResponse",
          "source" : [
            {
              "context" : "src",
              "element" : "claimResponse",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "claimResponse",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ClaimResponseError",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "itemSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "itemSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "itemSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detailSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "detailSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "detailSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "subDetailSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "subDetailSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subDetailSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "code",
          "source" : [
            {
              "context" : "src",
              "element" : "code",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "code",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}