Australian Digital Health Agency Medicare Records FHIR Implementation Guide 2.2.0

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

StructureDefinition-explanationofbenefit-medicare.ttl

Formats: Narrative, XML, JSON, Turtle

Raw ttl


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "explanationofbenefit-medicare"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.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\">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.prescription\">prescription</a><a name=\"ExplanationOfBenefit.prescription\"> </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-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: white; 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: #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_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-explanationofbenefit-medicare-definitions.html#ExplanationOfBenefit.item\">item</a><a name=\"ExplanationOfBenefit.item\"> </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#BackboneElement\">BackboneElement</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\">Goods 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_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.sequence\">sequence</a><a name=\"ExplanationOfBenefit.item.sequence\"> </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\">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: 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#positiveInt\">positiveInt</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\">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: #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.category\">category</a><a name=\"ExplanationOfBenefit.item.category\"> </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 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: 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.service\">service</a><a name=\"ExplanationOfBenefit.item.service\"> </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#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\">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: #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.serviced[x]\">serviced[x]</a><a name=\"ExplanationOfBenefit.item.serviced_x_\"> </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#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: #F7F7F7; 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: 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_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: white; 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: 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#SimpleQuantity\" title=\"Quantity\">SimpleQuantity</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\">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>"
  ];
  fhir:StructureDefinition.url [ fhir:value "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare"];
  fhir:StructureDefinition.version [ fhir:value "1.1.0"];
  fhir:StructureDefinition.name [ fhir:value "ADHAExplanationofBenefitMedicare"];
  fhir:StructureDefinition.title [ fhir:value "ADHA Medicare ExplanationOfBenefit"];
  fhir:StructureDefinition.status [ fhir:value "active"];
  fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.date [ fhir:value "2023-04-14T04:08:50+00:00"^^xsd:dateTime];
  fhir:StructureDefinition.publisher [ fhir:value "Australian Digital Health Agency"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "[email protected]" ]     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "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."];
  fhir:StructureDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "AU" ];
       fhir:Coding.display [ fhir:value "Australia" ]     ]
  ];
  fhir:StructureDefinition.copyright [ fhir:value "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/."];
  fhir:StructureDefinition.fhirVersion [ fhir:value "3.0.2"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/w5" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "W5 Mapping" ]
  ], [
     fhir:index 1;
     fhir:StructureDefinition.mapping.identity [ fhir:value "cdanetv4" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://www.cda-adc.ca/en/services/cdanet/" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "Canadian Dental Association eclaims standard" ]
  ], [
     fhir:index 2;
     fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ]
  ], [
     fhir:index 3;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.type [ fhir:value "ExplanationOfBenefit"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit" ];
       fhir:ElementDefinition.short [ fhir:value "Explanation of Benefit resource" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "EOB";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain any narrative" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.text.empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:text)" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where(('#'+id in %resource.descendants().reference).not()).empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-01" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "A PBS or RPBS claim SHALL include a prescription." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "prescription.exists() implies (subType.coding.code='pbs' or subType.coding.code='rpbs' or item.category.coding.code='pbs' or item.category.coding.code='rpbs')" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-02" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "A MBS or DVABS claim SHALL NOT include a prescription." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "prescription.empty() implies (subType.coding.code='mbs' or subType.coding.code='dva' or item.category.coding.code='mbs' or item.category.coding.code='dva')" ]       ], [
         fhir:index 6;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-03" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "One of subType or item.category SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "subType.exists() or item.category.exists()" ]       ], [
         fhir:index 7;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-04" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "A PBS claim SHALL be of type 'Pharmacy' (type='pharmacy')." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "prescription.exists() implies type.coding.code='pharmacy'" ]       ], [
         fhir:index 8;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-05" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare'." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare').exists()" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "financial.other" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.id" ];
       fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
       fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
       fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta" ];
       fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Meta" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]         ];
         fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta.versionId" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta.versionId" ];
       fhir:ElementDefinition.short [ fhir:value "Version specific identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Meta.versionId" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta.lastUpdated" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta.lastUpdated" ];
       fhir:ElementDefinition.short [ fhir:value "When the resource version last changed" ];
       fhir:ElementDefinition.definition [ fhir:value "When the resource last changed - e.g. when the version changed." ];
       fhir:ElementDefinition.comment [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Meta.lastUpdated" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta.profile" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta.profile" ];
       fhir:ElementDefinition.short [ fhir:value "Profiles this resource claims to conform to" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url]()." ];
       fhir:ElementDefinition.comment [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Meta.profile" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta.security" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta.security" ];
       fhir:ElementDefinition.short [ fhir:value "Security Labels applied to this resource" ];
       fhir:ElementDefinition.definition [ fhir:value "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." ];
       fhir:ElementDefinition.comment [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Meta.security" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "SecurityLabels" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Security Labels from the Healthcare Privacy and Security Classification System." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/security-labels>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/security-labels" ]         ]       ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta.tag" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta.tag" ];
       fhir:ElementDefinition.short [ fhir:value "Tags applied to this resource" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Meta.tag" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Tags" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/common-tags>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/common-tags" ]         ]       ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.implicitRules" ];
       fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." ];
       fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.language" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.language" ];
       fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
       fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
       fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
           fhir:Extension.valueReference [
             fhir:link <http://hl7.org/fhir/ValueSet/all-languages>;
             fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ]           ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Language" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/languages>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ]         ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.text" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "narrative";
         fhir:index 0       ], [
         fhir:value "html";
         fhir:index 1       ], [
         fhir:value "xhtml";
         fhir:index 2       ], [
         fhir:value "display";
         fhir:index 3       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "dom-1";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ]       ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.contained" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.contained" ];
       fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again." ];
       fhir:ElementDefinition.alias [
         fhir:value "inline resources";
         fhir:index 0       ], [
         fhir:value "anonymous resources";
         fhir:index 1       ], [
         fhir:value "contained resources";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "Business Identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "The EOB Business Identifier." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "id" ]       ]     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.status" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.status" ];
       fhir:ElementDefinition.short [ fhir:value "active | cancelled | draft | entered-in-error" ];
       fhir:ElementDefinition.definition [ fhir:value "The status of the resource instance." ];
       fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.status" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.fixedCode [ fhir:value "active" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ExplanationOfBenefitStatus" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A code specifying the state of the resource instance." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/explanationofbenefit-status>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/explanationofbenefit-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "status" ]       ]     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.type" ];
       fhir:ElementDefinition.short [ fhir:value "Type or discipline" ];
       fhir:ElementDefinition.definition [ fhir:value "The category of claim, eg, oral, pharmacy, vision, insitutional, professional." ];
       fhir:ElementDefinition.comment [ fhir:value "Affects which fields and value sets are used." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ClaimType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The type or discipline-style of the claim" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-type>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-type" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "class" ]       ]     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.subType" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.subType" ];
       fhir:ElementDefinition.short [ fhir:value "Finer grained claim type information" ];
       fhir:ElementDefinition.definition [ fhir:value "A finer grained suite of claim subtype codes which may convey Inpatient vs Outpatient and/or a specialty service. In the US the BillType." ];
       fhir:ElementDefinition.comment [ fhir:value "This may contain the local bill type codes such as the US UB-04 bill type code." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.subType" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1>;
           fhir:Reference.reference [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "class" ]       ]     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.patient" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.patient" ];
       fhir:ElementDefinition.short [ fhir:value "The subject of the Products and Services" ];
       fhir:ElementDefinition.definition [ fhir:value "Patient Resource." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.patient" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-patient" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "C06,C07,C08, C05, C04" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.focus" ]       ]     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.billablePeriod" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.billablePeriod" ];
       fhir:ElementDefinition.short [ fhir:value "Period for charge submission" ];
       fhir:ElementDefinition.definition [ fhir:value "The billable period for which charges are being submitted." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.billablePeriod" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.done" ]       ]     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.created" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.created" ];
       fhir:ElementDefinition.short [ fhir:value "Creation date" ];
       fhir:ElementDefinition.definition [ fhir:value "The date when the EOB was created." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.created" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.recorded" ]       ]     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.enterer" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.enterer" ];
       fhir:ElementDefinition.short [ fhir:value "Author" ];
       fhir:ElementDefinition.definition [ fhir:value "The person who created the explanation of benefit." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.enterer" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.author" ]       ]     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.insurer" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.insurer" ];
       fhir:ElementDefinition.short [ fhir:value "Insurer responsible for the EOB" ];
       fhir:ElementDefinition.definition [ fhir:value "The insurer which is responsible for the explanation of benefit." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.insurer" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-organisation" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "B02" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.author" ]       ]     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.provider" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.provider" ];
       fhir:ElementDefinition.short [ fhir:value "Responsible provider for the claim" ];
       fhir:ElementDefinition.definition [ fhir:value "The provider which is responsible for the claim." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.provider" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-practitioner" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "B02" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.source" ]       ]     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.organization" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.organization" ];
       fhir:ElementDefinition.short [ fhir:value "Responsible organization for the claim" ];
       fhir:ElementDefinition.definition [ fhir:value "The provider which is responsible for the claim." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.organization" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-organisation" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "B02" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.source" ]       ]     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.referral" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.referral" ];
       fhir:ElementDefinition.short [ fhir:value "Treatment Referral" ];
       fhir:ElementDefinition.definition [ fhir:value "The referral resource which lists the date, practitioner, reason and other supporting information." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.referral" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ReferralRequest" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "B05" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.cause" ]       ]     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.facility" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.facility" ];
       fhir:ElementDefinition.short [ fhir:value "Servicing Facility" ];
       fhir:ElementDefinition.definition [ fhir:value "Facility where the services were provided." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.facility" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Location" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "where" ]       ]     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.claim" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.claim" ];
       fhir:ElementDefinition.short [ fhir:value "Claim reference" ];
       fhir:ElementDefinition.definition [ fhir:value "The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.claim" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Claim" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "A02|G01" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "why" ]       ]     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.claimResponse" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.claimResponse" ];
       fhir:ElementDefinition.short [ fhir:value "Claim response reference" ];
       fhir:ElementDefinition.definition [ fhir:value "The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.claimResponse" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ClaimResponse" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "A02|G01" ]       ]     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.outcome" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.outcome" ];
       fhir:ElementDefinition.short [ fhir:value "complete | error | partial" ];
       fhir:ElementDefinition.definition [ fhir:value "Processing outcome errror, partial or complete processing." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.outcome" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "RemittanceOutcome" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The result of the claim processing" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/remittance-outcome>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/remittance-outcome" ]         ]       ]     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.disposition" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.disposition" ];
       fhir:ElementDefinition.short [ fhir:value "Disposition Message" ];
       fhir:ElementDefinition.definition [ fhir:value "A description of the status of the adjudication." ];
       fhir:ElementDefinition.comment [ fhir:value "Do we need a disposition code?" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.disposition" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ]     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.related" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "RelatedClaim" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.related" ];
       fhir:ElementDefinition.short [ fhir:value "Related Claims which may be revelant to processing this claim" ];
       fhir:ElementDefinition.definition [ fhir:value "Other claims which are related to this claim such as prior claim versions or for related services." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.related" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.related.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.related.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.related.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.related.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.related.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.related.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.related.claim" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.related.claim" ];
       fhir:ElementDefinition.short [ fhir:value "Reference to the related claim" ];
       fhir:ElementDefinition.definition [ fhir:value "Other claims which are related to this claim such as prior claim versions or for related services." ];
       fhir:ElementDefinition.comment [ fhir:value "Do we need a relationship code?" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.related.claim" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Claim" ]       ]     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.related.relationship" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.related.relationship" ];
       fhir:ElementDefinition.short [ fhir:value "How the reference claim is related" ];
       fhir:ElementDefinition.definition [ fhir:value "For example prior or umbrella." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.related.relationship" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "RelatedClaimRelationship" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Relationship of this claim to a related Claim" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/related-claim-relationship>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/related-claim-relationship" ]         ]       ]     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.related.reference" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.related.reference" ];
       fhir:ElementDefinition.short [ fhir:value "Related file or case reference" ];
       fhir:ElementDefinition.definition [ fhir:value "An alternate organizational reference to the case or file to which this particular claim pertains - eg Property/Casualy insurer claim # or Workers Compensation case # ." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.related.reference" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ]     ], [
       fhir:index 40;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.prescription" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.prescription" ];
       fhir:ElementDefinition.short [ fhir:value "Prescription authorizing services or products" ];
       fhir:ElementDefinition.definition [ fhir:value "Prescription to support the dispensing of Pharmacy or Vision products." ];
       fhir:ElementDefinition.requirements [ fhir:value "For type=Pharmacy and Vision only." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.prescription" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/medicationrequest-pbs" ];
         fhir:ElementDefinition.type.aggregation [
           fhir:value "contained";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.originalPrescription" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.originalPrescription" ];
       fhir:ElementDefinition.short [ fhir:value "Original prescription if superceded by fulfiller" ];
       fhir:ElementDefinition.definition [ fhir:value "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'." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.originalPrescription" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ]       ]     ], [
       fhir:index 42;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payee" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Payee" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payee" ];
       fhir:ElementDefinition.short [ fhir:value "Party to be paid any benefits payable" ];
       fhir:ElementDefinition.definition [ fhir:value "The party to be reimbursed for the services." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payee" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F02" ]       ]     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payee.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payee.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payee.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payee.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 45;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payee.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payee.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 46;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payee.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payee.type" ];
       fhir:ElementDefinition.short [ fhir:value "Type of party: Subscriber, Provider, other" ];
       fhir:ElementDefinition.definition [ fhir:value "Type of Party to be reimbursed: Subscriber, provider, other." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payee.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "PayeeType" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A code for the party to be reimbursed." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/payeetype>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/payeetype" ]         ]       ]     ], [
       fhir:index 47;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payee.resourceType" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payee.resourceType" ];
       fhir:ElementDefinition.short [ fhir:value "organization | patient | practitioner | relatedperson" ];
       fhir:ElementDefinition.definition [ fhir:value "organization | patient | practitioner | relatedperson." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payee.resourceType" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "PayeeResourceType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The type of payee Resource" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/resource-type-link>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/resource-type-link" ]         ]       ]     ], [
       fhir:index 48;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payee.party" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payee.party" ];
       fhir:ElementDefinition.short [ fhir:value "Party to receive the payable" ];
       fhir:ElementDefinition.definition [ fhir:value "Party to be reimbursed: Subscriber, provider, other." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payee.party" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "B03, B04" ]       ]     ], [
       fhir:index 49;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "SupportingInformation" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information" ];
       fhir:ElementDefinition.short [ fhir:value "Exceptions, special considerations, the condition, situation, prior or concurrent issues" ];
       fhir:ElementDefinition.definition [ fhir:value "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues. Often there are mutiple jurisdiction specific valuesets which are required." ];
       fhir:ElementDefinition.requirements [ fhir:value "Typically these information codes are required to support the services rendered or the adjudication of the services rendered." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.information" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 50;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 51;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 52;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 53;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.sequence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.sequence" ];
       fhir:ElementDefinition.short [ fhir:value "Information instance identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Sequence of the information element which serves to provide a link." ];
       fhir:ElementDefinition.requirements [ fhir:value "To provide a reference link." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.information.sequence" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 54;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.category" ];
       fhir:ElementDefinition.short [ fhir:value "General class of information" ];
       fhir:ElementDefinition.definition [ fhir:value "The general class of the information supplied: information; exception; accident, employment; onset, etc." ];
       fhir:ElementDefinition.comment [ fhir:value "This may contain the local bill type codes such as the US UB-04 bill type code." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.information.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "InformationCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The valuset used for additional information category codes." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-informationcategory>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-informationcategory" ]         ]       ]     ], [
       fhir:index 55;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.code" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.code" ];
       fhir:ElementDefinition.short [ fhir:value "Type of information" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "This may contain the local bill type codes such as the US UB-04 bill type code." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.information.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "InformationCode" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The valuset used for additional information codes." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-exception>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-exception" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F23" ]       ]     ], [
       fhir:index 56;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.timing[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.timing[x]" ];
       fhir:ElementDefinition.short [ fhir:value "When it occurred" ];
       fhir:ElementDefinition.definition [ fhir:value "The date when or period to which this information refers." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.information.timing[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "date" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F24" ]       ]     ], [
       fhir:index 57;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.value[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.value[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Data or supporting information" ];
       fhir:ElementDefinition.definition [ fhir:value "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.information.value[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Attachment" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]       ]     ], [
       fhir:index 58;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.information.reason" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.information.reason" ];
       fhir:ElementDefinition.short [ fhir:value "Reason associated with the information" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.information.reason" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "MissingReason" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Reason codes for the missing teeth" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/missing-tooth-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/missing-tooth-reason" ]         ]       ]     ], [
       fhir:index 59;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "CareTeam" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam" ];
       fhir:ElementDefinition.short [ fhir:value "Care Team members" ];
       fhir:ElementDefinition.definition [ fhir:value "The members of the team who provided the overall service as well as their role and whether responsible and qualifications." ];
       fhir:ElementDefinition.requirements [ fhir:value "Role and Responsible may not be required when there is only a single provider listed." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.careTeam" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 60;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 61;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 62;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 63;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam.sequence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam.sequence" ];
       fhir:ElementDefinition.short [ fhir:value "Number to covey order of careteam" ];
       fhir:ElementDefinition.definition [ fhir:value "Sequence of careteam which serves to order and provide a link." ];
       fhir:ElementDefinition.requirements [ fhir:value "Required to maintain order of the careteam members." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.careTeam.sequence" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 64;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam.provider" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam.provider" ];
       fhir:ElementDefinition.short [ fhir:value "Member of the Care Team" ];
       fhir:ElementDefinition.definition [ fhir:value "The members of the team who provided the overall service." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.careTeam.provider" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.actor" ]       ]     ], [
       fhir:index 65;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam.responsible" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam.responsible" ];
       fhir:ElementDefinition.short [ fhir:value "Billing practitioner" ];
       fhir:ElementDefinition.definition [ fhir:value "The practitioner who is billing and responsible for the claimed services rendered to the patient." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.careTeam.responsible" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ]     ], [
       fhir:index 66;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam.role" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam.role" ];
       fhir:ElementDefinition.short [ fhir:value "Role on the team" ];
       fhir:ElementDefinition.definition [ fhir:value "The lead, assisting or supervising practitioner and their discipline if a multidisiplinary team." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.careTeam.role" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "CareTeamRole" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The role codes for the care team members." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-careteamrole>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-careteamrole" ]         ]       ]     ], [
       fhir:index 67;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.careTeam.qualification" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.careTeam.qualification" ];
       fhir:ElementDefinition.short [ fhir:value "Type, classification or Specialization" ];
       fhir:ElementDefinition.definition [ fhir:value "The qualification which is applicable for this service." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.careTeam.qualification" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ProviderQualification" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Provider professional qualifications" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/provider-qualification>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/provider-qualification" ]         ]       ]     ], [
       fhir:index 68;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.diagnosis" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Diagnosis" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.diagnosis" ];
       fhir:ElementDefinition.short [ fhir:value "List of Diagnosis" ];
       fhir:ElementDefinition.definition [ fhir:value "Ordered list of patient diagnosis for which care is sought." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.diagnosis" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 69;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.diagnosis.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.diagnosis.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 70;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.diagnosis.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.diagnosis.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 71;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.diagnosis.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.diagnosis.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 72;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.diagnosis.sequence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.diagnosis.sequence" ];
       fhir:ElementDefinition.short [ fhir:value "Number to covey order of diagnosis" ];
       fhir:ElementDefinition.definition [ fhir:value "Sequence of diagnosis which serves to provide a link." ];
       fhir:ElementDefinition.requirements [ fhir:value "Required to allow line items to reference the diagnoses." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.diagnosis.sequence" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 73;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.diagnosis.diagnosis[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.diagnosis.diagnosis[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Patient's diagnosis" ];
       fhir:ElementDefinition.definition [ fhir:value "The diagnosis." ];
       fhir:ElementDefinition.requirements [ fhir:value "Required to adjudicate services rendered to condition presented." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.diagnosis.diagnosis[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Condition" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ICD10" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "ICD10 Diagnostic codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/icd-10>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/icd-10" ]         ]       ]     ], [
       fhir:index 74;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.diagnosis.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.diagnosis.type" ];
       fhir:ElementDefinition.short [ fhir:value "Timing or nature of the diagnosis" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of the Diagnosis, for example: admitting, primary, secondary, discharge." ];
       fhir:ElementDefinition.comment [ fhir:value "Diagnosis are presented in list order to their expected importance: primary, secondary, etc." ];
       fhir:ElementDefinition.requirements [ fhir:value "Required to adjudicate services rendered to the mandated diagnosis grouping system." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.diagnosis.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "DiagnosisType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The type of the diagnosis: admitting, principal, discharge" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-diagnosistype>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-diagnosistype" ]         ]       ]     ], [
       fhir:index 75;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.diagnosis.packageCode" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.diagnosis.packageCode" ];
       fhir:ElementDefinition.short [ fhir:value "Package billing code" ];
       fhir:ElementDefinition.definition [ fhir:value "The package billing code, for example DRG, based on the assigned grouping code system." ];
       fhir:ElementDefinition.requirements [ fhir:value "Required to adjudicate services rendered to the mandated grouping system." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.diagnosis.packageCode" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "DiagnosisRelatedGroup" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The DRG codes associated with the diagnosis" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup" ]         ]       ]     ], [
       fhir:index 76;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.procedure" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Procedure" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.procedure" ];
       fhir:ElementDefinition.short [ fhir:value "Procedures performed" ];
       fhir:ElementDefinition.definition [ fhir:value "Ordered list of patient procedures performed to support the adjudication." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.procedure" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 77;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.procedure.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.procedure.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 78;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.procedure.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.procedure.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 79;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.procedure.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.procedure.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 80;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.procedure.sequence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.procedure.sequence" ];
       fhir:ElementDefinition.short [ fhir:value "Procedure sequence for reference" ];
       fhir:ElementDefinition.definition [ fhir:value "Sequence of procedures which serves to order and provide a link." ];
       fhir:ElementDefinition.requirements [ fhir:value "Required to maintain order of the procudures." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.procedure.sequence" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 81;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.procedure.date" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.procedure.date" ];
       fhir:ElementDefinition.short [ fhir:value "When the procedure was performed" ];
       fhir:ElementDefinition.definition [ fhir:value "Date and optionally time the procedure was performed ." ];
       fhir:ElementDefinition.comment [ fhir:value "SB DateTime??" ];
       fhir:ElementDefinition.requirements [ fhir:value "Required to adjudicate services rendered." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.procedure.date" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ]     ], [
       fhir:index 82;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.procedure.procedure[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.procedure.procedure[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Patient's list of procedures performed" ];
       fhir:ElementDefinition.definition [ fhir:value "The procedure code." ];
       fhir:ElementDefinition.requirements [ fhir:value "Required to adjudicate services rendered." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.procedure.procedure[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ICD10_Procedures" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "ICD10 Procedure codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/icd-10-procedures>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/icd-10-procedures" ]         ]       ]     ], [
       fhir:index 83;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.precedence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.precedence" ];
       fhir:ElementDefinition.short [ fhir:value "Precedence (primary, secondary, etc.)" ];
       fhir:ElementDefinition.definition [ fhir:value "Precedence (primary, secondary, etc.)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Health care programs and insurers are significant payors of health service costs." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.precedence" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 84;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.insurance" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Insurance" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.insurance" ];
       fhir:ElementDefinition.short [ fhir:value "Insurance or medical plan" ];
       fhir:ElementDefinition.definition [ fhir:value "Financial instrument by which payment information for health care." ];
       fhir:ElementDefinition.requirements [ fhir:value "Health care programs and insurers are significant payors of health service costs." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.insurance" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Coverage" ]       ]     ], [
       fhir:index 85;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.insurance.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.insurance.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 86;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.insurance.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.insurance.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 87;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.insurance.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.insurance.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 88;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.insurance.coverage" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.insurance.coverage" ];
       fhir:ElementDefinition.short [ fhir:value "Insurance information" ];
       fhir:ElementDefinition.definition [ fhir:value "Reference to the program or plan identification, underwriter or payor." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to identify the issuer to target for processing and for coordination of benefit processing." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.insurance.coverage" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Coverage" ]       ]     ], [
       fhir:index 89;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.insurance.preAuthRef" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.insurance.preAuthRef" ];
       fhir:ElementDefinition.short [ fhir:value "Pre-Authorization/Determination Reference" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of references from the Insurer to which these services pertain." ];
       fhir:ElementDefinition.requirements [ fhir:value "To provide any pre=determination or prior authorization reference." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.insurance.preAuthRef" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F03" ]       ]     ], [
       fhir:index 90;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.accident" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Accident" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.accident" ];
       fhir:ElementDefinition.short [ fhir:value "Details of an accident" ];
       fhir:ElementDefinition.definition [ fhir:value "An accident which resulted in the need for healthcare services." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.accident" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 91;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.accident.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.accident.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 92;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.accident.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.accident.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 93;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.accident.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.accident.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 94;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.accident.date" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.accident.date" ];
       fhir:ElementDefinition.short [ fhir:value "When the accident occurred" ];
       fhir:ElementDefinition.definition [ fhir:value "Date of an accident which these services are addressing." ];
       fhir:ElementDefinition.requirements [ fhir:value "Coverage may be dependant on accidents." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.accident.date" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "date" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F02" ]       ]     ], [
       fhir:index 95;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.accident.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.accident.type" ];
       fhir:ElementDefinition.short [ fhir:value "The nature of the accident" ];
       fhir:ElementDefinition.definition [ fhir:value "Type of accident: work, auto, etc." ];
       fhir:ElementDefinition.requirements [ fhir:value "Coverage may be dependant on the type of accident." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.accident.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "AccidentType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Type of accident: work place, auto, etc." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/v3-ActIncidentCode>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v3-ActIncidentCode" ]         ]       ]     ], [
       fhir:index 96;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.accident.location[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.accident.location[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Accident Place" ];
       fhir:ElementDefinition.definition [ fhir:value "Where the accident occurred." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.accident.location[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Address" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Location" ]       ]     ], [
       fhir:index 97;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.employmentImpacted" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.employmentImpacted" ];
       fhir:ElementDefinition.short [ fhir:value "Period unable to work" ];
       fhir:ElementDefinition.definition [ fhir:value "The start and optional end dates of when the patient was precluded from working due to the treatable condition(s)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.employmentImpacted" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ]     ], [
       fhir:index 98;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.hospitalization" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.hospitalization" ];
       fhir:ElementDefinition.short [ fhir:value "Period in hospital" ];
       fhir:ElementDefinition.definition [ fhir:value "The start and optional end dates of when the patient was confined to a treatment center." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.hospitalization" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ]     ], [
       fhir:index 99;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Item" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item" ];
       fhir:ElementDefinition.short [ fhir:value "Goods and Services" ];
       fhir:ElementDefinition.definition [ fhir:value "First tier of goods and services." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 100;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 101;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 102;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 103;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.sequence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.sequence" ];
       fhir:ElementDefinition.short [ fhir:value "Service instance" ];
       fhir:ElementDefinition.definition [ fhir:value "A service line number." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.sequence" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ];
       fhir:ElementDefinition.fixedPositiveInt [ fhir:value "1"^^xsd:positiveInteger ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F07" ]       ]     ], [
       fhir:index 104;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.careTeamLinkId" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.careTeamLinkId" ];
       fhir:ElementDefinition.short [ fhir:value "Applicable careteam members" ];
       fhir:ElementDefinition.definition [ fhir:value "Careteam applicable for this service or product line." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.careTeamLinkId" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 105;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.diagnosisLinkId" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.diagnosisLinkId" ];
       fhir:ElementDefinition.short [ fhir:value "Applicable diagnoses" ];
       fhir:ElementDefinition.definition [ fhir:value "Diagnosis applicable for this service or product line." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.diagnosisLinkId" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 106;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.procedureLinkId" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.procedureLinkId" ];
       fhir:ElementDefinition.short [ fhir:value "Applicable procedures" ];
       fhir:ElementDefinition.definition [ fhir:value "Procedures applicable for this service or product line." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.procedureLinkId" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 107;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.informationLinkId" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.informationLinkId" ];
       fhir:ElementDefinition.short [ fhir:value "Applicable exception and supporting information" ];
       fhir:ElementDefinition.definition [ fhir:value "Exceptions, special conditions and supporting information pplicable for this service or product line." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.informationLinkId" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 108;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.revenue" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.revenue" ];
       fhir:ElementDefinition.short [ fhir:value "Revenue or cost center code" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of reveneu or cost center providing the product and/or service." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.revenue" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "RevenueCenter" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for the revenue or cost centers supplying the service and/or products." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-revenue-center>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]         ]       ]     ], [
       fhir:index 109;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.category" ];
       fhir:ElementDefinition.short [ fhir:value "Type of service or product" ];
       fhir:ElementDefinition.definition [ fhir:value "Health Care Service Type Codes  to identify the classification of service or benefits." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1>;
           fhir:Reference.reference [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1" ]         ]       ]     ], [
       fhir:index 110;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.service" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.service" ];
       fhir:ElementDefinition.short [ fhir:value "Billing Code" ];
       fhir:ElementDefinition.definition [ fhir:value "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'." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.service" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <https://healthterminologies.gov.au/fhir/ValueSet/australian-dhs-modifications-pbs-mbs-dva-item-1>;
           fhir:Reference.reference [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/australian-dhs-modifications-pbs-mbs-dva-item-1" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F06" ]       ]     ], [
       fhir:index 111;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.modifier" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.modifier" ];
       fhir:ElementDefinition.short [ fhir:value "Service/Product billing modifiers" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "May impact on adjudication." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.modifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Modifiers" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-modifiers>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-modifiers" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F16 (required field for Oral) and F05" ]       ]     ], [
       fhir:index 112;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.programCode" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.programCode" ];
       fhir:ElementDefinition.short [ fhir:value "Program specific reason for item inclusion" ];
       fhir:ElementDefinition.definition [ fhir:value "For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.programCode" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ProgramCode" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Program specific reason codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-program-code>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-program-code" ]         ]       ]     ], [
       fhir:index 113;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.serviced[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.serviced[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Date or dates of Service" ];
       fhir:ElementDefinition.definition [ fhir:value "The date or dates when the enclosed suite of services were performed or completed." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.serviced[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "date" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F09" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.done" ]       ]     ], [
       fhir:index 114;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.location[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.location[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Place of service" ];
       fhir:ElementDefinition.definition [ fhir:value "Where the service was provided." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.location[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Address" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Location" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ServicePlace" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Place where the service is rendered" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/service-place>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/service-place" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "where" ]       ]     ], [
       fhir:index 115;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.quantity" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.quantity" ];
       fhir:ElementDefinition.short [ fhir:value "Count of Products or Services" ];
       fhir:ElementDefinition.definition [ fhir:value "The number of repetitions of a service or product." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.quantity" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 116;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.unitPrice" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.unitPrice" ];
       fhir:ElementDefinition.short [ fhir:value "Fee, charge or cost per point" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.unitPrice" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F12" ]       ]     ], [
       fhir:index 117;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.factor" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.factor" ];
       fhir:ElementDefinition.short [ fhir:value "Price scaling factor" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "If a fee is present the associated product/service code must be present." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.factor" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F13/F14" ]       ]     ], [
       fhir:index 118;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.net" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.net" ];
       fhir:ElementDefinition.short [ fhir:value "Total item cost" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "If a fee is present the associated product/service code must be present." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.net" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F13/F14" ]       ]     ], [
       fhir:index 119;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.udi" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.udi" ];
       fhir:ElementDefinition.short [ fhir:value "Unique Device Identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "List of Unique Device Identifiers associated with this line item." ];
       fhir:ElementDefinition.requirements [ fhir:value "The UDI code and issuer if applicable for the supplied product." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.udi" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ]       ]     ], [
       fhir:index 120;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.bodySite" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.bodySite" ];
       fhir:ElementDefinition.short [ fhir:value "Service Location" ];
       fhir:ElementDefinition.definition [ fhir:value "Physical service site on the patient (limb, tooth, etc)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.bodySite" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "OralSites" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The code for the teeth, quadrant, sextant and arch" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/tooth>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/tooth" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F10" ]       ]     ], [
       fhir:index 121;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.subSite" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.subSite" ];
       fhir:ElementDefinition.short [ fhir:value "Service Sub-location" ];
       fhir:ElementDefinition.definition [ fhir:value "A region or surface of the site, eg. limb region or tooth surface(s)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.subSite" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Surface" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The code for the tooth surface and surface combinations" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/surface>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/surface" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F11" ]       ]     ], [
       fhir:index 122;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.encounter" ];
       fhir:ElementDefinition.short [ fhir:value "Encounters related to this billed item" ];
       fhir:ElementDefinition.definition [ fhir:value "A billed item may include goods or services provided in multiple encounters." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.encounter" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter" ]       ]     ], [
       fhir:index 123;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.noteNumber" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.noteNumber" ];
       fhir:ElementDefinition.short [ fhir:value "List of note numbers which apply" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of note references to the notes provided below." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.noteNumber" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 124;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.adjudication" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Adjudication" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.adjudication" ];
       fhir:ElementDefinition.short [ fhir:value "Adjudication details" ];
       fhir:ElementDefinition.definition [ fhir:value "The adjudications results." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.adjudication" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 125;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.adjudication.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.adjudication.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 126;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.adjudication.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.adjudication.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 127;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.adjudication.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.adjudication.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 128;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.adjudication.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.adjudication.category" ];
       fhir:ElementDefinition.short [ fhir:value "Adjudication category such as co-pay, eligible, benefit, etc." ];
       fhir:ElementDefinition.definition [ fhir:value "Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.adjudication.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Adjudication" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The adjudication codes." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/adjudication>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/adjudication" ]         ]       ]     ], [
       fhir:index 129;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.adjudication.reason" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.adjudication.reason" ];
       fhir:ElementDefinition.short [ fhir:value "Explanation of Adjudication outcome" ];
       fhir:ElementDefinition.definition [ fhir:value "Adjudication reason such as limit reached." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.adjudication.reason" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "AdjudicationReason" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Adjudication reason codes." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/adjudication-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/adjudication-reason" ]         ]       ]     ], [
       fhir:index 130;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.adjudication.amount" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.adjudication.amount" ];
       fhir:ElementDefinition.short [ fhir:value "Monetary amount" ];
       fhir:ElementDefinition.definition [ fhir:value "Monitory amount associated with the code." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.adjudication.amount" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 131;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.adjudication.value" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.adjudication.value" ];
       fhir:ElementDefinition.short [ fhir:value "Non-monitory value" ];
       fhir:ElementDefinition.definition [ fhir:value "A non-monetary value for example a percentage. Mutually exclusive to the amount element above." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.adjudication.value" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ]     ], [
       fhir:index 132;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Detail" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail" ];
       fhir:ElementDefinition.short [ fhir:value "Additional items" ];
       fhir:ElementDefinition.definition [ fhir:value "Second tier of goods and services." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 133;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 134;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 135;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 136;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.sequence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.sequence" ];
       fhir:ElementDefinition.short [ fhir:value "Service instance" ];
       fhir:ElementDefinition.definition [ fhir:value "A service line number." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.sequence" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F07" ]       ]     ], [
       fhir:index 137;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.type" ];
       fhir:ElementDefinition.short [ fhir:value "Group or type of product or service" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of product or service." ];
       fhir:ElementDefinition.comment [ fhir:value "ItemType." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ItemType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Service, Product, Rx Dispense, Rx Compound etc." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode" ]         ]       ]     ], [
       fhir:index 138;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.revenue" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.revenue" ];
       fhir:ElementDefinition.short [ fhir:value "Revenue or cost center code" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of reveneu or cost center providing the product and/or service." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.revenue" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "RevenueCenter" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for the revenue or cost centers supplying the service and/or products." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-revenue-center>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]         ]       ]     ], [
       fhir:index 139;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.category" ];
       fhir:ElementDefinition.short [ fhir:value "Type of service or product" ];
       fhir:ElementDefinition.definition [ fhir:value "Health Care Service Type Codes  to identify the classification of service or benefits." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitSubCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Benefit subcategories such as: oral-basic, major, glasses" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-subcategory>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-subcategory" ]         ]       ]     ], [
       fhir:index 140;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.service" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.service" ];
       fhir:ElementDefinition.short [ fhir:value "Billing Code" ];
       fhir:ElementDefinition.definition [ fhir:value "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'." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.service" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ServiceProduct" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Allowable service and product codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/service-uscls>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/service-uscls" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F34/F35" ]       ]     ], [
       fhir:index 141;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.modifier" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.modifier" ];
       fhir:ElementDefinition.short [ fhir:value "Service/Product billing modifiers" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "May impact on adjudication." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.modifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Modifiers" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-modifiers>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-modifiers" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F16 (required field for Oral) and F05" ]       ]     ], [
       fhir:index 142;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.programCode" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.programCode" ];
       fhir:ElementDefinition.short [ fhir:value "Program specific reason for item inclusion" ];
       fhir:ElementDefinition.definition [ fhir:value "For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.programCode" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ProgramCode" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Program specific reason codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-program-code>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-program-code" ]         ]       ]     ], [
       fhir:index 143;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.quantity" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.quantity" ];
       fhir:ElementDefinition.short [ fhir:value "Count of Products or Services" ];
       fhir:ElementDefinition.definition [ fhir:value "The number of repetitions of a service or product." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.quantity" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ]     ], [
       fhir:index 144;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.unitPrice" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.unitPrice" ];
       fhir:ElementDefinition.short [ fhir:value "Fee, charge or cost per point" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "If a fee is present the associated product/service code must be present." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.unitPrice" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F13/F14" ]       ]     ], [
       fhir:index 145;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.factor" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.factor" ];
       fhir:ElementDefinition.short [ fhir:value "Price scaling factor" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "If a fee is present the associated product/service code must be present." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.factor" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F13/F14" ]       ]     ], [
       fhir:index 146;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.net" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.net" ];
       fhir:ElementDefinition.short [ fhir:value "Total additional item cost" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "If a fee is present the associated product/service code must be present." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.net" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F13/F14" ]       ]     ], [
       fhir:index 147;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.udi" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.udi" ];
       fhir:ElementDefinition.short [ fhir:value "Unique Device Identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "List of Unique Device Identifiers associated with this line item." ];
       fhir:ElementDefinition.requirements [ fhir:value "The UDI code and issuer if applicable for the supplied product." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.udi" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ]       ]     ], [
       fhir:index 148;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.noteNumber" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.noteNumber" ];
       fhir:ElementDefinition.short [ fhir:value "List of note numbers which apply" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of note references to the notes provided below." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.noteNumber" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 149;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.adjudication" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.adjudication" ];
       fhir:ElementDefinition.short [ fhir:value "Detail level adjudication details" ];
       fhir:ElementDefinition.definition [ fhir:value "The adjudications results." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.adjudication" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit#ExplanationOfBenefit.item.adjudication" ]     ], [
       fhir:index 150;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "SubDetail" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail" ];
       fhir:ElementDefinition.short [ fhir:value "Additional items" ];
       fhir:ElementDefinition.definition [ fhir:value "Third tier of goods and services." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 151;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 152;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 153;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 154;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.sequence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.sequence" ];
       fhir:ElementDefinition.short [ fhir:value "Service instance" ];
       fhir:ElementDefinition.definition [ fhir:value "A service line number." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.sequence" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F07" ]       ]     ], [
       fhir:index 155;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.type" ];
       fhir:ElementDefinition.short [ fhir:value "Type of product or service" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of product or service." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ItemType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Service, Product, Rx Dispense, Rx Compound etc." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode" ]         ]       ]     ], [
       fhir:index 156;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.revenue" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.revenue" ];
       fhir:ElementDefinition.short [ fhir:value "Revenue or cost center code" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of reveneu or cost center providing the product and/or service." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.revenue" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "RevenueCenter" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for the revenue or cost centers supplying the service and/or products." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-revenue-center>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]         ]       ]     ], [
       fhir:index 157;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.category" ];
       fhir:ElementDefinition.short [ fhir:value "Type of service or product" ];
       fhir:ElementDefinition.definition [ fhir:value "Health Care Service Type Codes  to identify the classification of service or benefits." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitSubCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Benefit subcategories such as: oral-basic, major, glasses" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-subcategory>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-subcategory" ]         ]       ]     ], [
       fhir:index 158;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.service" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.service" ];
       fhir:ElementDefinition.short [ fhir:value "Billing Code" ];
       fhir:ElementDefinition.definition [ fhir:value "A code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.service" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ServiceProduct" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Allowable service and product codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/service-uscls>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/service-uscls" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F34/F35" ]       ]     ], [
       fhir:index 159;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.modifier" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.modifier" ];
       fhir:ElementDefinition.short [ fhir:value "Service/Product billing modifiers" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "May impact on adjudication." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.modifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Modifiers" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-modifiers>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-modifiers" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F16 (required field for Oral) and F05" ]       ]     ], [
       fhir:index 160;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.programCode" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.programCode" ];
       fhir:ElementDefinition.short [ fhir:value "Program specific reason for item inclusion" ];
       fhir:ElementDefinition.definition [ fhir:value "For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.programCode" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ProgramCode" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Program specific reason codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-program-code>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-program-code" ]         ]       ]     ], [
       fhir:index 161;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.quantity" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.quantity" ];
       fhir:ElementDefinition.short [ fhir:value "Count of Products or Services" ];
       fhir:ElementDefinition.definition [ fhir:value "The number of repetitions of a service or product." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.quantity" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ]     ], [
       fhir:index 162;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.unitPrice" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.unitPrice" ];
       fhir:ElementDefinition.short [ fhir:value "Fee, charge or cost per point" ];
       fhir:ElementDefinition.definition [ fhir:value "The fee for an addittional service or product or charge." ];
       fhir:ElementDefinition.requirements [ fhir:value "If a fee is present the associated product/service code must be present." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.unitPrice" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F13/F14" ]       ]     ], [
       fhir:index 163;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.factor" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.factor" ];
       fhir:ElementDefinition.short [ fhir:value "Price scaling factor" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "If a fee is present the associated product/service code must be present." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.factor" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F13/F14" ]       ]     ], [
       fhir:index 164;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.net" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.net" ];
       fhir:ElementDefinition.short [ fhir:value "Net additional item cost" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "If a fee is present the associated product/service code must be present." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.net" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F13/F14" ]       ]     ], [
       fhir:index 165;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.udi" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.udi" ];
       fhir:ElementDefinition.short [ fhir:value "Unique Device Identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "List of Unique Device Identifiers associated with this line item." ];
       fhir:ElementDefinition.requirements [ fhir:value "The UDI code and issuer if applicable for the supplied product." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.udi" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ]       ]     ], [
       fhir:index 166;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.noteNumber" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.noteNumber" ];
       fhir:ElementDefinition.short [ fhir:value "List of note numbers which apply" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of note references to the notes provided below." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.noteNumber" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 167;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.adjudication" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.adjudication" ];
       fhir:ElementDefinition.short [ fhir:value "Language if different from the resource" ];
       fhir:ElementDefinition.definition [ fhir:value "The adjudications results." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.item.detail.subDetail.adjudication" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit#ExplanationOfBenefit.item.adjudication" ]     ], [
       fhir:index 168;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "AddedItem" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem" ];
       fhir:ElementDefinition.short [ fhir:value "Insurer added line items" ];
       fhir:ElementDefinition.definition [ fhir:value "The first tier service adjudications for payor added services." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 169;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 170;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 171;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 172;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.sequenceLinkId" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.sequenceLinkId" ];
       fhir:ElementDefinition.short [ fhir:value "Service instances" ];
       fhir:ElementDefinition.definition [ fhir:value "List of input service items which this service line is intended to replace." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.sequenceLinkId" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 173;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.revenue" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.revenue" ];
       fhir:ElementDefinition.short [ fhir:value "Revenue or cost center code" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of reveneu or cost center providing the product and/or service." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.revenue" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "RevenueCenter" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for the revenue or cost centers supplying the service and/or products." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-revenue-center>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]         ]       ]     ], [
       fhir:index 174;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.category" ];
       fhir:ElementDefinition.short [ fhir:value "Type of service or product" ];
       fhir:ElementDefinition.definition [ fhir:value "Health Care Service Type Codes  to identify the classification of service or benefits." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitSubCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Benefit subcategories such as: oral-basic, major, glasses" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-subcategory>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-subcategory" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F06" ]       ]     ], [
       fhir:index 175;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.service" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.service" ];
       fhir:ElementDefinition.short [ fhir:value "Billing Code" ];
       fhir:ElementDefinition.definition [ fhir:value "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'." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.service" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ServiceProduct" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Allowable service and product codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/service-uscls>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/service-uscls" ]         ]       ]     ], [
       fhir:index 176;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.modifier" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.modifier" ];
       fhir:ElementDefinition.short [ fhir:value "Service/Product billing modifiers" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "May impact on adjudication." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.modifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Modifiers" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-modifiers>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-modifiers" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F16 (required field for Oral) and F05" ]       ]     ], [
       fhir:index 177;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.fee" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.fee" ];
       fhir:ElementDefinition.short [ fhir:value "Professional fee or Product charge" ];
       fhir:ElementDefinition.definition [ fhir:value "The fee charged for the professional service or product." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.fee" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 178;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.noteNumber" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.noteNumber" ];
       fhir:ElementDefinition.short [ fhir:value "List of note numbers which apply" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of note references to the notes provided below." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.noteNumber" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 179;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.adjudication" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.adjudication" ];
       fhir:ElementDefinition.short [ fhir:value "Added items adjudication" ];
       fhir:ElementDefinition.definition [ fhir:value "The adjudications results." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.adjudication" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit#ExplanationOfBenefit.item.adjudication" ]     ], [
       fhir:index 180;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "AddedItemsDetail" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail" ];
       fhir:ElementDefinition.short [ fhir:value "Added items details" ];
       fhir:ElementDefinition.definition [ fhir:value "The second tier service adjudications for payor added services." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.detail" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 181;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 182;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 183;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 184;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.revenue" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.revenue" ];
       fhir:ElementDefinition.short [ fhir:value "Revenue or cost center code" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of reveneu or cost center providing the product and/or service." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.detail.revenue" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "RevenueCenter" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for the revenue or cost centers supplying the service and/or products." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-revenue-center>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-revenue-center" ]         ]       ]     ], [
       fhir:index 185;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.category" ];
       fhir:ElementDefinition.short [ fhir:value "Type of service or product" ];
       fhir:ElementDefinition.definition [ fhir:value "Health Care Service Type Codes  to identify the classification of service or benefits." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.detail.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitSubCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Benefit subcategories such as: oral-basic, major, glasses" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-subcategory>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-subcategory" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F06" ]       ]     ], [
       fhir:index 186;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.service" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.service" ];
       fhir:ElementDefinition.short [ fhir:value "Billing Code" ];
       fhir:ElementDefinition.definition [ fhir:value "A code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.detail.service" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ServiceProduct" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Allowable service and product codes" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/service-uscls>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/service-uscls" ]         ]       ]     ], [
       fhir:index 187;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.modifier" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.modifier" ];
       fhir:ElementDefinition.short [ fhir:value "Service/Product billing modifiers" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "May impact on adjudication." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.detail.modifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Modifiers" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/claim-modifiers>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/claim-modifiers" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "F16 (required field for Oral) and F05" ]       ]     ], [
       fhir:index 188;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.fee" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.fee" ];
       fhir:ElementDefinition.short [ fhir:value "Professional fee or Product charge" ];
       fhir:ElementDefinition.definition [ fhir:value "The fee charged for the professional service or product." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.detail.fee" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 189;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.noteNumber" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.noteNumber" ];
       fhir:ElementDefinition.short [ fhir:value "List of note numbers which apply" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of note references to the notes provided below." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.detail.noteNumber" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 190;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.addItem.detail.adjudication" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.addItem.detail.adjudication" ];
       fhir:ElementDefinition.short [ fhir:value "Added items detail adjudication" ];
       fhir:ElementDefinition.definition [ fhir:value "The adjudications results." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.addItem.detail.adjudication" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit#ExplanationOfBenefit.item.adjudication" ]     ], [
       fhir:index 191;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.totalCost" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.totalCost" ];
       fhir:ElementDefinition.short [ fhir:value "Total Cost of service from the Claim" ];
       fhir:ElementDefinition.definition [ fhir:value "The total cost of the services reported." ];
       fhir:ElementDefinition.requirements [ fhir:value "This is a check value that the receiver calculates and returns." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.totalCost" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 192;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.unallocDeductable" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.unallocDeductable" ];
       fhir:ElementDefinition.short [ fhir:value "Unallocated deductable" ];
       fhir:ElementDefinition.definition [ fhir:value "The amount of deductable applied which was not allocated to any particular service line." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.unallocDeductable" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 193;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.totalBenefit" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.totalBenefit" ];
       fhir:ElementDefinition.short [ fhir:value "Total benefit payable for the Claim" ];
       fhir:ElementDefinition.definition [ fhir:value "Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductable)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.totalBenefit" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 194;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Payment" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment" ];
       fhir:ElementDefinition.short [ fhir:value "Payment (if paid)" ];
       fhir:ElementDefinition.definition [ fhir:value "Payment details for the claim if the claim has been paid." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payment" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 195;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 196;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 197;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 198;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.type" ];
       fhir:ElementDefinition.short [ fhir:value "Partial or Complete" ];
       fhir:ElementDefinition.definition [ fhir:value "Whether this represents partial or complete payment of the claim." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payment.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "PaymentType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The type (partial, complete) of the payment" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/ex-paymenttype>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/ex-paymenttype" ]         ]       ]     ], [
       fhir:index 199;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.adjustment" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.adjustment" ];
       fhir:ElementDefinition.short [ fhir:value "Payment adjustment for non-Claim issues" ];
       fhir:ElementDefinition.definition [ fhir:value "Adjustment to the payment of this transaction which is not related to adjudication of this transaction." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payment.adjustment" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 200;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.adjustmentReason" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.adjustmentReason" ];
       fhir:ElementDefinition.short [ fhir:value "Explanation for the non-claim adjustment" ];
       fhir:ElementDefinition.definition [ fhir:value "Reason for the payment adjustment." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payment.adjustmentReason" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "PaymentAdjustmentReason" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Payment Adjustment reason codes." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/payment-adjustment-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/payment-adjustment-reason" ]         ]       ]     ], [
       fhir:index 201;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.date" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.date" ];
       fhir:ElementDefinition.short [ fhir:value "Expected date of Payment" ];
       fhir:ElementDefinition.definition [ fhir:value "Estimated payment date." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payment.date" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "date" ]       ]     ], [
       fhir:index 202;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.amount" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.amount" ];
       fhir:ElementDefinition.short [ fhir:value "Payable amount after adjustment" ];
       fhir:ElementDefinition.definition [ fhir:value "Payable less any payment adjustment." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payment.amount" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 203;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.payment.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.payment.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "Identifier of the payment instrument" ];
       fhir:ElementDefinition.definition [ fhir:value "Payment identifer." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.payment.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "G01, B.23" ]       ]     ], [
       fhir:index 204;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.form" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.form" ];
       fhir:ElementDefinition.short [ fhir:value "Printed Form Identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "The form to be used for printing the content." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.form" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Forms" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The forms codes." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/forms>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/forms" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "G42" ]       ]     ], [
       fhir:index 205;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.processNote" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Note" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.processNote" ];
       fhir:ElementDefinition.short [ fhir:value "Processing notes" ];
       fhir:ElementDefinition.definition [ fhir:value "Note text." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.processNote" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 206;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.processNote.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.processNote.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 207;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.processNote.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.processNote.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 208;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.processNote.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.processNote.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 209;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.processNote.number" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.processNote.number" ];
       fhir:ElementDefinition.short [ fhir:value "Sequence number for this note" ];
       fhir:ElementDefinition.definition [ fhir:value "An integer associated with each note which may be referred to from each service line item." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.processNote.number" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ]     ], [
       fhir:index 210;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.processNote.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.processNote.type" ];
       fhir:ElementDefinition.short [ fhir:value "display | print | printoper" ];
       fhir:ElementDefinition.definition [ fhir:value "The note purpose: Print/Display." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.processNote.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "NoteType" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The presentation types of notes." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/note-type>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/note-type" ]         ]       ]     ], [
       fhir:index 211;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.processNote.text" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.processNote.text" ];
       fhir:ElementDefinition.short [ fhir:value "Note explanitory text" ];
       fhir:ElementDefinition.definition [ fhir:value "The note text." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.processNote.text" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "cdanetv4" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "G32" ]       ]     ], [
       fhir:index 212;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.processNote.language" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.processNote.language" ];
       fhir:ElementDefinition.short [ fhir:value "Language if different from the resource" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.processNote.language" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
           fhir:Extension.valueReference [
             fhir:link <http://hl7.org/fhir/ValueSet/all-languages>;
             fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ]           ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Language" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/languages>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ]         ]       ]     ], [
       fhir:index 213;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "BenefitBalance" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance" ];
       fhir:ElementDefinition.short [ fhir:value "Balance by Benefit Category" ];
       fhir:ElementDefinition.definition [ fhir:value "Balance by Benefit Category." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 214;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 215;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 216;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 217;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.category" ];
       fhir:ElementDefinition.short [ fhir:value "Type of services covered" ];
       fhir:ElementDefinition.definition [ fhir:value "Dental, Vision, Medical, Pharmacy, Rehab etc." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Benefit categories such as: oral, medical, vision etc." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-category>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-category" ]         ]       ]     ], [
       fhir:index 218;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.subCategory" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.subCategory" ];
       fhir:ElementDefinition.short [ fhir:value "Detailed services covered within the type" ];
       fhir:ElementDefinition.definition [ fhir:value "Dental: basic, major, ortho; Vision exam, glasses, contacts; etc." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.subCategory" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitSubCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Benefit subcategories such as: oral-basic, major, glasses" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-subcategory>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-subcategory" ]         ]       ]     ], [
       fhir:index 219;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.excluded" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.excluded" ];
       fhir:ElementDefinition.short [ fhir:value "Excluded from the plan" ];
       fhir:ElementDefinition.definition [ fhir:value "True if the indicated class of service is excluded from the plan, missing or False indicated the service is included in the coverage." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.excluded" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ]     ], [
       fhir:index 220;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.name" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.name" ];
       fhir:ElementDefinition.short [ fhir:value "Short name for the benefit" ];
       fhir:ElementDefinition.definition [ fhir:value "A short name or tag for the benefit, for example MED01, or DENT2." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.name" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ]     ], [
       fhir:index 221;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.description" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.description" ];
       fhir:ElementDefinition.short [ fhir:value "Description of the benefit or services covered" ];
       fhir:ElementDefinition.definition [ fhir:value "A richer description of the benefit, for example 'DENT2 covers 100% of basic, 50% of major but exclused Ortho, Implants and Costmetic services'." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.description" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ]     ], [
       fhir:index 222;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.network" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.network" ];
       fhir:ElementDefinition.short [ fhir:value "In or out of network" ];
       fhir:ElementDefinition.definition [ fhir:value "Network designation." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.network" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitNetwork" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Code to classify in or out of network services" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-network>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-network" ]         ]       ]     ], [
       fhir:index 223;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.unit" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.unit" ];
       fhir:ElementDefinition.short [ fhir:value "Individual or family" ];
       fhir:ElementDefinition.definition [ fhir:value "Unit designation: individual or family." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.unit" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitUnit" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Unit covered/serviced - individual or family" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-unit>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-unit" ]         ]       ]     ], [
       fhir:index 224;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.term" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.term" ];
       fhir:ElementDefinition.short [ fhir:value "Annual or lifetime" ];
       fhir:ElementDefinition.definition [ fhir:value "The term or period of the values such as 'maximum lifetime benefit' or 'maximum annual vistis'." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.term" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitTerm" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Coverage unit - annual, lifetime" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-term>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-term" ]         ]       ]     ], [
       fhir:index 225;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.financial" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" ];
         fhir:Extension.valueString [ fhir:value "Benefit" ]       ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial" ];
       fhir:ElementDefinition.short [ fhir:value "Benefit Summary" ];
       fhir:ElementDefinition.definition [ fhir:value "Benefits Used to date." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]       ]     ], [
       fhir:index 226;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.id" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 227;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 228;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element 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." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 229;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.type" ];
       fhir:ElementDefinition.short [ fhir:value "Deductable, visits, benefit amount" ];
       fhir:ElementDefinition.definition [ fhir:value "Deductable, visits, benefit amount." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "BenefitType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Deductable, visits, co-pay, etc." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/benefit-type>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/benefit-type" ]         ]       ]     ], [
       fhir:index 230;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Benefits allowed" ];
       fhir:ElementDefinition.definition [ fhir:value "Benefits allowed." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "unsignedInt" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ], [
       fhir:index 231;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.used[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.used[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Benefits used" ];
       fhir:ElementDefinition.definition [ fhir:value "Benefits used." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ExplanationOfBenefit.benefitBalance.financial.used[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "unsignedInt" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Money" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-01" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "A PBS or RPBS claim SHALL include a prescription." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "prescription.exists() implies (subType.coding.code='pbs' or subType.coding.code='rpbs' or item.category.coding.code='pbs' or item.category.coding.code='rpbs')" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-02" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "A MBS or DVABS claim SHALL NOT include a prescription." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "prescription.empty() implies (subType.coding.code='mbs' or subType.coding.code='dva' or item.category.coding.code='mbs' or item.category.coding.code='dva')" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-03" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "One of subType or item.category SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "subType.exists() or item.category.exists()" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-04" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "A PBS claim SHALL be of type 'Pharmacy' (type='pharmacy')." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "prescription.exists() implies type.coding.code='pharmacy'" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-eob-05" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare'." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/explanationofbenefit-medicare').exists()" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.meta.profile" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.meta.profile" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.identifier" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.status" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.status" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "active" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.type" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.type" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.subType" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.subType" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetUri [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1" ]       ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.patient" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.patient" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-patient" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.created" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.created" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.insurer" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.insurer" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-organisation" ]       ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.provider" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.provider" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-practitioner" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.organization" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.organization" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-organisation" ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.prescription" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.prescription" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/medicationrequest-pbs" ];
         fhir:ElementDefinition.type.aggregation [
           fhir:value "contained";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.sequence" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.sequence" ];
       fhir:ElementDefinition.fixedPositiveInt [ fhir:value "1"^^xsd:positiveInteger ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.category" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.category" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.valueSetUri [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/australian-medicare-benefit-claim-category-1" ]       ]     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.service" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.service" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetUri [ fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/australian-dhs-modifications-pbs-mbs-dva-item-1" ]       ]     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.serviced[x]" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.serviced[x]" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "ExplanationOfBenefit.item.quantity" ];
       fhir:ElementDefinition.path [ fhir:value "ExplanationOfBenefit.item.quantity" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ]
  ].

<http://hl7.org/fhir/ValueSet/security-labels> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/common-tags> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/all-languages> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/languages> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/explanationofbenefit-status> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/claim-type> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/remittance-outcome> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/related-claim-relationship> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/payeetype> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/resource-type-link> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/claim-informationcategory> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/claim-exception> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/missing-tooth-reason> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/claim-careteamrole> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/provider-qualification> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/icd-10> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/ex-diagnosistype> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/icd-10-procedures> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/v3-ActIncidentCode> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/ex-revenue-center> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/claim-modifiers> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/ex-program-code> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/service-place> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/tooth> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/surface> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/adjudication> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/adjudication-reason> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/benefit-subcategory> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/service-uscls> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/ex-paymenttype> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/payment-adjustment-reason> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/forms> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/note-type> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/benefit-category> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/benefit-network> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/benefit-unit> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/benefit-term> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/benefit-type> a fhir:ValueSet.

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.