| Australian Digital Health Agency Medicare Records FHIR Implementation Guide 2.1.0

Australian Digital Health Agency Medicare Records FHIR Implementation Guide. The current version which supersedes this version is 2.2.0. It is based on FHIR® version 3.0.2. See the Directory of published versions for a list of available versions.

# StructureDefinition-explanationofbenefit-medicare.json

Formats: Narrative, XML, JSON, Turtle

Raw json

    {
      "resourceType" : "StructureDefinition",
      "id" : "explanationofbenefit-medicare",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://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=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" 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 : 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-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit\">ExplanationOfBenefit</a><a name=\"ExplanationOfBenefit\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/STU3conformance-rules.html#constraints\" title=\"This element has or is affected by constraints (inv-dh-eob-01, inv-dh-eob-02, inv-dh-eob-03, inv-dh-eob-04, inv-dh-eob-05)\">C</a></td><td style=\"vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/explanationofbenefit.html\">ExplanationOfBenefit</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Explanation of Benefit resource</span><br/><span style=\"font-weight:bold\">inv-dh-eob-01: </span>A PBS or RPBS claim SHALL include a prescription.<br/><span style=\"font-weight:bold\">inv-dh-eob-02: </span>A MBS or DVABS claim SHALL NOT include a prescription.<br/><span style=\"font-weight:bold\">inv-dh-eob-03: </span>One of subType or item.category SHALL be present.<br/><span style=\"font-weight:bold\">inv-dh-eob-04: </span>A PBS claim SHALL be of type 'Pharmacy' (type='pharmacy').<br/><span style=\"font-weight:bold\">inv-dh-eob-05: </span>One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare'.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.meta\">meta</a><a name=\"ExplanationOfBenefit.meta\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Meta\">Meta</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Metadata about the resource</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.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.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-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.meta.profile\" title=\"A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).\">profile</a><a name=\"ExplanationOfBenefit.meta.profile\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Profiles this resource claims to conform to</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.identifier\">identifier</a><a name=\"ExplanationOfBenefit.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Business Identifier</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.status\">status</a><a name=\"ExplanationOfBenefit.status\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">active | cancelled | draft | entered-in-error</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">active</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.type\">type</a><a name=\"ExplanationOfBenefit.type\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Type or discipline</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.subType\">subType</a><a name=\"ExplanationOfBenefit.subType\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Finer grained claim type information</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1\">https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1</a> (<a href=\"http://hl7.org/fhir/STU3/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.patient\">patient</a><a name=\"ExplanationOfBenefit.patient\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-patient.html\">AU Base Patient</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The subject of the Products and Services</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.created\">created</a><a name=\"ExplanationOfBenefit.created\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Creation date</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.insurer\">insurer</a><a name=\"ExplanationOfBenefit.insurer\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-organisation.html\">AU Base Organisation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Insurer responsible for the EOB</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.provider\">provider</a><a name=\"ExplanationOfBenefit.provider\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-practitioner.html\">AU Base Practitioner</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Responsible provider for the claim</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.organization\">organization</a><a name=\"ExplanationOfBenefit.organization\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-organisation.html\">AU Base Organisation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Responsible organization for the claim</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.referral\">referral</a><a name=\"ExplanationOfBenefit.referral\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-referralrequest-mbsdva.html\">ADHA MBS DVA ReferralRequest</a>)<a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\" title=\"The reference is a local reference to a contained resource.\">c</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\">}</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Treatment Referral</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.prescription\">prescription</a><a name=\"ExplanationOfBenefit.prescription\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-medicationrequest-pbs.html\">ADHA PBS MedicationRequest</a>)<a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\" title=\"The reference is a local reference to a contained resource.\">c</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\">}</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Prescription authorizing services or products</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; 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: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.item\">item</a><a name=\"ExplanationOfBenefit.item\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Goods and Services</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.item.sequence\">sequence</a><a name=\"ExplanationOfBenefit.item.sequence\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#positiveInt\">positiveInt</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Service instance</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">1</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.item.category\">category</a><a name=\"ExplanationOfBenefit.item.category\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Type of service or product</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1\">https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1</a> (<a href=\"http://hl7.org/fhir/STU3/terminologies.html#extensible\" title=\"To be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated.  If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.\">extensible</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.item.service\">service</a><a name=\"ExplanationOfBenefit.item.service\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Billing Code</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"https://healthterminologies.gov.au/fhir/ValueSet/australian-dhs-modifications-pbs-mbs-dva-item-1\">https://healthterminologies.gov.au/fhir/ValueSet/australian-dhs-modifications-pbs-mbs-dva-item-1</a> (<a href=\"http://hl7.org/fhir/STU3/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.item.serviced[x]\">serviced[x]</a><a name=\"ExplanationOfBenefit.item.serviced_x_\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#date\">date</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Date or dates of Service</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.item.quantity\">quantity</a><a name=\"ExplanationOfBenefit.item.quantity\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; 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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#SimpleQuantity\" title=\"Quantity\">SimpleQuantity</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Count of Products or Services</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "url" : "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare",
      "version" : "1.0.4",
      "name" : "ADHAExplanationofBenefitMedicare",
      "title" : "ADHA Medicare ExplanationOfBenefit",
      "status" : "active",
      "experimental" : false,
      "date" : "2023-04-14T04:15:22+00:00",
      "publisher" : "Australian Digital Health Agency",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "email",
              "value" : "help@digitalhealth.gov.au"
            }
          ]
        }
      ],
      "description" : "The purpose of this profile is to define a representation of a record of a claim against the Medicare Benefits Schedule (MBS), Department of Veterans’ Affairs (DVA), Pharmaceutical Benefits Schedule (PBS) or Repatriation Pharmaceutical Benefits Scheme (RPBS) for the electronic exchange of digital health information between Medicare repositories and the My Health Record system infrastructure in Australia.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "AU",
              "display" : "Australia"
            }
          ]
        }
      ],
      "copyright" : "Copyright © 2022 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.",
      "fhirVersion" : "3.0.2",
      "mapping" : [
        {
          "identity" : "w5",
          "uri" : "http://hl7.org/fhir/w5",
          "name" : "W5 Mapping"
        },
        {
          "identity" : "cdanetv4",
          "uri" : "http://www.cda-adc.ca/en/services/cdanet/",
          "name" : "Canadian Dental Association eclaims standard"
        },
        {
          "identity" : "v2",
          "uri" : "http://hl7.org/v2",
          "name" : "HL7 v2 Mapping"
        },
        {
          "identity" : "rim",
          "uri" : "http://hl7.org/v3",
          "name" : "RIM Mapping"
        }
      ],
      "kind" : "resource",
      "abstract" : false,
      "type" : "ExplanationOfBenefit",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [
          {
            "id" : "ExplanationOfBenefit",
            "path" : "ExplanationOfBenefit",
            "short" : "Explanation of Benefit resource",
            "definition" : "This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.",
            "alias" : [
              "EOB"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit",
              "min" : 0,
              "max" : "*"
            },
            "constraint" : [
              {
                "key" : "dom-2",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                "expression" : "contained.contained.empty()",
                "xpath" : "not(parent::f:contained and f:contained)",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-1",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative",
                "expression" : "contained.text.empty()",
                "xpath" : "not(parent::f:contained and f:text)",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-4",
                "severity" : "error",
                "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-3",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
                "expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
                "xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "inv-dh-eob-01",
                "severity" : "error",
                "human" : "A PBS or RPBS claim SHALL include a prescription.",
                "expression" : "prescription.exists() implies (subType.coding.code='pbs' or subType.coding.code='rpbs' or item.category.coding.code='pbs' or item.category.coding.code='rpbs')"
              },
              {
                "key" : "inv-dh-eob-02",
                "severity" : "error",
                "human" : "A MBS or DVABS claim SHALL NOT include a prescription.",
                "expression" : "prescription.empty() implies (subType.coding.code='mbs' or subType.coding.code='dva' or item.category.coding.code='mbs' or item.category.coding.code='dva')"
              },
              {
                "key" : "inv-dh-eob-03",
                "severity" : "error",
                "human" : "One of subType or item.category SHALL be present.",
                "expression" : "subType.exists() or item.category.exists()"
              },
              {
                "key" : "inv-dh-eob-04",
                "severity" : "error",
                "human" : "A PBS claim SHALL be of type 'Pharmacy' (type='pharmacy').",
                "expression" : "prescription.exists() implies type.coding.code='pharmacy'"
              },
              {
                "key" : "inv-dh-eob-05",
                "severity" : "error",
                "human" : "One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare'.",
                "expression" : "meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare').exists()"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "Entity. Role, or Act"
              },
              {
                "identity" : "w5",
                "map" : "financial.other"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.id",
            "path" : "ExplanationOfBenefit.id",
            "short" : "Logical id of this artifact",
            "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
            "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "id"
              }
            ],
            "isSummary" : true
          },
          {
            "id" : "ExplanationOfBenefit.meta",
            "path" : "ExplanationOfBenefit.meta",
            "short" : "Metadata about the resource",
            "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Resource.meta",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Meta"
              }
            ],
            "isSummary" : true
          },
          {
            "id" : "ExplanationOfBenefit.meta.id",
            "path" : "ExplanationOfBenefit.meta.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.meta.extension",
            "path" : "ExplanationOfBenefit.meta.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.meta.versionId",
            "path" : "ExplanationOfBenefit.meta.versionId",
            "short" : "Version specific identifier",
            "definition" : "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.",
            "comment" : "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Meta.versionId",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "id"
              }
            ],
            "isSummary" : true
          },
          {
            "id" : "ExplanationOfBenefit.meta.lastUpdated",
            "path" : "ExplanationOfBenefit.meta.lastUpdated",
            "short" : "When the resource version last changed",
            "definition" : "When the resource last changed - e.g. when the version changed.",
            "comment" : "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Meta.lastUpdated",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "instant"
              }
            ],
            "isSummary" : true
          },
          {
            "id" : "ExplanationOfBenefit.meta.profile",
            "path" : "ExplanationOfBenefit.meta.profile",
            "short" : "Profiles this resource claims to conform to",
            "definition" : "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).",
            "comment" : "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Meta.profile",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "isSummary" : true
          },
          {
            "id" : "ExplanationOfBenefit.meta.security",
            "path" : "ExplanationOfBenefit.meta.security",
            "short" : "Security Labels applied to this resource",
            "definition" : "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
            "comment" : "The security labels can be updated without changing the stated version of the resource  The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Meta.security",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Coding"
              }
            ],
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SecurityLabels"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "extensible",
              "description" : "Security Labels from the Healthcare Privacy and Security Classification System.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/security-labels"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.meta.tag",
            "path" : "ExplanationOfBenefit.meta.tag",
            "short" : "Tags applied to this resource",
            "definition" : "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
            "comment" : "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Meta.tag",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Coding"
              }
            ],
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Tags"
                }
              ],
              "strength" : "example",
              "description" : "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/common-tags"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.implicitRules",
            "path" : "ExplanationOfBenefit.implicitRules",
            "short" : "A set of rules under which this content was created",
            "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
            "comment" : "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.implicitRules",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "isModifier" : true,
            "isSummary" : true
          },
          {
            "id" : "ExplanationOfBenefit.language",
            "path" : "ExplanationOfBenefit.language",
            "short" : "Language of the resource content",
            "definition" : "The base language in which the resource is written.",
            "comment" : "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" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.language",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
                  "valueReference" : {
                    "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Language"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "extensible",
              "description" : "A human language.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/languages"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.text",
            "path" : "ExplanationOfBenefit.text",
            "short" : "Text summary of the resource, for human interpretation",
            "definition" : "A human-readable narrative that contains a summary of the resource, and may 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 \"clinically safe\" 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" : "Contained resources do not have 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 \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
            "alias" : [
              "narrative",
              "html",
              "xhtml",
              "display"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "DomainResource.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "dom-1"
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "Act.text?"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.contained",
            "path" : "ExplanationOfBenefit.contained",
            "short" : "Contained, inline Resources",
            "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
            "comment" : "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.",
            "alias" : [
              "inline resources",
              "anonymous resources",
              "contained resources"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.contained",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Resource"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.extension",
            "path" : "ExplanationOfBenefit.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.modifierExtension",
            "path" : "ExplanationOfBenefit.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.identifier",
            "path" : "ExplanationOfBenefit.identifier",
            "short" : "Business Identifier",
            "definition" : "The EOB Business Identifier.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ],
            "mustSupport" : true,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "id"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.status",
            "path" : "ExplanationOfBenefit.status",
            "short" : "active | cancelled | draft | entered-in-error",
            "definition" : "The status of the resource instance.",
            "comment" : "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.status",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "fixedCode" : "active",
            "mustSupport" : true,
            "isModifier" : true,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ExplanationOfBenefitStatus"
                }
              ],
              "strength" : "required",
              "description" : "A code specifying the state of the resource instance.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/explanationofbenefit-status"
              }
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "status"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.type",
            "path" : "ExplanationOfBenefit.type",
            "short" : "Type or discipline",
            "definition" : "The category of claim, eg, oral, pharmacy, vision, insitutional, professional.",
            "comment" : "Affects which fields and value sets are used.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mustSupport" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ClaimType"
                }
              ],
              "strength" : "required",
              "description" : "The type or discipline-style of the claim",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-type"
              }
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "class"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.subType",
            "path" : "ExplanationOfBenefit.subType",
            "short" : "Finer grained claim type information",
            "definition" : "A finer grained suite of claim subtype codes which may convey Inpatient vs Outpatient and/or a specialty service. In the US the BillType.",
            "comment" : "This may contain the local bill type codes such as the US UB-04 bill type code.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.subType",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mustSupport" : true,
            "binding" : {
              "strength" : "required",
              "valueSetReference" : {
                "reference" : "https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1"
              }
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "class"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.patient",
            "path" : "ExplanationOfBenefit.patient",
            "short" : "The subject of the Products and Services",
            "definition" : "Patient Resource.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.patient",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org.au/fhir/StructureDefinition/au-patient"
              }
            ],
            "mustSupport" : true,
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "C06,C07,C08, C05, C04"
              },
              {
                "identity" : "w5",
                "map" : "who.focus"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.billablePeriod",
            "path" : "ExplanationOfBenefit.billablePeriod",
            "short" : "Period for charge submission",
            "definition" : "The billable period for which charges are being submitted.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.billablePeriod",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "when.done"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.created",
            "path" : "ExplanationOfBenefit.created",
            "short" : "Creation date",
            "definition" : "The date when the EOB was created.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.created",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ],
            "mustSupport" : true,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "when.recorded"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.enterer",
            "path" : "ExplanationOfBenefit.enterer",
            "short" : "Author",
            "definition" : "The person who created the explanation of benefit.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.enterer",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner"
              }
            ],
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "who.author"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.insurer",
            "path" : "ExplanationOfBenefit.insurer",
            "short" : "Insurer responsible for the EOB",
            "definition" : "The insurer which is responsible for the explanation of benefit.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.insurer",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org.au/fhir/StructureDefinition/au-organisation"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "B02"
              },
              {
                "identity" : "w5",
                "map" : "who.author"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.provider",
            "path" : "ExplanationOfBenefit.provider",
            "short" : "Responsible provider for the claim",
            "definition" : "The provider which is responsible for the claim.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.provider",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org.au/fhir/StructureDefinition/au-practitioner"
              }
            ],
            "mustSupport" : true,
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "B02"
              },
              {
                "identity" : "w5",
                "map" : "who.source"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.organization",
            "path" : "ExplanationOfBenefit.organization",
            "short" : "Responsible organization for the claim",
            "definition" : "The provider which is responsible for the claim.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.organization",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org.au/fhir/StructureDefinition/au-organisation"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "B02"
              },
              {
                "identity" : "w5",
                "map" : "who.source"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.referral",
            "path" : "ExplanationOfBenefit.referral",
            "short" : "Treatment Referral",
            "definition" : "The referral resource which lists the date, practitioner, reason and other supporting information.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.referral",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/referralrequest-mbsdva",
                "aggregation" : [
                  "contained"
                ]
              }
            ],
            "mustSupport" : true,
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "B05"
              },
              {
                "identity" : "w5",
                "map" : "who.cause"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.facility",
            "path" : "ExplanationOfBenefit.facility",
            "short" : "Servicing Facility",
            "definition" : "Facility where the services were provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.facility",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Location"
              }
            ],
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "where"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.claim",
            "path" : "ExplanationOfBenefit.claim",
            "short" : "Claim reference",
            "definition" : "The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.claim",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Claim"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "A02|G01"
              },
              {
                "identity" : "w5",
                "map" : "why"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.claimResponse",
            "path" : "ExplanationOfBenefit.claimResponse",
            "short" : "Claim response reference",
            "definition" : "The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.claimResponse",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/ClaimResponse"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "A02|G01"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.outcome",
            "path" : "ExplanationOfBenefit.outcome",
            "short" : "complete | error | partial",
            "definition" : "Processing outcome errror, partial or complete processing.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.outcome",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "RemittanceOutcome"
                }
              ],
              "strength" : "example",
              "description" : "The result of the claim processing",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/remittance-outcome"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.disposition",
            "path" : "ExplanationOfBenefit.disposition",
            "short" : "Disposition Message",
            "definition" : "A description of the status of the adjudication.",
            "comment" : "Do we need a disposition code?",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.disposition",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.related",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "RelatedClaim"
              }
            ],
            "path" : "ExplanationOfBenefit.related",
            "short" : "Related Claims which may be revelant to processing this claim",
            "definition" : "Other claims which are related to this claim such as prior claim versions or for related services.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.related",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.related.id",
            "path" : "ExplanationOfBenefit.related.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.related.extension",
            "path" : "ExplanationOfBenefit.related.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.related.modifierExtension",
            "path" : "ExplanationOfBenefit.related.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.related.claim",
            "path" : "ExplanationOfBenefit.related.claim",
            "short" : "Reference to the related claim",
            "definition" : "Other claims which are related to this claim such as prior claim versions or for related services.",
            "comment" : "Do we need a relationship code?",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.related.claim",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Claim"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.related.relationship",
            "path" : "ExplanationOfBenefit.related.relationship",
            "short" : "How the reference claim is related",
            "definition" : "For example prior or umbrella.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.related.relationship",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "RelatedClaimRelationship"
                }
              ],
              "strength" : "example",
              "description" : "Relationship of this claim to a related Claim",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/related-claim-relationship"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.related.reference",
            "path" : "ExplanationOfBenefit.related.reference",
            "short" : "Related file or case reference",
            "definition" : "An alternate organizational reference to the case or file to which this particular claim pertains - eg Property/Casualy insurer claim # or Workers Compensation case # .",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.related.reference",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.prescription",
            "path" : "ExplanationOfBenefit.prescription",
            "short" : "Prescription authorizing services or products",
            "definition" : "Prescription to support the dispensing of Pharmacy or Vision products.",
            "requirements" : "For type=Pharmacy and Vision only.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.prescription",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/medicationrequest-pbs",
                "aggregation" : [
                  "contained"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.originalPrescription",
            "path" : "ExplanationOfBenefit.originalPrescription",
            "short" : "Original prescription if superceded by fulfiller",
            "definition" : "Original prescription which has been superceded by this prescription to support the dispensing of pharmacy services, medications or products. For example, a physician may prescribe a medication which the pharmacy determines is contraindicated, or for which the patient has an intolerance, and therefor issues a new precription for an alternate medication which has the same theraputic intent. The prescription from the pharmacy becomes the 'prescription' and that from the physician becomes the 'original prescription'.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.originalPrescription",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payee",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Payee"
              }
            ],
            "path" : "ExplanationOfBenefit.payee",
            "short" : "Party to be paid any benefits payable",
            "definition" : "The party to be reimbursed for the services.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payee",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F02"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payee.id",
            "path" : "ExplanationOfBenefit.payee.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payee.extension",
            "path" : "ExplanationOfBenefit.payee.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payee.modifierExtension",
            "path" : "ExplanationOfBenefit.payee.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payee.type",
            "path" : "ExplanationOfBenefit.payee.type",
            "short" : "Type of party: Subscriber, Provider, other",
            "definition" : "Type of Party to be reimbursed: Subscriber, provider, other.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payee.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "PayeeType"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "example",
              "description" : "A code for the party to be reimbursed.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/payeetype"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.payee.resourceType",
            "path" : "ExplanationOfBenefit.payee.resourceType",
            "short" : "organization | patient | practitioner | relatedperson",
            "definition" : "organization | patient | practitioner | relatedperson.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payee.resourceType",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "PayeeResourceType"
                }
              ],
              "strength" : "required",
              "description" : "The type of payee Resource",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/resource-type-link"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.payee.party",
            "path" : "ExplanationOfBenefit.payee.party",
            "short" : "Party to receive the payable",
            "definition" : "Party to be reimbursed: Subscriber, provider, other.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payee.party",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Patient"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "B03, B04"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "SupportingInformation"
              }
            ],
            "path" : "ExplanationOfBenefit.information",
            "short" : "Exceptions, special considerations, the condition, situation, prior or concurrent issues",
            "definition" : "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues. Often there are mutiple jurisdiction specific valuesets which are required.",
            "requirements" : "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.information",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information.id",
            "path" : "ExplanationOfBenefit.information.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information.extension",
            "path" : "ExplanationOfBenefit.information.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information.modifierExtension",
            "path" : "ExplanationOfBenefit.information.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information.sequence",
            "path" : "ExplanationOfBenefit.information.sequence",
            "short" : "Information instance identifier",
            "definition" : "Sequence of the information element which serves to provide a link.",
            "requirements" : "To provide a reference link.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.information.sequence",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information.category",
            "path" : "ExplanationOfBenefit.information.category",
            "short" : "General class of information",
            "definition" : "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
            "comment" : "This may contain the local bill type codes such as the US UB-04 bill type code.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.information.category",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "InformationCategory"
                }
              ],
              "strength" : "example",
              "description" : "The valuset used for additional information category codes.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-informationcategory"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.information.code",
            "path" : "ExplanationOfBenefit.information.code",
            "short" : "Type of information",
            "definition" : "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought which may influence the adjudication.",
            "comment" : "This may contain the local bill type codes such as the US UB-04 bill type code.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.information.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "InformationCode"
                }
              ],
              "strength" : "example",
              "description" : "The valuset used for additional information codes.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-exception"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F23"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information.timing[x]",
            "path" : "ExplanationOfBenefit.information.timing[x]",
            "short" : "When it occurred",
            "definition" : "The date when or period to which this information refers.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.information.timing[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "date"
              },
              {
                "code" : "Period"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F24"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information.value[x]",
            "path" : "ExplanationOfBenefit.information.value[x]",
            "short" : "Additional Data or supporting information",
            "definition" : "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.information.value[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              },
              {
                "code" : "Quantity"
              },
              {
                "code" : "Attachment"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Resource"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.information.reason",
            "path" : "ExplanationOfBenefit.information.reason",
            "short" : "Reason associated with the information",
            "definition" : "For example, provides the reason for: the additional stay, or missing tooth or any other situation where a reason code is required in addition to the content.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.information.reason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Coding"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "MissingReason"
                }
              ],
              "strength" : "example",
              "description" : "Reason codes for the missing teeth",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/missing-tooth-reason"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.careTeam",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "CareTeam"
              }
            ],
            "path" : "ExplanationOfBenefit.careTeam",
            "short" : "Care Team members",
            "definition" : "The members of the team who provided the overall service as well as their role and whether responsible and qualifications.",
            "requirements" : "Role and Responsible may not be required when there is only a single provider listed.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.careTeam",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.careTeam.id",
            "path" : "ExplanationOfBenefit.careTeam.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.careTeam.extension",
            "path" : "ExplanationOfBenefit.careTeam.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.careTeam.modifierExtension",
            "path" : "ExplanationOfBenefit.careTeam.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.careTeam.sequence",
            "path" : "ExplanationOfBenefit.careTeam.sequence",
            "short" : "Number to covey order of careteam",
            "definition" : "Sequence of careteam which serves to order and provide a link.",
            "requirements" : "Required to maintain order of the careteam members.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.careTeam.sequence",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.careTeam.provider",
            "path" : "ExplanationOfBenefit.careTeam.provider",
            "short" : "Member of the Care Team",
            "definition" : "The members of the team who provided the overall service.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.careTeam.provider",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
              }
            ],
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "who.actor"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.careTeam.responsible",
            "path" : "ExplanationOfBenefit.careTeam.responsible",
            "short" : "Billing practitioner",
            "definition" : "The practitioner who is billing and responsible for the claimed services rendered to the patient.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.careTeam.responsible",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.careTeam.role",
            "path" : "ExplanationOfBenefit.careTeam.role",
            "short" : "Role on the team",
            "definition" : "The lead, assisting or supervising practitioner and their discipline if a multidisiplinary team.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.careTeam.role",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CareTeamRole"
                }
              ],
              "strength" : "example",
              "description" : "The role codes for the care team members.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-careteamrole"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.careTeam.qualification",
            "path" : "ExplanationOfBenefit.careTeam.qualification",
            "short" : "Type, classification or Specialization",
            "definition" : "The qualification which is applicable for this service.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.careTeam.qualification",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ProviderQualification"
                }
              ],
              "strength" : "example",
              "description" : "Provider professional qualifications",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/provider-qualification"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.diagnosis",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Diagnosis"
              }
            ],
            "path" : "ExplanationOfBenefit.diagnosis",
            "short" : "List of Diagnosis",
            "definition" : "Ordered list of patient diagnosis for which care is sought.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.diagnosis",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.diagnosis.id",
            "path" : "ExplanationOfBenefit.diagnosis.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.diagnosis.extension",
            "path" : "ExplanationOfBenefit.diagnosis.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.diagnosis.modifierExtension",
            "path" : "ExplanationOfBenefit.diagnosis.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.diagnosis.sequence",
            "path" : "ExplanationOfBenefit.diagnosis.sequence",
            "short" : "Number to covey order of diagnosis",
            "definition" : "Sequence of diagnosis which serves to provide a link.",
            "requirements" : "Required to allow line items to reference the diagnoses.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.diagnosis.sequence",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.diagnosis.diagnosis[x]",
            "path" : "ExplanationOfBenefit.diagnosis.diagnosis[x]",
            "short" : "Patient's diagnosis",
            "definition" : "The diagnosis.",
            "requirements" : "Required to adjudicate services rendered to condition presented.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.diagnosis.diagnosis[x]",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Condition"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ICD10"
                }
              ],
              "strength" : "example",
              "description" : "ICD10 Diagnostic codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/icd-10"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.diagnosis.type",
            "path" : "ExplanationOfBenefit.diagnosis.type",
            "short" : "Timing or nature of the diagnosis",
            "definition" : "The type of the Diagnosis, for example: admitting, primary, secondary, discharge.",
            "comment" : "Diagnosis are presented in list order to their expected importance: primary, secondary, etc.",
            "requirements" : "Required to adjudicate services rendered to the mandated diagnosis grouping system.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.diagnosis.type",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "DiagnosisType"
                }
              ],
              "strength" : "example",
              "description" : "The type of the diagnosis: admitting, principal, discharge",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-diagnosistype"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.diagnosis.packageCode",
            "path" : "ExplanationOfBenefit.diagnosis.packageCode",
            "short" : "Package billing code",
            "definition" : "The package billing code, for example DRG, based on the assigned grouping code system.",
            "requirements" : "Required to adjudicate services rendered to the mandated grouping system.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.diagnosis.packageCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "DiagnosisRelatedGroup"
                }
              ],
              "strength" : "example",
              "description" : "The DRG codes associated with the diagnosis",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.procedure",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Procedure"
              }
            ],
            "path" : "ExplanationOfBenefit.procedure",
            "short" : "Procedures performed",
            "definition" : "Ordered list of patient procedures performed to support the adjudication.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.procedure",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.procedure.id",
            "path" : "ExplanationOfBenefit.procedure.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.procedure.extension",
            "path" : "ExplanationOfBenefit.procedure.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.procedure.modifierExtension",
            "path" : "ExplanationOfBenefit.procedure.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.procedure.sequence",
            "path" : "ExplanationOfBenefit.procedure.sequence",
            "short" : "Procedure sequence for reference",
            "definition" : "Sequence of procedures which serves to order and provide a link.",
            "requirements" : "Required to maintain order of the procudures.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.procedure.sequence",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.procedure.date",
            "path" : "ExplanationOfBenefit.procedure.date",
            "short" : "When the procedure was performed",
            "definition" : "Date and optionally time the procedure was performed .",
            "comment" : "SB DateTime??",
            "requirements" : "Required to adjudicate services rendered.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.procedure.date",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.procedure.procedure[x]",
            "path" : "ExplanationOfBenefit.procedure.procedure[x]",
            "short" : "Patient's list of procedures performed",
            "definition" : "The procedure code.",
            "requirements" : "Required to adjudicate services rendered.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.procedure.procedure[x]",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Procedure"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ICD10_Procedures"
                }
              ],
              "strength" : "example",
              "description" : "ICD10 Procedure codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/icd-10-procedures"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.precedence",
            "path" : "ExplanationOfBenefit.precedence",
            "short" : "Precedence (primary, secondary, etc.)",
            "definition" : "Precedence (primary, secondary, etc.).",
            "requirements" : "Health care programs and insurers are significant payors of health service costs.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.precedence",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.insurance",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Insurance"
              }
            ],
            "path" : "ExplanationOfBenefit.insurance",
            "short" : "Insurance or medical plan",
            "definition" : "Financial instrument by which payment information for health care.",
            "requirements" : "Health care programs and insurers are significant payors of health service costs.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.insurance",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "Coverage"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.insurance.id",
            "path" : "ExplanationOfBenefit.insurance.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.insurance.extension",
            "path" : "ExplanationOfBenefit.insurance.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.insurance.modifierExtension",
            "path" : "ExplanationOfBenefit.insurance.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.insurance.coverage",
            "path" : "ExplanationOfBenefit.insurance.coverage",
            "short" : "Insurance information",
            "definition" : "Reference to the program or plan identification, underwriter or payor.",
            "requirements" : "Need to identify the issuer to target for processing and for coordination of benefit processing.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.insurance.coverage",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Coverage"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.insurance.preAuthRef",
            "path" : "ExplanationOfBenefit.insurance.preAuthRef",
            "short" : "Pre-Authorization/Determination Reference",
            "definition" : "A list of references from the Insurer to which these services pertain.",
            "requirements" : "To provide any pre=determination or prior authorization reference.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.insurance.preAuthRef",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F03"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.accident",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Accident"
              }
            ],
            "path" : "ExplanationOfBenefit.accident",
            "short" : "Details of an accident",
            "definition" : "An accident which resulted in the need for healthcare services.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.accident",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.accident.id",
            "path" : "ExplanationOfBenefit.accident.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.accident.extension",
            "path" : "ExplanationOfBenefit.accident.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.accident.modifierExtension",
            "path" : "ExplanationOfBenefit.accident.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.accident.date",
            "path" : "ExplanationOfBenefit.accident.date",
            "short" : "When the accident occurred",
            "definition" : "Date of an accident which these services are addressing.",
            "requirements" : "Coverage may be dependant on accidents.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.accident.date",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "date"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F02"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.accident.type",
            "path" : "ExplanationOfBenefit.accident.type",
            "short" : "The nature of the accident",
            "definition" : "Type of accident: work, auto, etc.",
            "requirements" : "Coverage may be dependant on the type of accident.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.accident.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "AccidentType"
                }
              ],
              "strength" : "required",
              "description" : "Type of accident: work place, auto, etc.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/v3-ActIncidentCode"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.accident.location[x]",
            "path" : "ExplanationOfBenefit.accident.location[x]",
            "short" : "Accident Place",
            "definition" : "Where the accident occurred.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.accident.location[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Address"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Location"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.employmentImpacted",
            "path" : "ExplanationOfBenefit.employmentImpacted",
            "short" : "Period unable to work",
            "definition" : "The start and optional end dates of when the patient was precluded from working due to the treatable condition(s).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.employmentImpacted",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.hospitalization",
            "path" : "ExplanationOfBenefit.hospitalization",
            "short" : "Period in hospital",
            "definition" : "The start and optional end dates of when the patient was confined to a treatment center.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.hospitalization",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Item"
              }
            ],
            "path" : "ExplanationOfBenefit.item",
            "short" : "Goods and Services",
            "definition" : "First tier of goods and services.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.item.id",
            "path" : "ExplanationOfBenefit.item.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.extension",
            "path" : "ExplanationOfBenefit.item.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.modifierExtension",
            "path" : "ExplanationOfBenefit.item.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.sequence",
            "path" : "ExplanationOfBenefit.item.sequence",
            "short" : "Service instance",
            "definition" : "A service line number.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.sequence",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ],
            "fixedPositiveInt" : 1,
            "mustSupport" : true,
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F07"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.careTeamLinkId",
            "path" : "ExplanationOfBenefit.item.careTeamLinkId",
            "short" : "Applicable careteam members",
            "definition" : "Careteam applicable for this service or product line.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.careTeamLinkId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.diagnosisLinkId",
            "path" : "ExplanationOfBenefit.item.diagnosisLinkId",
            "short" : "Applicable diagnoses",
            "definition" : "Diagnosis applicable for this service or product line.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.diagnosisLinkId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.procedureLinkId",
            "path" : "ExplanationOfBenefit.item.procedureLinkId",
            "short" : "Applicable procedures",
            "definition" : "Procedures applicable for this service or product line.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.procedureLinkId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.informationLinkId",
            "path" : "ExplanationOfBenefit.item.informationLinkId",
            "short" : "Applicable exception and supporting information",
            "definition" : "Exceptions, special conditions and supporting information pplicable for this service or product line.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.informationLinkId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.revenue",
            "path" : "ExplanationOfBenefit.item.revenue",
            "short" : "Revenue or cost center code",
            "definition" : "The type of reveneu or cost center providing the product and/or service.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.revenue",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "RevenueCenter"
                }
              ],
              "strength" : "example",
              "description" : "Codes for the revenue or cost centers supplying the service and/or products.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-revenue-center"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.category",
            "path" : "ExplanationOfBenefit.item.category",
            "short" : "Type of service or product",
            "definition" : "Health Care Service Type Codes  to identify the classification of service or benefits.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.category",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mustSupport" : true,
            "binding" : {
              "strength" : "extensible",
              "valueSetReference" : {
                "reference" : "https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.service",
            "path" : "ExplanationOfBenefit.item.service",
            "short" : "Billing Code",
            "definition" : "If this is an actual service or product line, ie. not a Group, then use code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI). If a grouping item then use a group code to indicate the type of thing being grouped eg. 'glasses' or 'compound'.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.service",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mustSupport" : true,
            "binding" : {
              "strength" : "required",
              "valueSetReference" : {
                "reference" : "https://healthterminologies.gov.au/fhir/ValueSet/australian-dhs-modifications-pbs-mbs-dva-item-1"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F06"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.modifier",
            "path" : "ExplanationOfBenefit.item.modifier",
            "short" : "Service/Product billing modifiers",
            "definition" : "Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or for medical whether the treatment was outside the clinic or out of office hours.",
            "requirements" : "May impact on adjudication.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.modifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Modifiers"
                }
              ],
              "strength" : "example",
              "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F16 (required field for Oral) and F05"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.programCode",
            "path" : "ExplanationOfBenefit.item.programCode",
            "short" : "Program specific reason for item inclusion",
            "definition" : "For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.programCode",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ProgramCode"
                }
              ],
              "strength" : "example",
              "description" : "Program specific reason codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-program-code"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.serviced[x]",
            "path" : "ExplanationOfBenefit.item.serviced[x]",
            "short" : "Date or dates of Service",
            "definition" : "The date or dates when the enclosed suite of services were performed or completed.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.serviced[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "date"
              },
              {
                "code" : "Period"
              }
            ],
            "mustSupport" : true,
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F09"
              },
              {
                "identity" : "w5",
                "map" : "when.done"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.location[x]",
            "path" : "ExplanationOfBenefit.item.location[x]",
            "short" : "Place of service",
            "definition" : "Where the service was provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.location[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              },
              {
                "code" : "Address"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Location"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ServicePlace"
                }
              ],
              "strength" : "example",
              "description" : "Place where the service is rendered",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/service-place"
              }
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "where"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.quantity",
            "path" : "ExplanationOfBenefit.item.quantity",
            "short" : "Count of Products or Services",
            "definition" : "The number of repetitions of a service or product.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.quantity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Quantity",
                "profile" : "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.item.unitPrice",
            "path" : "ExplanationOfBenefit.item.unitPrice",
            "short" : "Fee, charge or cost per point",
            "definition" : "If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.unitPrice",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F12"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.factor",
            "path" : "ExplanationOfBenefit.item.factor",
            "short" : "Price scaling factor",
            "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
            "requirements" : "If a fee is present the associated product/service code must be present.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.factor",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "decimal"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F13/F14"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.net",
            "path" : "ExplanationOfBenefit.item.net",
            "short" : "Total item cost",
            "definition" : "The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number  * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.",
            "requirements" : "If a fee is present the associated product/service code must be present.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.net",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F13/F14"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.udi",
            "path" : "ExplanationOfBenefit.item.udi",
            "short" : "Unique Device Identifier",
            "definition" : "List of Unique Device Identifiers associated with this line item.",
            "requirements" : "The UDI code and issuer if applicable for the supplied product.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.udi",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Device"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.bodySite",
            "path" : "ExplanationOfBenefit.item.bodySite",
            "short" : "Service Location",
            "definition" : "Physical service site on the patient (limb, tooth, etc).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.bodySite",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "OralSites"
                }
              ],
              "strength" : "example",
              "description" : "The code for the teeth, quadrant, sextant and arch",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/tooth"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F10"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.subSite",
            "path" : "ExplanationOfBenefit.item.subSite",
            "short" : "Service Sub-location",
            "definition" : "A region or surface of the site, eg. limb region or tooth surface(s).",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.subSite",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Surface"
                }
              ],
              "strength" : "example",
              "description" : "The code for the tooth surface and surface combinations",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/surface"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F11"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.encounter",
            "path" : "ExplanationOfBenefit.item.encounter",
            "short" : "Encounters related to this billed item",
            "definition" : "A billed item may include goods or services provided in multiple encounters.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.encounter",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Encounter"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.noteNumber",
            "path" : "ExplanationOfBenefit.item.noteNumber",
            "short" : "List of note numbers which apply",
            "definition" : "A list of note references to the notes provided below.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.noteNumber",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.adjudication",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Adjudication"
              }
            ],
            "path" : "ExplanationOfBenefit.item.adjudication",
            "short" : "Adjudication details",
            "definition" : "The adjudications results.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.adjudication",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.adjudication.id",
            "path" : "ExplanationOfBenefit.item.adjudication.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.adjudication.extension",
            "path" : "ExplanationOfBenefit.item.adjudication.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.adjudication.modifierExtension",
            "path" : "ExplanationOfBenefit.item.adjudication.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.adjudication.category",
            "path" : "ExplanationOfBenefit.item.adjudication.category",
            "short" : "Adjudication category such as co-pay, eligible, benefit, etc.",
            "definition" : "Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.adjudication.category",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Adjudication"
                }
              ],
              "strength" : "example",
              "description" : "The adjudication codes.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/adjudication"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.adjudication.reason",
            "path" : "ExplanationOfBenefit.item.adjudication.reason",
            "short" : "Explanation of Adjudication outcome",
            "definition" : "Adjudication reason such as limit reached.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.adjudication.reason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "AdjudicationReason"
                }
              ],
              "strength" : "example",
              "description" : "Adjudication reason codes.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/adjudication-reason"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.adjudication.amount",
            "path" : "ExplanationOfBenefit.item.adjudication.amount",
            "short" : "Monetary amount",
            "definition" : "Monitory amount associated with the code.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.adjudication.amount",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.adjudication.value",
            "path" : "ExplanationOfBenefit.item.adjudication.value",
            "short" : "Non-monitory value",
            "definition" : "A non-monetary value for example a percentage. Mutually exclusive to the amount element above.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.adjudication.value",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "decimal"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Detail"
              }
            ],
            "path" : "ExplanationOfBenefit.item.detail",
            "short" : "Additional items",
            "definition" : "Second tier of goods and services.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.id",
            "path" : "ExplanationOfBenefit.item.detail.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.extension",
            "path" : "ExplanationOfBenefit.item.detail.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.modifierExtension",
            "path" : "ExplanationOfBenefit.item.detail.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.sequence",
            "path" : "ExplanationOfBenefit.item.detail.sequence",
            "short" : "Service instance",
            "definition" : "A service line number.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.sequence",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F07"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.type",
            "path" : "ExplanationOfBenefit.item.detail.type",
            "short" : "Group or type of product or service",
            "definition" : "The type of product or service.",
            "comment" : "ItemType.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.type",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ItemType"
                }
              ],
              "strength" : "required",
              "description" : "Service, Product, Rx Dispense, Rx Compound etc.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.revenue",
            "path" : "ExplanationOfBenefit.item.detail.revenue",
            "short" : "Revenue or cost center code",
            "definition" : "The type of reveneu or cost center providing the product and/or service.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.revenue",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "RevenueCenter"
                }
              ],
              "strength" : "example",
              "description" : "Codes for the revenue or cost centers supplying the service and/or products.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-revenue-center"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.category",
            "path" : "ExplanationOfBenefit.item.detail.category",
            "short" : "Type of service or product",
            "definition" : "Health Care Service Type Codes  to identify the classification of service or benefits.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.category",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitSubCategory"
                }
              ],
              "strength" : "example",
              "description" : "Benefit subcategories such as: oral-basic, major, glasses",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-subcategory"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.service",
            "path" : "ExplanationOfBenefit.item.detail.service",
            "short" : "Billing Code",
            "definition" : "If this is an actual service or product line, ie. not a Group, then use code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI). If a grouping item then use a group code to indicate the type of thing being grouped eg. 'glasses' or 'compound'.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.service",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ServiceProduct"
                }
              ],
              "strength" : "example",
              "description" : "Allowable service and product codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F34/F35"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.modifier",
            "path" : "ExplanationOfBenefit.item.detail.modifier",
            "short" : "Service/Product billing modifiers",
            "definition" : "Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or for medical whether the treatment was outside the clinic or out of office hours.",
            "requirements" : "May impact on adjudication.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.modifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Modifiers"
                }
              ],
              "strength" : "example",
              "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F16 (required field for Oral) and F05"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.programCode",
            "path" : "ExplanationOfBenefit.item.detail.programCode",
            "short" : "Program specific reason for item inclusion",
            "definition" : "For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.programCode",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ProgramCode"
                }
              ],
              "strength" : "example",
              "description" : "Program specific reason codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-program-code"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.quantity",
            "path" : "ExplanationOfBenefit.item.detail.quantity",
            "short" : "Count of Products or Services",
            "definition" : "The number of repetitions of a service or product.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.quantity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Quantity",
                "profile" : "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.unitPrice",
            "path" : "ExplanationOfBenefit.item.detail.unitPrice",
            "short" : "Fee, charge or cost per point",
            "definition" : "If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group.",
            "requirements" : "If a fee is present the associated product/service code must be present.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.unitPrice",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F13/F14"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.factor",
            "path" : "ExplanationOfBenefit.item.detail.factor",
            "short" : "Price scaling factor",
            "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
            "requirements" : "If a fee is present the associated product/service code must be present.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.factor",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "decimal"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F13/F14"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.net",
            "path" : "ExplanationOfBenefit.item.detail.net",
            "short" : "Total additional item cost",
            "definition" : "The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number  * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.",
            "requirements" : "If a fee is present the associated product/service code must be present.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.net",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F13/F14"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.udi",
            "path" : "ExplanationOfBenefit.item.detail.udi",
            "short" : "Unique Device Identifier",
            "definition" : "List of Unique Device Identifiers associated with this line item.",
            "requirements" : "The UDI code and issuer if applicable for the supplied product.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.udi",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Device"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.noteNumber",
            "path" : "ExplanationOfBenefit.item.detail.noteNumber",
            "short" : "List of note numbers which apply",
            "definition" : "A list of note references to the notes provided below.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.noteNumber",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.adjudication",
            "path" : "ExplanationOfBenefit.item.detail.adjudication",
            "short" : "Detail level adjudication details",
            "definition" : "The adjudications results.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.adjudication",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit#ExplanationOfBenefit.item.adjudication"
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "SubDetail"
              }
            ],
            "path" : "ExplanationOfBenefit.item.detail.subDetail",
            "short" : "Additional items",
            "definition" : "Third tier of goods and services.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.id",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.extension",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.modifierExtension",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.sequence",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.sequence",
            "short" : "Service instance",
            "definition" : "A service line number.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.sequence",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F07"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.type",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.type",
            "short" : "Type of product or service",
            "definition" : "The type of product or service.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.type",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ItemType"
                }
              ],
              "strength" : "required",
              "description" : "Service, Product, Rx Dispense, Rx Compound etc.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.revenue",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.revenue",
            "short" : "Revenue or cost center code",
            "definition" : "The type of reveneu or cost center providing the product and/or service.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.revenue",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "RevenueCenter"
                }
              ],
              "strength" : "example",
              "description" : "Codes for the revenue or cost centers supplying the service and/or products.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-revenue-center"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.category",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.category",
            "short" : "Type of service or product",
            "definition" : "Health Care Service Type Codes  to identify the classification of service or benefits.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.category",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitSubCategory"
                }
              ],
              "strength" : "example",
              "description" : "Benefit subcategories such as: oral-basic, major, glasses",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-subcategory"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.service",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.service",
            "short" : "Billing Code",
            "definition" : "A code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.service",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ServiceProduct"
                }
              ],
              "strength" : "example",
              "description" : "Allowable service and product codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F34/F35"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.modifier",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.modifier",
            "short" : "Service/Product billing modifiers",
            "definition" : "Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or for medical whether the treatment was outside the clinic or out of office hours.",
            "requirements" : "May impact on adjudication.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.modifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Modifiers"
                }
              ],
              "strength" : "example",
              "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F16 (required field for Oral) and F05"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.programCode",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.programCode",
            "short" : "Program specific reason for item inclusion",
            "definition" : "For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.programCode",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ProgramCode"
                }
              ],
              "strength" : "example",
              "description" : "Program specific reason codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-program-code"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.quantity",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.quantity",
            "short" : "Count of Products or Services",
            "definition" : "The number of repetitions of a service or product.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.quantity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Quantity",
                "profile" : "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.unitPrice",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.unitPrice",
            "short" : "Fee, charge or cost per point",
            "definition" : "The fee for an addittional service or product or charge.",
            "requirements" : "If a fee is present the associated product/service code must be present.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.unitPrice",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F13/F14"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.factor",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.factor",
            "short" : "Price scaling factor",
            "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
            "requirements" : "If a fee is present the associated product/service code must be present.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.factor",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "decimal"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F13/F14"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.net",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.net",
            "short" : "Net additional item cost",
            "definition" : "The quantity times the unit price for an addittional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number  * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.",
            "requirements" : "If a fee is present the associated product/service code must be present.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.net",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F13/F14"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.udi",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.udi",
            "short" : "Unique Device Identifier",
            "definition" : "List of Unique Device Identifiers associated with this line item.",
            "requirements" : "The UDI code and issuer if applicable for the supplied product.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.udi",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Device"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.noteNumber",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.noteNumber",
            "short" : "List of note numbers which apply",
            "definition" : "A list of note references to the notes provided below.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.noteNumber",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.item.detail.subDetail.adjudication",
            "path" : "ExplanationOfBenefit.item.detail.subDetail.adjudication",
            "short" : "Language if different from the resource",
            "definition" : "The adjudications results.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.item.detail.subDetail.adjudication",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit#ExplanationOfBenefit.item.adjudication"
          },
          {
            "id" : "ExplanationOfBenefit.addItem",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "AddedItem"
              }
            ],
            "path" : "ExplanationOfBenefit.addItem",
            "short" : "Insurer added line items",
            "definition" : "The first tier service adjudications for payor added services.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.id",
            "path" : "ExplanationOfBenefit.addItem.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.extension",
            "path" : "ExplanationOfBenefit.addItem.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.modifierExtension",
            "path" : "ExplanationOfBenefit.addItem.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.sequenceLinkId",
            "path" : "ExplanationOfBenefit.addItem.sequenceLinkId",
            "short" : "Service instances",
            "definition" : "List of input service items which this service line is intended to replace.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.sequenceLinkId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.revenue",
            "path" : "ExplanationOfBenefit.addItem.revenue",
            "short" : "Revenue or cost center code",
            "definition" : "The type of reveneu or cost center providing the product and/or service.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.revenue",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "RevenueCenter"
                }
              ],
              "strength" : "example",
              "description" : "Codes for the revenue or cost centers supplying the service and/or products.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-revenue-center"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.addItem.category",
            "path" : "ExplanationOfBenefit.addItem.category",
            "short" : "Type of service or product",
            "definition" : "Health Care Service Type Codes  to identify the classification of service or benefits.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.category",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitSubCategory"
                }
              ],
              "strength" : "example",
              "description" : "Benefit subcategories such as: oral-basic, major, glasses",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-subcategory"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F06"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.service",
            "path" : "ExplanationOfBenefit.addItem.service",
            "short" : "Billing Code",
            "definition" : "If this is an actual service or product line, ie. not a Group, then use code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI). If a grouping item then use a group code to indicate the type of thing being grouped eg. 'glasses' or 'compound'.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.service",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ServiceProduct"
                }
              ],
              "strength" : "example",
              "description" : "Allowable service and product codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.addItem.modifier",
            "path" : "ExplanationOfBenefit.addItem.modifier",
            "short" : "Service/Product billing modifiers",
            "definition" : "Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or for medical whether the treatment was outside the clinic or out of office hours.",
            "requirements" : "May impact on adjudication.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.modifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Modifiers"
                }
              ],
              "strength" : "example",
              "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F16 (required field for Oral) and F05"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.fee",
            "path" : "ExplanationOfBenefit.addItem.fee",
            "short" : "Professional fee or Product charge",
            "definition" : "The fee charged for the professional service or product.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.fee",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.noteNumber",
            "path" : "ExplanationOfBenefit.addItem.noteNumber",
            "short" : "List of note numbers which apply",
            "definition" : "A list of note references to the notes provided below.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.noteNumber",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.adjudication",
            "path" : "ExplanationOfBenefit.addItem.adjudication",
            "short" : "Added items adjudication",
            "definition" : "The adjudications results.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.adjudication",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit#ExplanationOfBenefit.item.adjudication"
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "AddedItemsDetail"
              }
            ],
            "path" : "ExplanationOfBenefit.addItem.detail",
            "short" : "Added items details",
            "definition" : "The second tier service adjudications for payor added services.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.detail",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.id",
            "path" : "ExplanationOfBenefit.addItem.detail.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.extension",
            "path" : "ExplanationOfBenefit.addItem.detail.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.modifierExtension",
            "path" : "ExplanationOfBenefit.addItem.detail.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.revenue",
            "path" : "ExplanationOfBenefit.addItem.detail.revenue",
            "short" : "Revenue or cost center code",
            "definition" : "The type of reveneu or cost center providing the product and/or service.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.detail.revenue",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "RevenueCenter"
                }
              ],
              "strength" : "example",
              "description" : "Codes for the revenue or cost centers supplying the service and/or products.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-revenue-center"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.category",
            "path" : "ExplanationOfBenefit.addItem.detail.category",
            "short" : "Type of service or product",
            "definition" : "Health Care Service Type Codes  to identify the classification of service or benefits.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.detail.category",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitSubCategory"
                }
              ],
              "strength" : "example",
              "description" : "Benefit subcategories such as: oral-basic, major, glasses",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-subcategory"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F06"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.service",
            "path" : "ExplanationOfBenefit.addItem.detail.service",
            "short" : "Billing Code",
            "definition" : "A code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.detail.service",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ServiceProduct"
                }
              ],
              "strength" : "example",
              "description" : "Allowable service and product codes",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/service-uscls"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.modifier",
            "path" : "ExplanationOfBenefit.addItem.detail.modifier",
            "short" : "Service/Product billing modifiers",
            "definition" : "Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or for medical whether the treatment was outside the clinic or out of office hours.",
            "requirements" : "May impact on adjudication.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.detail.modifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Modifiers"
                }
              ],
              "strength" : "example",
              "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "F16 (required field for Oral) and F05"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.fee",
            "path" : "ExplanationOfBenefit.addItem.detail.fee",
            "short" : "Professional fee or Product charge",
            "definition" : "The fee charged for the professional service or product.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.detail.fee",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.noteNumber",
            "path" : "ExplanationOfBenefit.addItem.detail.noteNumber",
            "short" : "List of note numbers which apply",
            "definition" : "A list of note references to the notes provided below.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.detail.noteNumber",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.addItem.detail.adjudication",
            "path" : "ExplanationOfBenefit.addItem.detail.adjudication",
            "short" : "Added items detail adjudication",
            "definition" : "The adjudications results.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.addItem.detail.adjudication",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit#ExplanationOfBenefit.item.adjudication"
          },
          {
            "id" : "ExplanationOfBenefit.totalCost",
            "path" : "ExplanationOfBenefit.totalCost",
            "short" : "Total Cost of service from the Claim",
            "definition" : "The total cost of the services reported.",
            "requirements" : "This is a check value that the receiver calculates and returns.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.totalCost",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.unallocDeductable",
            "path" : "ExplanationOfBenefit.unallocDeductable",
            "short" : "Unallocated deductable",
            "definition" : "The amount of deductable applied which was not allocated to any particular service line.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.unallocDeductable",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.totalBenefit",
            "path" : "ExplanationOfBenefit.totalBenefit",
            "short" : "Total benefit payable for the Claim",
            "definition" : "Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductable).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.totalBenefit",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payment",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Payment"
              }
            ],
            "path" : "ExplanationOfBenefit.payment",
            "short" : "Payment (if paid)",
            "definition" : "Payment details for the claim if the claim has been paid.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payment",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payment.id",
            "path" : "ExplanationOfBenefit.payment.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payment.extension",
            "path" : "ExplanationOfBenefit.payment.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payment.modifierExtension",
            "path" : "ExplanationOfBenefit.payment.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payment.type",
            "path" : "ExplanationOfBenefit.payment.type",
            "short" : "Partial or Complete",
            "definition" : "Whether this represents partial or complete payment of the claim.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payment.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "PaymentType"
                }
              ],
              "strength" : "example",
              "description" : "The type (partial, complete) of the payment",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/ex-paymenttype"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.payment.adjustment",
            "path" : "ExplanationOfBenefit.payment.adjustment",
            "short" : "Payment adjustment for non-Claim issues",
            "definition" : "Adjustment to the payment of this transaction which is not related to adjudication of this transaction.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payment.adjustment",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payment.adjustmentReason",
            "path" : "ExplanationOfBenefit.payment.adjustmentReason",
            "short" : "Explanation for the non-claim adjustment",
            "definition" : "Reason for the payment adjustment.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payment.adjustmentReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "PaymentAdjustmentReason"
                }
              ],
              "strength" : "example",
              "description" : "Payment Adjustment reason codes.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/payment-adjustment-reason"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.payment.date",
            "path" : "ExplanationOfBenefit.payment.date",
            "short" : "Expected date of Payment",
            "definition" : "Estimated payment date.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payment.date",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "date"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payment.amount",
            "path" : "ExplanationOfBenefit.payment.amount",
            "short" : "Payable amount after adjustment",
            "definition" : "Payable less any payment adjustment.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payment.amount",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.payment.identifier",
            "path" : "ExplanationOfBenefit.payment.identifier",
            "short" : "Identifier of the payment instrument",
            "definition" : "Payment identifer.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.payment.identifier",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "G01, B.23"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.form",
            "path" : "ExplanationOfBenefit.form",
            "short" : "Printed Form Identifier",
            "definition" : "The form to be used for printing the content.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.form",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Forms"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "example",
              "description" : "The forms codes.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/forms"
              }
            },
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "G42"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.processNote",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Note"
              }
            ],
            "path" : "ExplanationOfBenefit.processNote",
            "short" : "Processing notes",
            "definition" : "Note text.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.processNote",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.processNote.id",
            "path" : "ExplanationOfBenefit.processNote.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.processNote.extension",
            "path" : "ExplanationOfBenefit.processNote.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.processNote.modifierExtension",
            "path" : "ExplanationOfBenefit.processNote.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.processNote.number",
            "path" : "ExplanationOfBenefit.processNote.number",
            "short" : "Sequence number for this note",
            "definition" : "An integer associated with each note which may be referred to from each service line item.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.processNote.number",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "positiveInt"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.processNote.type",
            "path" : "ExplanationOfBenefit.processNote.type",
            "short" : "display | print | printoper",
            "definition" : "The note purpose: Print/Display.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.processNote.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "NoteType"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "required",
              "description" : "The presentation types of notes.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/note-type"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.processNote.text",
            "path" : "ExplanationOfBenefit.processNote.text",
            "short" : "Note explanitory text",
            "definition" : "The note text.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.processNote.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "cdanetv4",
                "map" : "G32"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.processNote.language",
            "path" : "ExplanationOfBenefit.processNote.language",
            "short" : "Language if different from the resource",
            "definition" : "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.processNote.language",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
                  "valueReference" : {
                    "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
                  }
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Language"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "extensible",
              "description" : "A human language.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/languages"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "BenefitBalance"
              }
            ],
            "path" : "ExplanationOfBenefit.benefitBalance",
            "short" : "Balance by Benefit Category",
            "definition" : "Balance by Benefit Category.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.id",
            "path" : "ExplanationOfBenefit.benefitBalance.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.extension",
            "path" : "ExplanationOfBenefit.benefitBalance.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.modifierExtension",
            "path" : "ExplanationOfBenefit.benefitBalance.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.category",
            "path" : "ExplanationOfBenefit.benefitBalance.category",
            "short" : "Type of services covered",
            "definition" : "Dental, Vision, Medical, Pharmacy, Rehab etc.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.category",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitCategory"
                }
              ],
              "strength" : "example",
              "description" : "Benefit categories such as: oral, medical, vision etc.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-category"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.subCategory",
            "path" : "ExplanationOfBenefit.benefitBalance.subCategory",
            "short" : "Detailed services covered within the type",
            "definition" : "Dental: basic, major, ortho; Vision exam, glasses, contacts; etc.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.subCategory",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitSubCategory"
                }
              ],
              "strength" : "example",
              "description" : "Benefit subcategories such as: oral-basic, major, glasses",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-subcategory"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.excluded",
            "path" : "ExplanationOfBenefit.benefitBalance.excluded",
            "short" : "Excluded from the plan",
            "definition" : "True if the indicated class of service is excluded from the plan, missing or False indicated the service is included in the coverage.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.excluded",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.name",
            "path" : "ExplanationOfBenefit.benefitBalance.name",
            "short" : "Short name for the benefit",
            "definition" : "A short name or tag for the benefit, for example MED01, or DENT2.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.name",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.description",
            "path" : "ExplanationOfBenefit.benefitBalance.description",
            "short" : "Description of the benefit or services covered",
            "definition" : "A richer description of the benefit, for example 'DENT2 covers 100% of basic, 50% of major but exclused Ortho, Implants and Costmetic services'.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.description",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.network",
            "path" : "ExplanationOfBenefit.benefitBalance.network",
            "short" : "In or out of network",
            "definition" : "Network designation.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.network",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitNetwork"
                }
              ],
              "strength" : "example",
              "description" : "Code to classify in or out of network services",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-network"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.unit",
            "path" : "ExplanationOfBenefit.benefitBalance.unit",
            "short" : "Individual or family",
            "definition" : "Unit designation: individual or family.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.unit",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitUnit"
                }
              ],
              "strength" : "example",
              "description" : "Unit covered/serviced - individual or family",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-unit"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.term",
            "path" : "ExplanationOfBenefit.benefitBalance.term",
            "short" : "Annual or lifetime",
            "definition" : "The term or period of the values such as 'maximum lifetime benefit' or 'maximum annual vistis'.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.term",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitTerm"
                }
              ],
              "strength" : "example",
              "description" : "Coverage unit - annual, lifetime",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-term"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.financial",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Benefit"
              }
            ],
            "path" : "ExplanationOfBenefit.benefitBalance.financial",
            "short" : "Benefit Summary",
            "definition" : "Benefits Used to date.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.financial",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.financial.id",
            "path" : "ExplanationOfBenefit.benefitBalance.financial.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.financial.extension",
            "path" : "ExplanationOfBenefit.benefitBalance.financial.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.financial.modifierExtension",
            "path" : "ExplanationOfBenefit.benefitBalance.financial.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
            "comment" : "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" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.financial.type",
            "path" : "ExplanationOfBenefit.benefitBalance.financial.type",
            "short" : "Deductable, visits, benefit amount",
            "definition" : "Deductable, visits, benefit amount.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.financial.type",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "BenefitType"
                }
              ],
              "strength" : "example",
              "description" : "Deductable, visits, co-pay, etc.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/benefit-type"
              }
            }
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.financial.allowed[x]",
            "path" : "ExplanationOfBenefit.benefitBalance.financial.allowed[x]",
            "short" : "Benefits allowed",
            "definition" : "Benefits allowed.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.financial.allowed[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "unsignedInt"
              },
              {
                "code" : "string"
              },
              {
                "code" : "Money"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.benefitBalance.financial.used[x]",
            "path" : "ExplanationOfBenefit.benefitBalance.financial.used[x]",
            "short" : "Benefits used",
            "definition" : "Benefits used.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ExplanationOfBenefit.benefitBalance.financial.used[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "unsignedInt"
              },
              {
                "code" : "Money"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "ExplanationOfBenefit",
            "path" : "ExplanationOfBenefit",
            "constraint" : [
              {
                "key" : "inv-dh-eob-01",
                "severity" : "error",
                "human" : "A PBS or RPBS claim SHALL include a prescription.",
                "expression" : "prescription.exists() implies (subType.coding.code='pbs' or subType.coding.code='rpbs' or item.category.coding.code='pbs' or item.category.coding.code='rpbs')"
              },
              {
                "key" : "inv-dh-eob-02",
                "severity" : "error",
                "human" : "A MBS or DVABS claim SHALL NOT include a prescription.",
                "expression" : "prescription.empty() implies (subType.coding.code='mbs' or subType.coding.code='dva' or item.category.coding.code='mbs' or item.category.coding.code='dva')"
              },
              {
                "key" : "inv-dh-eob-03",
                "severity" : "error",
                "human" : "One of subType or item.category SHALL be present.",
                "expression" : "subType.exists() or item.category.exists()"
              },
              {
                "key" : "inv-dh-eob-04",
                "severity" : "error",
                "human" : "A PBS claim SHALL be of type 'Pharmacy' (type='pharmacy').",
                "expression" : "prescription.exists() implies type.coding.code='pharmacy'"
              },
              {
                "key" : "inv-dh-eob-05",
                "severity" : "error",
                "human" : "One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare'.",
                "expression" : "meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare').exists()"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.meta",
            "path" : "ExplanationOfBenefit.meta",
            "min" : 1
          },
          {
            "id" : "ExplanationOfBenefit.meta.profile",
            "path" : "ExplanationOfBenefit.meta.profile",
            "definition" : "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).",
            "min" : 1
          },
          {
            "id" : "ExplanationOfBenefit.identifier",
            "path" : "ExplanationOfBenefit.identifier",
            "min" : 1,
            "max" : "1",
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.status",
            "path" : "ExplanationOfBenefit.status",
            "fixedCode" : "active",
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.type",
            "path" : "ExplanationOfBenefit.type",
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.subType",
            "path" : "ExplanationOfBenefit.subType",
            "mustSupport" : true,
            "binding" : {
              "strength" : "required",
              "valueSetUri" : "https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1"
            }
          },
          {
            "id" : "ExplanationOfBenefit.patient",
            "path" : "ExplanationOfBenefit.patient",
            "min" : 1,
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org.au/fhir/StructureDefinition/au-patient"
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.created",
            "path" : "ExplanationOfBenefit.created",
            "min" : 1,
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.insurer",
            "path" : "ExplanationOfBenefit.insurer",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org.au/fhir/StructureDefinition/au-organisation"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.provider",
            "path" : "ExplanationOfBenefit.provider",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org.au/fhir/StructureDefinition/au-practitioner"
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.organization",
            "path" : "ExplanationOfBenefit.organization",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org.au/fhir/StructureDefinition/au-organisation"
              }
            ]
          },
          {
            "id" : "ExplanationOfBenefit.referral",
            "path" : "ExplanationOfBenefit.referral",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/referralrequest-mbsdva",
                "aggregation" : [
                  "contained"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.prescription",
            "path" : "ExplanationOfBenefit.prescription",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/medicationrequest-pbs",
                "aggregation" : [
                  "contained"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.item",
            "path" : "ExplanationOfBenefit.item",
            "min" : 1,
            "max" : "1",
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.item.sequence",
            "path" : "ExplanationOfBenefit.item.sequence",
            "fixedPositiveInt" : 1,
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.item.category",
            "path" : "ExplanationOfBenefit.item.category",
            "mustSupport" : true,
            "binding" : {
              "strength" : "extensible",
              "valueSetUri" : "https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1"
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.service",
            "path" : "ExplanationOfBenefit.item.service",
            "min" : 1,
            "mustSupport" : true,
            "binding" : {
              "strength" : "required",
              "valueSetUri" : "https://healthterminologies.gov.au/fhir/ValueSet/australian-dhs-modifications-pbs-mbs-dva-item-1"
            }
          },
          {
            "id" : "ExplanationOfBenefit.item.serviced[x]",
            "path" : "ExplanationOfBenefit.item.serviced[x]",
            "min" : 1,
            "mustSupport" : true
          },
          {
            "id" : "ExplanationOfBenefit.item.quantity",
            "path" : "ExplanationOfBenefit.item.quantity",
            "mustSupport" : true
          }
        ]
      }
    }