Extensions for Using Data Elements from FHIR R4B in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R4B in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R4B_PaymentReconciliation_R5 - XML Profile

Page standards status: Trial-use Maturity Level: 0

XML representation of the profile-PaymentReconciliation resource profile.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="profile-PaymentReconciliation"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition profile-PaymentReconciliation</b></p><a name="profile-PaymentReconciliation"> </a><a name="hcprofile-PaymentReconciliation"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-profile-PaymentReconciliation-definitions.html#PaymentReconciliation">PaymentReconciliation</a><a name="PaymentReconciliation"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/paymentreconciliation.html">PaymentReconciliation(5.0.0)</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">PaymentReconciliation resource</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-profile-PaymentReconciliation-definitions.html#PaymentReconciliation.allocation">allocation</a><a name="PaymentReconciliation.allocation"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck013.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/> <a href="StructureDefinition-profile-PaymentReconciliation-definitions.html#PaymentReconciliation.allocation.extension">Slices for extension</a><a name="PaymentReconciliation.allocation.extension"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R5/extensibility.html#Extension">Extension</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Extension</span><br/><span style="font-weight:bold">Slice: </span>Unordered, Open by value:url<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0124.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-profile-PaymentReconciliation-definitions.html#PaymentReconciliation.allocation.extension:request" title="Extension URL = http://hl7.org/fhir/4.3/StructureDefinition/extension-PaymentReconciliation.detail.request">extension:request</a><a name="PaymentReconciliation.allocation.extension.2"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="StructureDefinition-profile-Resource.html">Cross-version Profile for R4B.Resource for use in FHIR R5(0.1.0)</a> | <a href="http://hl7.org/fhir/R5/resource.html">Resource</a>)</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">R4B: Request giving rise to the payment (new)<br/><span style="font-weight:bold">URL: </span><a href="StructureDefinition-ext-R4B-PR.det.request.html">http://hl7.org/fhir/4.3/StructureDefinition/extension-PaymentReconciliation.detail.request</a><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck001.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-profile-PaymentReconciliation-definitions.html#PaymentReconciliation.allocation.response">response</a><a name="PaymentReconciliation.allocation.response"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0003.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_extension_simple.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Simple Extension" class="hierarchy"/> <a href="StructureDefinition-profile-PaymentReconciliation-definitions.html#PaymentReconciliation.allocation.response.extension">Slices for extension</a><a name="PaymentReconciliation.allocation.response.extension"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R5/extensibility.html#Extension">Extension</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Extension</span><br/><span style="font-weight:bold">Slice: </span>Unordered, Open by value:url<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00024.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-profile-PaymentReconciliation-definitions.html#PaymentReconciliation.allocation.response.extension:response" title="Extension URL = http://hl7.org/fhir/StructureDefinition/alternate-reference">extension:response</a><a name="PaymentReconciliation.allocation.response.extension.2"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R5/references.html">Reference</a>(<a href="http://hl7.org/fhir/R5/resource.html">Resource</a>)</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">R4B: response additional types<br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-alternate-reference.html">http://hl7.org/fhir/StructureDefinition/alternate-reference</a><br/></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r4b.r5"/>
    </extension>
    <extension url="version">
      <valueString value="0.1.0"/>
    </extension>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r5"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r5"/>
      </extension>
    </valueCode>
  </extension>
  <url
       value="http://hl7.org/fhir/4.3/StructureDefinition/profile-PaymentReconciliation"/>
  <version value="0.1.0"/>
  <name value="Profile_R4B_PaymentReconciliation_R5"/>
  <title
         value="Cross-version Profile for R4B.PaymentReconciliation for use in FHIR R5"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-17T16:03:49.9095205-05:00"/>
  <publisher value="FHIR Infrastructure"/>
  <contact>
    <name value="FHIR Infrastructure"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description
               value="This cross-version profile allows R4B PaymentReconciliation content to be represented via FHIR R5 PaymentReconciliation resources."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="5.0.0"/>
  <mapping>
    <identity value="workflow"/>
    <uri value="http://hl7.org/fhir/workflow"/>
    <name value="Workflow Pattern"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/fivews"/>
    <name value="FiveWs Pattern Mapping"/>
  </mapping>
  <mapping>
    <identity value="cdanetv4"/>
    <uri value="http://www.cda-adc.ca/en/services/cdanet/"/>
    <name value="Canadian Dental Association eclaims standard"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="PaymentReconciliation"/>
  <baseDefinition
                  value="http://hl7.org/fhir/StructureDefinition/PaymentReconciliation|5.0.0"/>
  <derivation value="constraint"/>
  <snapshot>
    <extension
               url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
      <valueString value="5.0.0"/>
    </extension>
    <element id="PaymentReconciliation">
      <path value="PaymentReconciliation"/>
      <short value="PaymentReconciliation resource"/>
      <definition
                  value="This resource provides the details including amount of a payment and allocates the payment items being paid."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PaymentReconciliation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
        <expression
                    value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human
               value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression
                    value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"/>
      </constraint>
      <constraint>
        <key value="dom-5"/>
        <severity value="error"/>
        <human
               value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
        <expression value="contained.meta.security.empty()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"/>
      </constraint>
      <constraint>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown
                         value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."/>
        </extension>
        <key value="dom-6"/>
        <severity value="warning"/>
        <human
               value="A resource should have narrative for robust management"/>
        <expression value="text.`div`.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/DomainResource|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity, Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="workflow"/>
        <map value="Event"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="financial.payment"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.id">
      <path value="PaymentReconciliation.id"/>
      <short value="Logical id of this artifact"/>
      <definition
                  value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment
               value="Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
    </element>
    <element id="PaymentReconciliation.meta">
      <path value="PaymentReconciliation.meta"/>
      <short value="Metadata about the resource"/>
      <definition
                  value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
    </element>
    <element id="PaymentReconciliation.implicitRules">
      <path value="PaymentReconciliation.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition
                  value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
      <comment
               value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="true"/>
      <isModifierReason
                        value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation"/>
      <isSummary value="true"/>
    </element>
    <element id="PaymentReconciliation.language">
      <path value="PaymentReconciliation.language"/>
      <short value="Language of the resource content"/>
      <definition
                  value="The base language in which the resource is written."/>
      <comment
               value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <strength value="required"/>
        <description value="IETF language tag for a human language"/>
        <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
        <additional>
          <purpose value="starter"/>
          <valueSet value="http://hl7.org/fhir/ValueSet/languages|5.0.0"/>
        </additional>
      </binding>
    </element>
    <element id="PaymentReconciliation.text">
      <path value="PaymentReconciliation.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition
                  value="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comment
               value="Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-6"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.contained">
      <path value="PaymentReconciliation.contained"/>
      <short value="Contained, inline Resources"/>
      <definition
                  value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."/>
      <comment
               value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <condition value="dom-2"/>
      <condition value="dom-4"/>
      <condition value="dom-3"/>
      <condition value="dom-5"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.extension">
      <path value="PaymentReconciliation.extension"/>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.modifierExtension">
      <path value="PaymentReconciliation.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.identifier">
      <path value="PaymentReconciliation.identifier"/>
      <short value="Business Identifier for a payment reconciliation"/>
      <definition
                  value="A unique identifier assigned to this payment reconciliation."/>
      <requirements
                    value="Allows payment reconciliations to be distinguished and referenced."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PaymentReconciliation.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.identifier"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="FiveWs.identifier"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.type">
      <path value="PaymentReconciliation.type"/>
      <short value="Category of payment"/>
      <definition
                  value="Code to indicate the nature of the payment such as payment, adjustment."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentType"/>
        </extension>
        <strength value="extensible"/>
        <valueSet value="http://hl7.org/fhir/ValueSet/payment-type|5.0.0"/>
      </binding>
    </element>
    <element id="PaymentReconciliation.status">
      <path value="PaymentReconciliation.status"/>
      <short value="active | cancelled | draft | entered-in-error"/>
      <definition value="The status of the resource instance."/>
      <comment
               value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
      <requirements
                    value="Need to track the status of the resource as 'draft' resources may undergo further edits while 'active' resources are immutable and may only have their status changed to 'cancelled'."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="true"/>
      <isModifierReason
                        value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentReconciliationStatus"/>
        </extension>
        <strength value="required"/>
        <description
                     value="A code specifying the state of the resource instance."/>
        <valueSet value="http://hl7.org/fhir/ValueSet/fm-status|5.0.0"/>
      </binding>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.status"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="FiveWs.status"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.kind">
      <path value="PaymentReconciliation.kind"/>
      <short value="Workflow originating payment"/>
      <definition
                  value="The workflow or activity which gave rise to or during which the payment ocurred such as a kiosk, deposit on account, periodic payment etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.kind"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentKind"/>
        </extension>
        <strength value="extensible"/>
        <valueSet value="http://hl7.org/fhir/ValueSet/payment-kind|5.0.0"/>
      </binding>
    </element>
    <element id="PaymentReconciliation.period">
      <path value="PaymentReconciliation.period"/>
      <short value="Period covered"/>
      <definition
                  value="The period of time for which payments have been gathered into this bulk payment for settlement."/>
      <requirements
                    value="Needed to allow receivers to monitor and reconcile payment issuer schedules."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.period"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="w5"/>
        <map value="FiveWs.done[x]"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.created">
      <path value="PaymentReconciliation.created"/>
      <short value="Creation date"/>
      <definition value="The date when the resource was created."/>
      <requirements
                    value="Need to record a timestamp for use by both the recipient and the issuer."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.created"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.occurrence[x]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="FiveWs.recorded"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.enterer">
      <path value="PaymentReconciliation.enterer"/>
      <short value="Who entered the payment"/>
      <definition value="Payment enterer if not the actual payment issuer."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.enterer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.issuerType">
      <path value="PaymentReconciliation.issuerType"/>
      <short value="Nature of the source"/>
      <definition
                  value="The type of the source such as patient or insurance."/>
      <requirements
                    value="Providers may need to identify the source to know to which sub-ledger to apply the payment."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.issuerType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentIssuerType"/>
        </extension>
        <strength value="extensible"/>
        <valueSet
                  value="http://hl7.org/fhir/ValueSet/payment-issuertype|5.0.0"/>
      </binding>
    </element>
    <element id="PaymentReconciliation.paymentIssuer">
      <path value="PaymentReconciliation.paymentIssuer"/>
      <short value="Party generating payment"/>
      <definition value="The party who generated the payment."/>
      <comment
               value="This party is also responsible for the reconciliation."/>
      <requirements
                    value="Need to identify the party resonsible for the payment and this resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.paymentIssuer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Patient|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/RelatedPerson|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.performer.actor"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="FiveWs.source"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.request">
      <path value="PaymentReconciliation.request"/>
      <short value="Reference to requesting resource"/>
      <definition value="Original request resource reference."/>
      <requirements
                    value="Needed to allow the response to be linked to the request."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.request"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Task|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="FiveWs.why[x]"/>
      </mapping>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="A02|G01"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.requestor">
      <path value="PaymentReconciliation.requestor"/>
      <short value="Responsible practitioner"/>
      <definition
                  value="The practitioner who is responsible for the services rendered to the patient."/>
      <requirements
                    value="Need to identify the party responsible for the request."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.requestor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B01"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.outcome">
      <path value="PaymentReconciliation.outcome"/>
      <short value="queued | complete | error | partial"/>
      <definition value="The outcome of a request for a reconciliation."/>
      <comment
               value="The resource may be used to indicate that: the request has been held (queued) for processing; that it has been processed and errors found (error); that no errors were found and that some of the adjudication has been undertaken (partial) or that all of the adjudication has been undertaken (complete)."/>
      <requirements
                    value="To advise the requestor of an overall processing outcome."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.outcome"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentOutcome"/>
        </extension>
        <strength value="required"/>
        <description value="The outcome of the processing."/>
        <valueSet value="http://hl7.org/fhir/ValueSet/payment-outcome|5.0.0"/>
      </binding>
    </element>
    <element id="PaymentReconciliation.disposition">
      <path value="PaymentReconciliation.disposition"/>
      <short value="Disposition message"/>
      <definition
                  value="A human readable description of the status of the request for the reconciliation."/>
      <requirements value="Provided for user display."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.disposition"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="workflow"/>
        <map value="Event.note"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.date">
      <path value="PaymentReconciliation.date"/>
      <short value="When payment issued"/>
      <definition
                  value="The date of payment as indicated on the financial instrument."/>
      <requirements
                    value="To advise the payee when payment can be expected."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.date"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
    </element>
    <element id="PaymentReconciliation.location">
      <path value="PaymentReconciliation.location"/>
      <short value="Where payment collected"/>
      <definition
                  value="The location of the site or device for electronic transfers or physical location for cash payments."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.location"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Location|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.method">
      <path value="PaymentReconciliation.method"/>
      <short value="Payment instrument"/>
      <definition
                  value="The means of payment such as check, card cash, or electronic funds transfer."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.method"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentMethod"/>
        </extension>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0570|3.0.0"/>
      </binding>
    </element>
    <element id="PaymentReconciliation.cardBrand">
      <path value="PaymentReconciliation.cardBrand"/>
      <short value="Type of card"/>
      <definition
                  value="The card brand such as debit, Visa, Amex etc. used if a card is the method of payment."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.cardBrand"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.accountNumber">
      <path value="PaymentReconciliation.accountNumber"/>
      <short value="Digits for verification"/>
      <definition
                  value="A portion of the account number, often the last 4 digits, used for verification not charging purposes."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.accountNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.expirationDate">
      <path value="PaymentReconciliation.expirationDate"/>
      <short value="Expiration year-month"/>
      <definition
                  value="The year and month (YYYY-MM) when the instrument, typically card, expires."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.expirationDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.processor">
      <path value="PaymentReconciliation.processor"/>
      <short value="Processor name"/>
      <definition
                  value="The name of the card processor, etf processor, bank for checks."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.processor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.referenceNumber">
      <path value="PaymentReconciliation.referenceNumber"/>
      <short value="Check number or payment reference"/>
      <definition
                  value="The check number, eft reference, car processor reference."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.referenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.authorization">
      <path value="PaymentReconciliation.authorization"/>
      <short value="Authorization number"/>
      <definition
                  value="An alphanumeric issued by the processor to confirm the successful issuance of payment."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.authorization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.tenderedAmount">
      <path value="PaymentReconciliation.tenderedAmount"/>
      <short value="Amount offered by the issuer"/>
      <definition
                  value="The amount offered by the issuer, typically applies to cash when the issuer provides an amount in bank note denominations equal to or excess of the amount actually being paid."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.tenderedAmount"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.returnedAmount">
      <path value="PaymentReconciliation.returnedAmount"/>
      <short value="Amount returned by the receiver"/>
      <definition
                  value="The amount returned by the receiver which is excess to the amount payable, often referred to as 'change'."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.returnedAmount"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.amount">
      <path value="PaymentReconciliation.amount"/>
      <short value="Total amount of Payment"/>
      <definition
                  value="Total payment amount as indicated on the financial instrument."/>
      <requirements value="Needed to provide the actual payment amount."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.amount"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="true"/>
    </element>
    <element id="PaymentReconciliation.paymentIdentifier">
      <path value="PaymentReconciliation.paymentIdentifier"/>
      <short value="Business identifier for the payment"/>
      <definition
                  value="Issuer's unique identifier for the payment instrument."/>
      <comment value="For example: EFT number or check number."/>
      <requirements
                    value="Enable the receiver to reconcile when payment is received."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.paymentIdentifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation">
      <path value="PaymentReconciliation.allocation"/>
      <short value="Settlement particulars"/>
      <definition
                  value="Distribution of the payment amount for a previously acknowledged payable."/>
      <requirements
                    value="Needed to show how the payment amount is distributed across the payables."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PaymentReconciliation.allocation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.id">
      <path value="PaymentReconciliation.allocation.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <condition value="ele-1"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.allocation.extension">
      <path value="PaymentReconciliation.allocation.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <ordered value="false"/>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.extension:request">
      <path value="PaymentReconciliation.allocation.extension"/>
      <sliceName value="request"/>
      <short value="R4B: Request giving rise to the payment (new)"/>
      <definition
                  value="R4B: `PaymentReconciliation.detail.request` (new:Reference(Resource))"/>
      <comment
               value="Element `PaymentReconciliation.detail.request` has a context of PaymentReconciliation.allocation based on following the parent source element upwards and mapping to `PaymentReconciliation`.
Element `PaymentReconciliation.detail.request` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/4.3/StructureDefinition/extension-PaymentReconciliation.detail.request|0.1.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.modifierExtension">
      <path value="PaymentReconciliation.allocation.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.allocation.identifier">
      <path value="PaymentReconciliation.allocation.identifier"/>
      <short value="Business identifier of the payment detail"/>
      <definition
                  value="Unique identifier for the current payment item for the referenced payable."/>
      <requirements value="Needed for reconciliation of payments."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.identifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.predecessor">
      <path value="PaymentReconciliation.allocation.predecessor"/>
      <short value="Business identifier of the prior payment detail"/>
      <definition
                  value="Unique identifier for the prior payment item for the referenced payable."/>
      <requirements value="Needed for reconciliation of payments."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.predecessor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.target">
      <path value="PaymentReconciliation.allocation.target"/>
      <short value="Subject of the payment"/>
      <definition
                  value="Specific resource to which the payment/adjustment/advance applies."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.target"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Claim|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Account|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Invoice|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/ChargeItem|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Encounter|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Contract|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.targetItem[x]">
      <path value="PaymentReconciliation.allocation.targetItem[x]"/>
      <short value="Sub-element of the subject"/>
      <definition
                  value=" Identifies the claim line item, encounter or other sub-element being paid. Note payment may be partial, that is not match the then outstanding balance or amount incurred."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.targetItem[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="positiveInt"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.encounter">
      <path value="PaymentReconciliation.allocation.encounter"/>
      <short value="Applied-to encounter"/>
      <definition
                  value="The Encounter to which this payment applies, may be completed by the receiver, used for search."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Encounter|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.account">
      <path value="PaymentReconciliation.allocation.account"/>
      <short value="Applied-to account"/>
      <definition
                  value="The Account to which this payment applies, may be completed by the receiver, used for search."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.account"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Account|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.type">
      <path value="PaymentReconciliation.allocation.type"/>
      <short value="Category of payment"/>
      <definition value="Code to indicate the nature of the payment."/>
      <comment value="For example: payment, adjustment, funds advance, etc."/>
      <requirements value="Needed to provide context for the amount."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentType"/>
        </extension>
        <strength value="extensible"/>
        <valueSet value="http://hl7.org/fhir/ValueSet/payment-type|5.0.0"/>
      </binding>
    </element>
    <element id="PaymentReconciliation.allocation.submitter">
      <path value="PaymentReconciliation.allocation.submitter"/>
      <short value="Submitter of the request"/>
      <definition
                  value="The party which submitted the claim or financial transaction."/>
      <requirements value="Needed for audit and validation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.submitter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.response">
      <path value="PaymentReconciliation.allocation.response"/>
      <short value="Response committing to a payment"/>
      <definition
                  value="A resource, such as a ClaimResponse, which contains a commitment to payment."/>
      <requirements
                    value="Needed to provide a linkage to the payment commitment."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.response"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/ClaimResponse|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.response.id">
      <path value="PaymentReconciliation.allocation.response.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <condition value="ele-1"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.allocation.response.extension">
      <path value="PaymentReconciliation.allocation.response.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <ordered value="false"/>
        <rules value="open"/>
      </slicing>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="PaymentReconciliation.allocation.response.extension:response">
      <path value="PaymentReconciliation.allocation.response.extension"/>
      <sliceName value="response"/>
      <short value="R4B: response additional types"/>
      <definition
                  value="R4B: `PaymentReconciliation.detail.response` additional types from child elements (display, identifier, reference, type)"/>
      <comment
               value="Element `PaymentReconciliation.detail.response` is mapped to FHIR R5 element `PaymentReconciliation.allocation.response` as `SourceIsBroaderThanTarget`.
The mappings for `PaymentReconciliation.detail.response` do not cover the following types based on type expansion: display, identifier, reference, type.
The standard extension `alternate-reference` has been mapped as the representation of FHIR R4B element `PaymentReconciliation.detail.response` with unmapped reference targets: Resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.response.reference">
      <path value="PaymentReconciliation.allocation.response.reference"/>
      <short value="Literal reference, Relative, internal or absolute URL"/>
      <definition
                  value="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
      <comment
               value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure &quot;[type]/[id]&quot; then it should be assumed that the reference is to a FHIR RESTful server."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.reference"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <condition value="ref-2"/>
      <condition value="ref-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.allocation.response.type">
      <path value="PaymentReconciliation.allocation.response.type"/>
      <short
             value="Type the reference refers to (e.g. &quot;Patient&quot;) - must be a resource in resources"/>
      <definition
                  value="The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. &quot;Patient&quot; is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)."/>
      <comment
               value="This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="FHIRResourceTypeExt"/>
        </extension>
        <strength value="extensible"/>
        <description
                     value="Aa resource (or, for logical models, the URI of the logical model)."/>
        <valueSet value="http://hl7.org/fhir/ValueSet/resource-types|5.0.0"/>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.allocation.response.identifier">
      <path value="PaymentReconciliation.allocation.response.identifier"/>
      <short value="Logical reference, when literal reference is not known"/>
      <definition
                  value="An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference."/>
      <comment
               value="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. 

When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

This element only allows for a single identifier. In the case where additional identifers are required, use the [http://hl7.org/fhir/StructureDefinition/additionalIdentifier](http://hl7.org/fhir/extensions/StructureDefinition-additionalIdentifier.html) extension."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.identifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <condition value="ref-2"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".identifier"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.allocation.response.display">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/>
      </extension>
      <path value="PaymentReconciliation.allocation.response.display"/>
      <short value="Text alternative for the resource"/>
      <definition
                  value="Plain text narrative that identifies the resource in addition to the resource reference."/>
      <comment
               value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.display"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <condition value="ref-2"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.allocation.date">
      <path value="PaymentReconciliation.allocation.date"/>
      <short value="Date of commitment to pay"/>
      <definition
                  value="The date from the response resource containing a commitment to pay."/>
      <requirements value="Needed for audit and validation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.date"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.responsible">
      <path value="PaymentReconciliation.allocation.responsible"/>
      <short value="Contact for the response"/>
      <definition
                  value="A reference to the individual who is responsible for inquiries regarding the response and its payment."/>
      <requirements value="To provide contact information."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.responsible"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.payee">
      <path value="PaymentReconciliation.allocation.payee"/>
      <short value="Recipient of the payment"/>
      <definition value="The party which is receiving the payment."/>
      <requirements value="Needed for audit and validation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.payee"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/PractitionerRole|5.0.0"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.allocation.amount">
      <path value="PaymentReconciliation.allocation.amount"/>
      <short value="Amount allocated to this payable"/>
      <definition
                  value="The monetary amount allocated from the total payment to the payable."/>
      <requirements
                    value="Needed to explain the distribution of the payment to the payables."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.allocation.amount"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.formCode">
      <path value="PaymentReconciliation.formCode"/>
      <short value="Printed form identifier"/>
      <definition
                  value="A code for the form to be used for printing the content."/>
      <comment
               value="May be needed to identify specific jurisdictional forms."/>
      <requirements
                    value="Needed to specify the specific form used for producing output for this response."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.formCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Forms"/>
        </extension>
        <strength value="example"/>
        <description value="The forms codes."/>
        <valueSet value="http://hl7.org/fhir/ValueSet/forms|5.0.0"/>
      </binding>
    </element>
    <element id="PaymentReconciliation.processNote">
      <path value="PaymentReconciliation.processNote"/>
      <short value="Note concerning processing"/>
      <definition
                  value="A note that describes or explains the processing in a human readable form."/>
      <requirements
                    value="Provides the specific textual explanations associated with the processing."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PaymentReconciliation.processNote"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="PaymentReconciliation.processNote.id">
      <path value="PaymentReconciliation.processNote.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <condition value="ele-1"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.processNote.extension">
      <path value="PaymentReconciliation.processNote.extension"/>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.processNote.modifierExtension">
      <path value="PaymentReconciliation.processNote.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="PaymentReconciliation.processNote.type">
      <path value="PaymentReconciliation.processNote.type"/>
      <short value="display | print | printoper"/>
      <definition value="The business purpose of the note text."/>
      <requirements
                    value="To convey the expectation for when the text is used."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.processNote.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NoteType"/>
        </extension>
        <strength value="required"/>
        <description value="The presentation types of notes."/>
        <valueSet value="http://hl7.org/fhir/ValueSet/note-type|5.0.0"/>
      </binding>
    </element>
    <element id="PaymentReconciliation.processNote.text">
      <path value="PaymentReconciliation.processNote.text"/>
      <short value="Note explanatory text"/>
      <definition
                  value="The explanation or description associated with the processing."/>
      <requirements value="Required to provide human readable explanation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PaymentReconciliation.processNote.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source
                value="http://hl7.org/fhir/StructureDefinition/Element|5.0.0"/>
      </constraint>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="G32"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="PaymentReconciliation">
      <path value="PaymentReconciliation"/>
    </element>
    <element id="PaymentReconciliation.allocation.extension">
      <path value="PaymentReconciliation.allocation.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <ordered value="false"/>
        <rules value="open"/>
      </slicing>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="PaymentReconciliation.allocation.extension:request">
      <path value="PaymentReconciliation.allocation.extension"/>
      <sliceName value="request"/>
      <short value="R4B: Request giving rise to the payment (new)"/>
      <definition
                  value="R4B: `PaymentReconciliation.detail.request` (new:Reference(Resource))"/>
      <comment
               value="Element `PaymentReconciliation.detail.request` has a context of PaymentReconciliation.allocation based on following the parent source element upwards and mapping to `PaymentReconciliation`.
Element `PaymentReconciliation.detail.request` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/4.3/StructureDefinition/extension-PaymentReconciliation.detail.request|0.1.0"/>
      </type>
    </element>
    <element id="PaymentReconciliation.allocation.response.extension">
      <path value="PaymentReconciliation.allocation.response.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <ordered value="false"/>
        <rules value="open"/>
      </slicing>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element
             id="PaymentReconciliation.allocation.response.extension:response">
      <path value="PaymentReconciliation.allocation.response.extension"/>
      <sliceName value="response"/>
      <short value="R4B: response additional types"/>
      <definition
                  value="R4B: `PaymentReconciliation.detail.response` additional types from child elements (display, identifier, reference, type)"/>
      <comment
               value="Element `PaymentReconciliation.detail.response` is mapped to FHIR R5 element `PaymentReconciliation.allocation.response` as `SourceIsBroaderThanTarget`.
The mappings for `PaymentReconciliation.detail.response` do not cover the following types based on type expansion: display, identifier, reference, type.
The standard extension `alternate-reference` has been mapped as the representation of FHIR R4B element `PaymentReconciliation.detail.response` with unmapped reference targets: Resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/alternate-reference|5.2.0"/>
      </type>
    </element>
  </differential>
</StructureDefinition>