FHIR © HL7.org  |  Server Home  |  Health Intersections FHIR Server v1.0.351  |  FHIR Version 3.0.2  | User: ANONYMOUS (Unknown)  

Resource "ExplanationOfBenefit" Version "5" (StructureDefinition)

Tags:

XML or JSON representation. Try out the Profile as a questionnaire based web form . Edit this as XML or JSON. provenance for this resource

Generated Narrative with Details

id: ExplanationOfBenefit

meta:

url: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit

name: ExplanationOfBenefit

status: draft

date: 10/24/2019 11:53:00 AM

publisher: Health Level Seven International (Financial Management)

contact: ,

description: Base StructureDefinition for ExplanationOfBenefit Resource

fhirVersion: 3.0.2

kind: resource

abstract: false

type: ExplanationOfBenefit

baseDefinition: http://hl7.org/fhir/StructureDefinition/DomainResource

derivation: specialization


<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ExplanationOfBenefit"/>
  <meta>
    <versionId value="5"/>
    <lastUpdated value="2020-08-11T14:59:33.531Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: ExplanationOfBenefit</p>
      <p>
        <b>meta</b>: </p>
      <p>
        <b>url</b>:
        <a href="http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit">http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit</a>
      </p>
      <p>
        <b>name</b>: ExplanationOfBenefit</p>
      <p>
        <b>status</b>: draft</p>
      <p>
        <b>date</b>: 10/24/2019 11:53:00 AM</p>
      <p>
        <b>publisher</b>: Health Level Seven International (Financial Management)</p>
      <p>
        <b>contact</b>: , </p>
      <p>
        <b>description</b>: Base StructureDefinition for ExplanationOfBenefit Resource</p>
      <p>
        <b>fhirVersion</b>: 3.0.2</p>
      <p>
        <b>kind</b>: resource</p>
      <p>
        <b>abstract</b>: false</p>
      <p>
        <b>type</b>: ExplanationOfBenefit</p>
      <p>
        <b>baseDefinition</b>:
        <a href="http://hl7.org/fhir/StructureDefinition/DomainResource">http://hl7.org/fhir/StructureDefinition/DomainResource</a>
      </p>
      <p>
        <b>derivation</b>: specialization</p>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="2"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fm"/>
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit"/>
  <name value="ExplanationOfBenefit"/>
  <status value="draft"/>
  <date value="2019-10-24T11:53:00+11:00"/>
  <publisher value="Health Level Seven International (Financial Management)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fm/index.cfm"/>
    </telecom>
  </contact>
  <description value="Base StructureDefinition for ExplanationOfBenefit Resource"/>
  <fhirVersion value="3.0.2"/>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <mapping>
    <identity value="cdanetv4"/>
    <uri value="http://www.cda-adc.ca/en/services/cdanet/"/>
    <name value="Canadian Dental Association eclaims standard"/>
  </mapping>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="ExplanationOfBenefit"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="ExplanationOfBenefit">
      <path value="ExplanationOfBenefit"/>
      <short value="Explanation of Benefit resource"/>
      <definition 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."/>
      <alias value="EOB"/>
      <min value="0"/>
      <max value="*"/>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression value="contained.where((&apos;#&apos;+id in %resource.descendants().reference).not()).empty()"/>
        <xpath value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&apos;#&apos;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="financial.other"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.id">
      <path value="ExplanationOfBenefit.id"/>
      <short value="Logical id of this artifact"/>
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="ExplanationOfBenefit.meta">
      <path value="ExplanationOfBenefit.meta"/>
      <short value="Metadata about the resource"/>
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="ExplanationOfBenefit.implicitRules">
      <path value="ExplanationOfBenefit.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
      <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. &#10;&#10;This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&apos;s meaning or interpretation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="ExplanationOfBenefit.language">
      <path value="ExplanationOfBenefit.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.text">
      <path value="ExplanationOfBenefit.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition value="A human-readable narrative that contains a summary of the resource, and 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 &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.contained">
      <path value="ExplanationOfBenefit.contained"/>
      <short value="Contained, inline Resources"/>
      <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
      <comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.extension">
      <path value="ExplanationOfBenefit.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.modifierExtension">
      <path value="ExplanationOfBenefit.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.identifier">
      <path value="ExplanationOfBenefit.identifier"/>
      <short value="Business Identifier"/>
      <definition value="The EOB Business Identifier."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.status">
      <path value="ExplanationOfBenefit.status"/>
      <short value="active | cancelled | draft | entered-in-error"/>
      <definition value="The status of the resource instance."/>
      <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ExplanationOfBenefitStatus"/>
        </extension>
        <strength value="required"/>
        <description value="A code specifying the state of the resource instance."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/explanationofbenefit-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.type">
      <path value="ExplanationOfBenefit.type"/>
      <short value="Type or discipline"/>
      <definition value="The category of claim, eg, oral, pharmacy, vision, insitutional, professional."/>
      <comment value="Affects which fields and value sets are used."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ClaimType"/>
        </extension>
        <strength value="required"/>
        <description value="The type or discipline-style of the claim"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.subType">
      <path value="ExplanationOfBenefit.subType"/>
      <short value="Finer grained claim type information"/>
      <definition 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."/>
      <comment value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ClaimSubType"/>
        </extension>
        <strength value="example"/>
        <description value="A more granulat claim typecode"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-subtype"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.patient">
      <path value="ExplanationOfBenefit.patient"/>
      <short value="The subject of the Products and Services"/>
      <definition value="Patient Resource."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="C06,C07,C08, C05, C04"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.billablePeriod">
      <path value="ExplanationOfBenefit.billablePeriod"/>
      <short value="Period for charge submission"/>
      <definition value="The billable period for which charges are being submitted."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.created">
      <path value="ExplanationOfBenefit.created"/>
      <short value="Creation date"/>
      <definition value="The date when the EOB was created."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.enterer">
      <path value="ExplanationOfBenefit.enterer"/>
      <short value="Author"/>
      <definition value="The person who created the explanation of benefit."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="who.author"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.insurer">
      <path value="ExplanationOfBenefit.insurer"/>
      <short value="Insurer responsible for the EOB"/>
      <definition value="The insurer which is responsible for the explanation of benefit."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B02"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.author"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.provider">
      <path value="ExplanationOfBenefit.provider"/>
      <short value="Responsible provider for the claim"/>
      <definition value="The provider which is responsible for the claim."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B02"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.source"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.organization">
      <path value="ExplanationOfBenefit.organization"/>
      <short value="Responsible organization for the claim"/>
      <definition value="The provider which is responsible for the claim."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B02"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.source"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.referral">
      <path value="ExplanationOfBenefit.referral"/>
      <short value="Treatment Referral"/>
      <definition value="The referral resource which lists the date, practitioner, reason and other supporting information."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ReferralRequest"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B05"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.cause"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.facility">
      <path value="ExplanationOfBenefit.facility"/>
      <short value="Servicing Facility"/>
      <definition value="Facility where the services were provided."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.claim">
      <path value="ExplanationOfBenefit.claim"/>
      <short value="Claim reference"/>
      <definition value="The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Claim"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="A02|G01"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.claimResponse">
      <path value="ExplanationOfBenefit.claimResponse"/>
      <short value="Claim response reference"/>
      <definition value="The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ClaimResponse"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="A02|G01"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.outcome">
      <path value="ExplanationOfBenefit.outcome"/>
      <short value="complete | error | partial"/>
      <definition value="Processing outcome errror, partial or complete processing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RemittanceOutcome"/>
        </extension>
        <strength value="example"/>
        <description value="The result of the claim processing"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/remittance-outcome"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.disposition">
      <path value="ExplanationOfBenefit.disposition"/>
      <short value="Disposition Message"/>
      <definition value="A description of the status of the adjudication."/>
      <comment value="Do we need a disposition code?"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.related">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="RelatedClaim"/>
      </extension>
      <path value="ExplanationOfBenefit.related"/>
      <short value="Related Claims which may be revelant to processing this claim"/>
      <definition value="Other claims which are related to this claim such as prior claim versions or for related services."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.related.id">
      <path value="ExplanationOfBenefit.related.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.related.extension">
      <path value="ExplanationOfBenefit.related.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.related.modifierExtension">
      <path value="ExplanationOfBenefit.related.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.related.claim">
      <path value="ExplanationOfBenefit.related.claim"/>
      <short value="Reference to the related claim"/>
      <definition value="Other claims which are related to this claim such as prior claim versions or for related services."/>
      <comment value="Do we need a relationship code?"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Claim"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.related.relationship">
      <path value="ExplanationOfBenefit.related.relationship"/>
      <short value="How the reference claim is related"/>
      <definition value="For example prior or umbrella."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RelatedClaimRelationship"/>
        </extension>
        <strength value="example"/>
        <description value="Relationship of this claim to a related Claim"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/related-claim-relationship"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.related.reference">
      <path value="ExplanationOfBenefit.related.reference"/>
      <short value="Related file or case reference"/>
      <definition 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 # ."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.prescription">
      <path value="ExplanationOfBenefit.prescription"/>
      <short value="Prescription authorizing services or products"/>
      <definition value="Prescription to support the dispensing of Pharmacy or Vision products."/>
      <requirements value="For type=Pharmacy and Vision only."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/VisionPrescription"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.originalPrescription">
      <path value="ExplanationOfBenefit.originalPrescription"/>
      <short value="Original prescription if superceded by fulfiller"/>
      <definition 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 &apos;prescription&apos; and that from the physician becomes the &apos;original prescription&apos;."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.payee">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Payee"/>
      </extension>
      <path value="ExplanationOfBenefit.payee"/>
      <short value="Party to be paid any benefits payable"/>
      <definition value="The party to be reimbursed for the services."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F02"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.payee.id">
      <path value="ExplanationOfBenefit.payee.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.payee.extension">
      <path value="ExplanationOfBenefit.payee.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.payee.modifierExtension">
      <path value="ExplanationOfBenefit.payee.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.payee.type">
      <path value="ExplanationOfBenefit.payee.type"/>
      <short value="Type of party: Subscriber, Provider, other"/>
      <definition value="Type of Party to be reimbursed: Subscriber, provider, other."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PayeeType"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="example"/>
        <description value="A code for the party to be reimbursed."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/payeetype"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.payee.resourceType">
      <path value="ExplanationOfBenefit.payee.resourceType"/>
      <short value="organization | patient | practitioner | relatedperson"/>
      <definition value="organization | patient | practitioner | relatedperson."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PayeeResourceType"/>
        </extension>
        <strength value="required"/>
        <description value="The type of payee Resource"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/resource-type-link"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.payee.party">
      <path value="ExplanationOfBenefit.payee.party"/>
      <short value="Party to receive the payable"/>
      <definition value="Party to be reimbursed: Subscriber, provider, other."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B03, B04"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="SupportingInformation"/>
      </extension>
      <path value="ExplanationOfBenefit.information"/>
      <short value="Exceptions, special considerations, the condition, situation, prior or concurrent issues"/>
      <definition 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."/>
      <requirements value="Typically these information codes are required to support the services rendered or the adjudication of the services rendered."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.information.id">
      <path value="ExplanationOfBenefit.information.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information.extension">
      <path value="ExplanationOfBenefit.information.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information.modifierExtension">
      <path value="ExplanationOfBenefit.information.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information.sequence">
      <path value="ExplanationOfBenefit.information.sequence"/>
      <short value="Information instance identifier"/>
      <definition value="Sequence of the information element which serves to provide a link."/>
      <requirements value="To provide a reference link."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.information.category">
      <path value="ExplanationOfBenefit.information.category"/>
      <short value="General class of information"/>
      <definition value="The general class of the information supplied: information exception accident, employment onset, etc."/>
      <comment value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="InformationCategory"/>
        </extension>
        <strength value="example"/>
        <description value="The valuset used for additional information category codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-informationcategory"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.information.code">
      <path value="ExplanationOfBenefit.information.code"/>
      <short value="Type of information"/>
      <definition 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."/>
      <comment value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="InformationCode"/>
        </extension>
        <strength value="example"/>
        <description value="The valuset used for additional information codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-exception"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F23"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information.timing[x]">
      <path value="ExplanationOfBenefit.information.timing[x]"/>
      <short value="When it occurred"/>
      <definition value="The date when or period to which this information refers."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F24"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information.value[x]">
      <path value="ExplanationOfBenefit.information.value[x]"/>
      <short value="Additional Data or supporting information"/>
      <definition value="Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <type>
        <code value="Quantity"/>
      </type>
      <type>
        <code value="Attachment"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.information.reason">
      <path value="ExplanationOfBenefit.information.reason"/>
      <short value="Reason associated with the information"/>
      <definition 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."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MissingReason"/>
        </extension>
        <strength value="example"/>
        <description value="Reason codes for the missing teeth"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/missing-tooth-reason"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.careTeam">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="CareTeam"/>
      </extension>
      <path value="ExplanationOfBenefit.careTeam"/>
      <short value="Care Team members"/>
      <definition value="The members of the team who provided the overall service as well as their role and whether responsible and qualifications."/>
      <requirements value="Role and Responsible may not be required when there is only a single provider listed."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.careTeam.id">
      <path value="ExplanationOfBenefit.careTeam.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.careTeam.extension">
      <path value="ExplanationOfBenefit.careTeam.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.careTeam.modifierExtension">
      <path value="ExplanationOfBenefit.careTeam.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.careTeam.sequence">
      <path value="ExplanationOfBenefit.careTeam.sequence"/>
      <short value="Number to covey order of careteam"/>
      <definition value="Sequence of careteam which serves to order and provide a link."/>
      <requirements value="Required to maintain order of the careteam members."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.careTeam.provider">
      <path value="ExplanationOfBenefit.careTeam.provider"/>
      <short value="Member of the Care Team"/>
      <definition value="The members of the team who provided the overall service."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.careTeam.responsible">
      <path value="ExplanationOfBenefit.careTeam.responsible"/>
      <short value="Billing practitioner"/>
      <definition value="The practitioner who is billing and responsible for the claimed services rendered to the patient."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.careTeam.role">
      <path value="ExplanationOfBenefit.careTeam.role"/>
      <short value="Role on the team"/>
      <definition value="The lead, assisting or supervising practitioner and their discipline if a multidisiplinary team."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="CareTeamRole"/>
        </extension>
        <strength value="example"/>
        <description value="The role codes for the care team members."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-careteamrole"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.careTeam.qualification">
      <path value="ExplanationOfBenefit.careTeam.qualification"/>
      <short value="Type, classification or Specialization"/>
      <definition value="The qualification which is applicable for this service."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ProviderQualification"/>
        </extension>
        <strength value="example"/>
        <description value="Provider professional qualifications"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/provider-qualification"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.diagnosis">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Diagnosis"/>
      </extension>
      <path value="ExplanationOfBenefit.diagnosis"/>
      <short value="List of Diagnosis"/>
      <definition value="Ordered list of patient diagnosis for which care is sought."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.id">
      <path value="ExplanationOfBenefit.diagnosis.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.extension">
      <path value="ExplanationOfBenefit.diagnosis.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.modifierExtension">
      <path value="ExplanationOfBenefit.diagnosis.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.sequence">
      <path value="ExplanationOfBenefit.diagnosis.sequence"/>
      <short value="Number to covey order of diagnosis"/>
      <definition value="Sequence of diagnosis which serves to provide a link."/>
      <requirements value="Required to allow line items to reference the diagnoses."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.diagnosis[x]">
      <path value="ExplanationOfBenefit.diagnosis.diagnosis[x]"/>
      <short value="Patient&apos;s diagnosis"/>
      <definition value="The diagnosis."/>
      <requirements value="Required to adjudicate services rendered to condition presented."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ICD10"/>
        </extension>
        <strength value="example"/>
        <description value="ICD10 Diagnostic codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/icd-10"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.type">
      <path value="ExplanationOfBenefit.diagnosis.type"/>
      <short value="Timing or nature of the diagnosis"/>
      <definition value="The type of the Diagnosis, for example: admitting, primary, secondary, discharge."/>
      <comment value="Diagnosis are presented in list order to their expected importance: primary, secondary, etc."/>
      <requirements value="Required to adjudicate services rendered to the mandated diagnosis grouping system."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DiagnosisType"/>
        </extension>
        <strength value="example"/>
        <description value="The type of the diagnosis: admitting, principal, discharge"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-diagnosistype"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.packageCode">
      <path value="ExplanationOfBenefit.diagnosis.packageCode"/>
      <short value="Package billing code"/>
      <definition value="The package billing code, for example DRG, based on the assigned grouping code system."/>
      <requirements value="Required to adjudicate services rendered to the mandated grouping system."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DiagnosisRelatedGroup"/>
        </extension>
        <strength value="example"/>
        <description value="The DRG codes associated with the diagnosis"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.procedure">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Procedure"/>
      </extension>
      <path value="ExplanationOfBenefit.procedure"/>
      <short value="Procedures performed"/>
      <definition value="Ordered list of patient procedures performed to support the adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.procedure.id">
      <path value="ExplanationOfBenefit.procedure.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.procedure.extension">
      <path value="ExplanationOfBenefit.procedure.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.procedure.modifierExtension">
      <path value="ExplanationOfBenefit.procedure.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.procedure.sequence">
      <path value="ExplanationOfBenefit.procedure.sequence"/>
      <short value="Procedure sequence for reference"/>
      <definition value="Sequence of procedures which serves to order and provide a link."/>
      <requirements value="Required to maintain order of the procudures."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.procedure.date">
      <path value="ExplanationOfBenefit.procedure.date"/>
      <short value="When the procedure was performed"/>
      <definition value="Date and optionally time the procedure was performed ."/>
      <comment value="SB DateTime??"/>
      <requirements value="Required to adjudicate services rendered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.procedure.procedure[x]">
      <path value="ExplanationOfBenefit.procedure.procedure[x]"/>
      <short value="Patient&apos;s list of procedures performed"/>
      <definition value="The procedure code."/>
      <requirements value="Required to adjudicate services rendered."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ICD10_Procedures"/>
        </extension>
        <strength value="example"/>
        <description value="ICD10 Procedure codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/icd-10-procedures"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.precedence">
      <path value="ExplanationOfBenefit.precedence"/>
      <short value="Precedence (primary, secondary, etc.)"/>
      <definition value="Precedence (primary, secondary, etc.)."/>
      <requirements value="Health care programs and insurers are significant payors of health service costs."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.insurance">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Insurance"/>
      </extension>
      <path value="ExplanationOfBenefit.insurance"/>
      <short value="Insurance or medical plan"/>
      <definition value="Financial instrument by which payment information for health care."/>
      <requirements value="Health care programs and insurers are significant payors of health service costs."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mapping>
        <identity value="v2"/>
        <map value="Coverage"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.insurance.id">
      <path value="ExplanationOfBenefit.insurance.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.insurance.extension">
      <path value="ExplanationOfBenefit.insurance.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.insurance.modifierExtension">
      <path value="ExplanationOfBenefit.insurance.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.insurance.coverage">
      <path value="ExplanationOfBenefit.insurance.coverage"/>
      <short value="Insurance information"/>
      <definition value="Reference to the program or plan identification, underwriter or payor."/>
      <requirements value="Need to identify the issuer to target for processing and for coordination of benefit processing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.insurance.preAuthRef">
      <path value="ExplanationOfBenefit.insurance.preAuthRef"/>
      <short value="Pre-Authorization/Determination Reference"/>
      <definition value="A list of references from the Insurer to which these services pertain."/>
      <requirements value="To provide any pre=determination or prior authorization reference."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F03"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.accident">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Accident"/>
      </extension>
      <path value="ExplanationOfBenefit.accident"/>
      <short value="Details of an accident"/>
      <definition value="An accident which resulted in the need for healthcare services."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.accident.id">
      <path value="ExplanationOfBenefit.accident.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.accident.extension">
      <path value="ExplanationOfBenefit.accident.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.accident.modifierExtension">
      <path value="ExplanationOfBenefit.accident.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.accident.date">
      <path value="ExplanationOfBenefit.accident.date"/>
      <short value="When the accident occurred"/>
      <definition value="Date of an accident which these services are addressing."/>
      <requirements value="Coverage may be dependant on accidents."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F02"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.accident.type">
      <path value="ExplanationOfBenefit.accident.type"/>
      <short value="The nature of the accident"/>
      <definition value="Type of accident: work, auto, etc."/>
      <requirements value="Coverage may be dependant on the type of accident."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AccidentType"/>
        </extension>
        <strength value="required"/>
        <description value="Type of accident: work place, auto, etc."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActIncidentCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.accident.location[x]">
      <path value="ExplanationOfBenefit.accident.location[x]"/>
      <short value="Accident Place"/>
      <definition value="Where the accident occurred."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Address"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.employmentImpacted">
      <path value="ExplanationOfBenefit.employmentImpacted"/>
      <short value="Period unable to work"/>
      <definition value="The start and optional end dates of when the patient was precluded from working due to the treatable condition(s)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.hospitalization">
      <path value="ExplanationOfBenefit.hospitalization"/>
      <short value="Period in hospital"/>
      <definition value="The start and optional end dates of when the patient was confined to a treatment center."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Item"/>
      </extension>
      <path value="ExplanationOfBenefit.item"/>
      <short value="Goods and Services"/>
      <definition value="First tier of goods and services."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.item.id">
      <path value="ExplanationOfBenefit.item.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.extension">
      <path value="ExplanationOfBenefit.item.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.modifierExtension">
      <path value="ExplanationOfBenefit.item.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.sequence">
      <path value="ExplanationOfBenefit.item.sequence"/>
      <short value="Service instance"/>
      <definition value="A service line number."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F07"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.careTeamLinkId">
      <path value="ExplanationOfBenefit.item.careTeamLinkId"/>
      <short value="Applicable careteam members"/>
      <definition value="Careteam applicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.diagnosisLinkId">
      <path value="ExplanationOfBenefit.item.diagnosisLinkId"/>
      <short value="Applicable diagnoses"/>
      <definition value="Diagnosis applicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.procedureLinkId">
      <path value="ExplanationOfBenefit.item.procedureLinkId"/>
      <short value="Applicable procedures"/>
      <definition value="Procedures applicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.informationLinkId">
      <path value="ExplanationOfBenefit.item.informationLinkId"/>
      <short value="Applicable exception and supporting information"/>
      <definition value="Exceptions, special conditions and supporting information pplicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.revenue">
      <path value="ExplanationOfBenefit.item.revenue"/>
      <short value="Revenue or cost center code"/>
      <definition value="The type of reveneu or cost center providing the product and/or service."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RevenueCenter"/>
        </extension>
        <strength value="example"/>
        <description value="Codes for the revenue or cost centers supplying the service and/or products."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-revenue-center"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.category">
      <path value="ExplanationOfBenefit.item.category"/>
      <short value="Type of service or product"/>
      <definition value="Health Care Service Type Codes to identify the classification of service or benefits."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitSubCategory"/>
        </extension>
        <strength value="example"/>
        <description value="Benefit subcategories such as: oral-basic, major, glasses"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-subcategory"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.service">
      <path value="ExplanationOfBenefit.item.service"/>
      <short value="Billing Code"/>
      <definition 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. &apos;glasses&apos; or &apos;compound&apos;."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceProduct"/>
        </extension>
        <strength value="example"/>
        <description value="Allowable service and product codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-uscls"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F06"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.modifier">
      <path value="ExplanationOfBenefit.item.modifier"/>
      <short value="Service/Product billing modifiers"/>
      <definition 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."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Modifiers"/>
        </extension>
        <strength value="example"/>
        <description 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."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-modifiers"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F16 (required field for Oral) and F05"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.programCode">
      <path value="ExplanationOfBenefit.item.programCode"/>
      <short value="Program specific reason for item inclusion"/>
      <definition value="For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ProgramCode"/>
        </extension>
        <strength value="example"/>
        <description value="Program specific reason codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-program-code"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.serviced[x]">
      <path value="ExplanationOfBenefit.item.serviced[x]"/>
      <short value="Date or dates of Service"/>
      <definition value="The date or dates when the enclosed suite of services were performed or completed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F09"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.location[x]">
      <path value="ExplanationOfBenefit.item.location[x]"/>
      <short value="Place of service"/>
      <definition value="Where the service was provided."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Address"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServicePlace"/>
        </extension>
        <strength value="example"/>
        <description value="Place where the service is rendered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-place"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.quantity">
      <path value="ExplanationOfBenefit.item.quantity"/>
      <short value="Count of Products or Services"/>
      <definition value="The number of repetitions of a service or product."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.unitPrice">
      <path value="ExplanationOfBenefit.item.unitPrice"/>
      <short value="Fee, charge or cost per point"/>
      <definition 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."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F12"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.factor">
      <path value="ExplanationOfBenefit.item.factor"/>
      <short value="Price scaling factor"/>
      <definition 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."/>
      <requirements value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="decimal"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F13/F14"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.net">
      <path value="ExplanationOfBenefit.item.net"/>
      <short value="Total item cost"/>
      <definition 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."/>
      <requirements value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F13/F14"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.udi">
      <path value="ExplanationOfBenefit.item.udi"/>
      <short value="Unique Device Identifier"/>
      <definition value="List of Unique Device Identifiers associated with this line item."/>
      <requirements value="The UDI code and issuer if applicable for the supplied product."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.bodySite">
      <path value="ExplanationOfBenefit.item.bodySite"/>
      <short value="Service Location"/>
      <definition value="Physical service site on the patient (limb, tooth, etc)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="OralSites"/>
        </extension>
        <strength value="example"/>
        <description value="The code for the teeth, quadrant, sextant and arch"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/tooth"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F10"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.subSite">
      <path value="ExplanationOfBenefit.item.subSite"/>
      <short value="Service Sub-location"/>
      <definition value="A region or surface of the site, eg. limb region or tooth surface(s)."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Surface"/>
        </extension>
        <strength value="example"/>
        <description value="The code for the tooth surface and surface combinations"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/surface"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F11"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.encounter">
      <path value="ExplanationOfBenefit.item.encounter"/>
      <short value="Encounters related to this billed item"/>
      <definition value="A billed item may include goods or services provided in multiple encounters."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.noteNumber">
      <path value="ExplanationOfBenefit.item.noteNumber"/>
      <short value="List of note numbers which apply"/>
      <definition value="A list of note references to the notes provided below."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.adjudication">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Adjudication"/>
      </extension>
      <path value="ExplanationOfBenefit.item.adjudication"/>
      <short value="Adjudication details"/>
      <definition value="The adjudications results."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.item.adjudication.id">
      <path value="ExplanationOfBenefit.item.adjudication.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.adjudication.extension">
      <path value="ExplanationOfBenefit.item.adjudication.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.adjudication.modifierExtension">
      <path value="ExplanationOfBenefit.item.adjudication.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.adjudication.category">
      <path value="ExplanationOfBenefit.item.adjudication.category"/>
      <short value="Adjudication category such as co-pay, eligible, benefit, etc."/>
      <definition value="Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Adjudication"/>
        </extension>
        <strength value="example"/>
        <description value="The adjudication codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/adjudication"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.adjudication.reason">
      <path value="ExplanationOfBenefit.item.adjudication.reason"/>
      <short value="Explanation of Adjudication outcome"/>
      <definition value="Adjudication reason such as limit reached."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdjudicationReason"/>
        </extension>
        <strength value="example"/>
        <description value="Adjudication reason codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/adjudication-reason"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.adjudication.amount">
      <path value="ExplanationOfBenefit.item.adjudication.amount"/>
      <short value="Monetary amount"/>
      <definition value="Monitory amount associated with the code."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.adjudication.value">
      <path value="ExplanationOfBenefit.item.adjudication.value"/>
      <short value="Non-monitory value"/>
      <definition value="A non-monetary value for example a percentage. Mutually exclusive to the amount element above."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.detail">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Detail"/>
      </extension>
      <path value="ExplanationOfBenefit.item.detail"/>
      <short value="Additional items"/>
      <definition value="Second tier of goods and services."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.item.detail.id">
      <path value="ExplanationOfBenefit.item.detail.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.extension">
      <path value="ExplanationOfBenefit.item.detail.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.modifierExtension">
      <path value="ExplanationOfBenefit.item.detail.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.sequence">
      <path value="ExplanationOfBenefit.item.detail.sequence"/>
      <short value="Service instance"/>
      <definition value="A service line number."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F07"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.type">
      <path value="ExplanationOfBenefit.item.detail.type"/>
      <short value="Group or type of product or service"/>
      <definition value="The type of product or service."/>
      <comment value="ItemType."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ItemType"/>
        </extension>
        <strength value="required"/>
        <description value="Service, Product, Rx Dispense, Rx Compound etc."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.detail.revenue">
      <path value="ExplanationOfBenefit.item.detail.revenue"/>
      <short value="Revenue or cost center code"/>
      <definition value="The type of reveneu or cost center providing the product and/or service."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RevenueCenter"/>
        </extension>
        <strength value="example"/>
        <description value="Codes for the revenue or cost centers supplying the service and/or products."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-revenue-center"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.detail.category">
      <path value="ExplanationOfBenefit.item.detail.category"/>
      <short value="Type of service or product"/>
      <definition value="Health Care Service Type Codes to identify the classification of service or benefits."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitSubCategory"/>
        </extension>
        <strength value="example"/>
        <description value="Benefit subcategories such as: oral-basic, major, glasses"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-subcategory"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.detail.service">
      <path value="ExplanationOfBenefit.item.detail.service"/>
      <short value="Billing Code"/>
      <definition 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. &apos;glasses&apos; or &apos;compound&apos;."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceProduct"/>
        </extension>
        <strength value="example"/>
        <description value="Allowable service and product codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-uscls"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F34/F35"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.modifier">
      <path value="ExplanationOfBenefit.item.detail.modifier"/>
      <short value="Service/Product billing modifiers"/>
      <definition 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."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Modifiers"/>
        </extension>
        <strength value="example"/>
        <description 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."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-modifiers"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F16 (required field for Oral) and F05"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.programCode">
      <path value="ExplanationOfBenefit.item.detail.programCode"/>
      <short value="Program specific reason for item inclusion"/>
      <definition value="For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ProgramCode"/>
        </extension>
        <strength value="example"/>
        <description value="Program specific reason codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-program-code"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.detail.quantity">
      <path value="ExplanationOfBenefit.item.detail.quantity"/>
      <short value="Count of Products or Services"/>
      <definition value="The number of repetitions of a service or product."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.detail.unitPrice">
      <path value="ExplanationOfBenefit.item.detail.unitPrice"/>
      <short value="Fee, charge or cost per point"/>
      <definition 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."/>
      <requirements value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F13/F14"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.factor">
      <path value="ExplanationOfBenefit.item.detail.factor"/>
      <short value="Price scaling factor"/>
      <definition 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."/>
      <requirements value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="decimal"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F13/F14"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.net">
      <path value="ExplanationOfBenefit.item.detail.net"/>
      <short value="Total additional item cost"/>
      <definition 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."/>
      <requirements value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F13/F14"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.udi">
      <path value="ExplanationOfBenefit.item.detail.udi"/>
      <short value="Unique Device Identifier"/>
      <definition value="List of Unique Device Identifiers associated with this line item."/>
      <requirements value="The UDI code and issuer if applicable for the supplied product."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.detail.noteNumber">
      <path value="ExplanationOfBenefit.item.detail.noteNumber"/>
      <short value="List of note numbers which apply"/>
      <definition value="A list of note references to the notes provided below."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.detail.adjudication">
      <path value="ExplanationOfBenefit.item.detail.adjudication"/>
      <short value="Detail level adjudication details"/>
      <definition value="The adjudications results."/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ExplanationOfBenefit.item.adjudication"/>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="SubDetail"/>
      </extension>
      <path value="ExplanationOfBenefit.item.detail.subDetail"/>
      <short value="Additional items"/>
      <definition value="Third tier of goods and services."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.id">
      <path value="ExplanationOfBenefit.item.detail.subDetail.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.extension">
      <path value="ExplanationOfBenefit.item.detail.subDetail.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.modifierExtension">
      <path value="ExplanationOfBenefit.item.detail.subDetail.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.sequence">
      <path value="ExplanationOfBenefit.item.detail.subDetail.sequence"/>
      <short value="Service instance"/>
      <definition value="A service line number."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F07"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.type">
      <path value="ExplanationOfBenefit.item.detail.subDetail.type"/>
      <short value="Type of product or service"/>
      <definition value="The type of product or service."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ItemType"/>
        </extension>
        <strength value="required"/>
        <description value="Service, Product, Rx Dispense, Rx Compound etc."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActInvoiceGroupCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.revenue">
      <path value="ExplanationOfBenefit.item.detail.subDetail.revenue"/>
      <short value="Revenue or cost center code"/>
      <definition value="The type of reveneu or cost center providing the product and/or service."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RevenueCenter"/>
        </extension>
        <strength value="example"/>
        <description value="Codes for the revenue or cost centers supplying the service and/or products."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-revenue-center"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.category">
      <path value="ExplanationOfBenefit.item.detail.subDetail.category"/>
      <short value="Type of service or product"/>
      <definition value="Health Care Service Type Codes to identify the classification of service or benefits."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitSubCategory"/>
        </extension>
        <strength value="example"/>
        <description value="Benefit subcategories such as: oral-basic, major, glasses"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-subcategory"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.service">
      <path value="ExplanationOfBenefit.item.detail.subDetail.service"/>
      <short value="Billing Code"/>
      <definition value="A code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceProduct"/>
        </extension>
        <strength value="example"/>
        <description value="Allowable service and product codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-uscls"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F34/F35"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.modifier">
      <path value="ExplanationOfBenefit.item.detail.subDetail.modifier"/>
      <short value="Service/Product billing modifiers"/>
      <definition 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."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Modifiers"/>
        </extension>
        <strength value="example"/>
        <description 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."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-modifiers"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F16 (required field for Oral) and F05"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.programCode">
      <path value="ExplanationOfBenefit.item.detail.subDetail.programCode"/>
      <short value="Program specific reason for item inclusion"/>
      <definition value="For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ProgramCode"/>
        </extension>
        <strength value="example"/>
        <description value="Program specific reason codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-program-code"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.quantity">
      <path value="ExplanationOfBenefit.item.detail.subDetail.quantity"/>
      <short value="Count of Products or Services"/>
      <definition value="The number of repetitions of a service or product."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.unitPrice">
      <path value="ExplanationOfBenefit.item.detail.subDetail.unitPrice"/>
      <short value="Fee, charge or cost per point"/>
      <definition value="The fee for an addittional service or product or charge."/>
      <requirements value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F13/F14"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.factor">
      <path value="ExplanationOfBenefit.item.detail.subDetail.factor"/>
      <short value="Price scaling factor"/>
      <definition 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."/>
      <requirements value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="decimal"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F13/F14"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.net">
      <path value="ExplanationOfBenefit.item.detail.subDetail.net"/>
      <short value="Net additional item cost"/>
      <definition 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."/>
      <requirements value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F13/F14"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.udi">
      <path value="ExplanationOfBenefit.item.detail.subDetail.udi"/>
      <short value="Unique Device Identifier"/>
      <definition value="List of Unique Device Identifiers associated with this line item."/>
      <requirements value="The UDI code and issuer if applicable for the supplied product."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.noteNumber">
      <path value="ExplanationOfBenefit.item.detail.subDetail.noteNumber"/>
      <short value="List of note numbers which apply"/>
      <definition value="A list of note references to the notes provided below."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.detail.subDetail.adjudication">
      <path value="ExplanationOfBenefit.item.detail.subDetail.adjudication"/>
      <short value="Language if different from the resource"/>
      <definition value="The adjudications results."/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ExplanationOfBenefit.item.adjudication"/>
    </element>
    <element id="ExplanationOfBenefit.addItem">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="AddedItem"/>
      </extension>
      <path value="ExplanationOfBenefit.addItem"/>
      <short value="Insurer added line items"/>
      <definition value="The first tier service adjudications for payor added services."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.addItem.id">
      <path value="ExplanationOfBenefit.addItem.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.extension">
      <path value="ExplanationOfBenefit.addItem.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.modifierExtension">
      <path value="ExplanationOfBenefit.addItem.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.sequenceLinkId">
      <path value="ExplanationOfBenefit.addItem.sequenceLinkId"/>
      <short value="Service instances"/>
      <definition value="List of input service items which this service line is intended to replace."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.addItem.revenue">
      <path value="ExplanationOfBenefit.addItem.revenue"/>
      <short value="Revenue or cost center code"/>
      <definition value="The type of reveneu or cost center providing the product and/or service."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RevenueCenter"/>
        </extension>
        <strength value="example"/>
        <description value="Codes for the revenue or cost centers supplying the service and/or products."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-revenue-center"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.addItem.category">
      <path value="ExplanationOfBenefit.addItem.category"/>
      <short value="Type of service or product"/>
      <definition value="Health Care Service Type Codes to identify the classification of service or benefits."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitSubCategory"/>
        </extension>
        <strength value="example"/>
        <description value="Benefit subcategories such as: oral-basic, major, glasses"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-subcategory"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F06"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.service">
      <path value="ExplanationOfBenefit.addItem.service"/>
      <short value="Billing Code"/>
      <definition 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. &apos;glasses&apos; or &apos;compound&apos;."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceProduct"/>
        </extension>
        <strength value="example"/>
        <description value="Allowable service and product codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-uscls"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.addItem.modifier">
      <path value="ExplanationOfBenefit.addItem.modifier"/>
      <short value="Service/Product billing modifiers"/>
      <definition 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."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Modifiers"/>
        </extension>
        <strength value="example"/>
        <description 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."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-modifiers"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F16 (required field for Oral) and F05"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.fee">
      <path value="ExplanationOfBenefit.addItem.fee"/>
      <short value="Professional fee or Product charge"/>
      <definition value="The fee charged for the professional service or product."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.addItem.noteNumber">
      <path value="ExplanationOfBenefit.addItem.noteNumber"/>
      <short value="List of note numbers which apply"/>
      <definition value="A list of note references to the notes provided below."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.addItem.adjudication">
      <path value="ExplanationOfBenefit.addItem.adjudication"/>
      <short value="Added items adjudication"/>
      <definition value="The adjudications results."/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ExplanationOfBenefit.item.adjudication"/>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="AddedItemsDetail"/>
      </extension>
      <path value="ExplanationOfBenefit.addItem.detail"/>
      <short value="Added items details"/>
      <definition value="The second tier service adjudications for payor added services."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.id">
      <path value="ExplanationOfBenefit.addItem.detail.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.extension">
      <path value="ExplanationOfBenefit.addItem.detail.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.modifierExtension">
      <path value="ExplanationOfBenefit.addItem.detail.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.revenue">
      <path value="ExplanationOfBenefit.addItem.detail.revenue"/>
      <short value="Revenue or cost center code"/>
      <definition value="The type of reveneu or cost center providing the product and/or service."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RevenueCenter"/>
        </extension>
        <strength value="example"/>
        <description value="Codes for the revenue or cost centers supplying the service and/or products."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-revenue-center"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.category">
      <path value="ExplanationOfBenefit.addItem.detail.category"/>
      <short value="Type of service or product"/>
      <definition value="Health Care Service Type Codes to identify the classification of service or benefits."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitSubCategory"/>
        </extension>
        <strength value="example"/>
        <description value="Benefit subcategories such as: oral-basic, major, glasses"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-subcategory"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F06"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.service">
      <path value="ExplanationOfBenefit.addItem.detail.service"/>
      <short value="Billing Code"/>
      <definition value="A code to indicate the Professional Service or Product supplied (eg. CTP, HCPCS,USCLS,ICD10, NCPDP,DIN,ACHI,CCI)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceProduct"/>
        </extension>
        <strength value="example"/>
        <description value="Allowable service and product codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-uscls"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.modifier">
      <path value="ExplanationOfBenefit.addItem.detail.modifier"/>
      <short value="Service/Product billing modifiers"/>
      <definition 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."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Modifiers"/>
        </extension>
        <strength value="example"/>
        <description 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."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-modifiers"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F16 (required field for Oral) and F05"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.fee">
      <path value="ExplanationOfBenefit.addItem.detail.fee"/>
      <short value="Professional fee or Product charge"/>
      <definition value="The fee charged for the professional service or product."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.noteNumber">
      <path value="ExplanationOfBenefit.addItem.detail.noteNumber"/>
      <short value="List of note numbers which apply"/>
      <definition value="A list of note references to the notes provided below."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.addItem.detail.adjudication">
      <path value="ExplanationOfBenefit.addItem.detail.adjudication"/>
      <short value="Added items detail adjudication"/>
      <definition value="The adjudications results."/>
      <min value="0"/>
      <max value="*"/>
      <contentReference value="#ExplanationOfBenefit.item.adjudication"/>
    </element>
    <element id="ExplanationOfBenefit.totalCost">
      <path value="ExplanationOfBenefit.totalCost"/>
      <short value="Total Cost of service from the Claim"/>
      <definition value="The total cost of the services reported."/>
      <requirements value="This is a check value that the receiver calculates and returns."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.unallocDeductable">
      <path value="ExplanationOfBenefit.unallocDeductable"/>
      <short value="Unallocated deductable"/>
      <definition value="The amount of deductable applied which was not allocated to any particular service line."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.totalBenefit">
      <path value="ExplanationOfBenefit.totalBenefit"/>
      <short value="Total benefit payable for the Claim"/>
      <definition value="Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductable)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.payment">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Payment"/>
      </extension>
      <path value="ExplanationOfBenefit.payment"/>
      <short value="Payment (if paid)"/>
      <definition value="Payment details for the claim if the claim has been paid."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.payment.id">
      <path value="ExplanationOfBenefit.payment.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.payment.extension">
      <path value="ExplanationOfBenefit.payment.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.payment.modifierExtension">
      <path value="ExplanationOfBenefit.payment.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.payment.type">
      <path value="ExplanationOfBenefit.payment.type"/>
      <short value="Partial or Complete"/>
      <definition value="Whether this represents partial or complete payment of the claim."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentType"/>
        </extension>
        <strength value="example"/>
        <description value="The type (partial, complete) of the payment"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-paymenttype"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.payment.adjustment">
      <path value="ExplanationOfBenefit.payment.adjustment"/>
      <short value="Payment adjustment for non-Claim issues"/>
      <definition value="Adjustment to the payment of this transaction which is not related to adjudication of this transaction."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.payment.adjustmentReason">
      <path value="ExplanationOfBenefit.payment.adjustmentReason"/>
      <short value="Explanation for the non-claim adjustment"/>
      <definition value="Reason for the payment adjustment."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PaymentAdjustmentReason"/>
        </extension>
        <strength value="example"/>
        <description value="Payment Adjustment reason codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/payment-adjustment-reason"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.payment.date">
      <path value="ExplanationOfBenefit.payment.date"/>
      <short value="Expected date of Payment"/>
      <definition value="Estimated payment date."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.payment.amount">
      <path value="ExplanationOfBenefit.payment.amount"/>
      <short value="Payable amount after adjustment"/>
      <definition value="Payable less any payment adjustment."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.payment.identifier">
      <path value="ExplanationOfBenefit.payment.identifier"/>
      <short value="Identifier of the payment instrument"/>
      <definition value="Payment identifer."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="G01, B.23"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.form">
      <path value="ExplanationOfBenefit.form"/>
      <short value="Printed Form Identifier"/>
      <definition value="The form to be used for printing the content."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Forms"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="example"/>
        <description value="The forms codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/forms"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="G42"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.processNote">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Note"/>
      </extension>
      <path value="ExplanationOfBenefit.processNote"/>
      <short value="Processing notes"/>
      <definition value="Note text."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.processNote.id">
      <path value="ExplanationOfBenefit.processNote.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.processNote.extension">
      <path value="ExplanationOfBenefit.processNote.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.processNote.modifierExtension">
      <path value="ExplanationOfBenefit.processNote.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.processNote.number">
      <path value="ExplanationOfBenefit.processNote.number"/>
      <short value="Sequence number for this note"/>
      <definition value="An integer associated with each note which may be referred to from each service line item."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.processNote.type">
      <path value="ExplanationOfBenefit.processNote.type"/>
      <short value="display | print | printoper"/>
      <definition value="The note purpose: Print/Display."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NoteType"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="required"/>
        <description value="The presentation types of notes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/note-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.processNote.text">
      <path value="ExplanationOfBenefit.processNote.text"/>
      <short value="Note explanitory text"/>
      <definition value="The note text."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="G32"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.processNote.language">
      <path value="ExplanationOfBenefit.processNote.language"/>
      <short value="Language if different from the resource"/>
      <definition 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. &quot;en&quot; for English, or &quot;en-US&quot; for American English versus &quot;en-EN&quot; for England English."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="BenefitBalance"/>
      </extension>
      <path value="ExplanationOfBenefit.benefitBalance"/>
      <short value="Balance by Benefit Category"/>
      <definition value="Balance by Benefit Category."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.id">
      <path value="ExplanationOfBenefit.benefitBalance.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.extension">
      <path value="ExplanationOfBenefit.benefitBalance.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.modifierExtension">
      <path value="ExplanationOfBenefit.benefitBalance.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.category">
      <path value="ExplanationOfBenefit.benefitBalance.category"/>
      <short value="Type of services covered"/>
      <definition value="Dental, Vision, Medical, Pharmacy, Rehab etc."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitCategory"/>
        </extension>
        <strength value="example"/>
        <description value="Benefit categories such as: oral, medical, vision etc."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-category"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.subCategory">
      <path value="ExplanationOfBenefit.benefitBalance.subCategory"/>
      <short value="Detailed services covered within the type"/>
      <definition value="Dental: basic, major, ortho Vision exam, glasses, contacts etc."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitSubCategory"/>
        </extension>
        <strength value="example"/>
        <description value="Benefit subcategories such as: oral-basic, major, glasses"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-subcategory"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.excluded">
      <path value="ExplanationOfBenefit.benefitBalance.excluded"/>
      <short value="Excluded from the plan"/>
      <definition value="True if the indicated class of service is excluded from the plan, missing or False indicated the service is included in the coverage."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.name">
      <path value="ExplanationOfBenefit.benefitBalance.name"/>
      <short value="Short name for the benefit"/>
      <definition value="A short name or tag for the benefit, for example MED01, or DENT2."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.description">
      <path value="ExplanationOfBenefit.benefitBalance.description"/>
      <short value="Description of the benefit or services covered"/>
      <definition value="A richer description of the benefit, for example &apos;DENT2 covers 100% of basic, 50% of major but exclused Ortho, Implants and Costmetic services&apos;."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.network">
      <path value="ExplanationOfBenefit.benefitBalance.network"/>
      <short value="In or out of network"/>
      <definition value="Network designation."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitNetwork"/>
        </extension>
        <strength value="example"/>
        <description value="Code to classify in or out of network services"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-network"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.unit">
      <path value="ExplanationOfBenefit.benefitBalance.unit"/>
      <short value="Individual or family"/>
      <definition value="Unit designation: individual or family."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitUnit"/>
        </extension>
        <strength value="example"/>
        <description value="Unit covered/serviced - individual or family"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-unit"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.term">
      <path value="ExplanationOfBenefit.benefitBalance.term"/>
      <short value="Annual or lifetime"/>
      <definition value="The term or period of the values such as &apos;maximum lifetime benefit&apos; or &apos;maximum annual vistis&apos;."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitTerm"/>
        </extension>
        <strength value="example"/>
        <description value="Coverage unit - annual, lifetime"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-term"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.financial">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Benefit"/>
      </extension>
      <path value="ExplanationOfBenefit.benefitBalance.financial"/>
      <short value="Benefit Summary"/>
      <definition value="Benefits Used to date."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.financial.id">
      <path value="ExplanationOfBenefit.benefitBalance.financial.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.financial.extension">
      <path value="ExplanationOfBenefit.benefitBalance.financial.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.financial.modifierExtension">
      <path value="ExplanationOfBenefit.benefitBalance.financial.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.financial.type">
      <path value="ExplanationOfBenefit.benefitBalance.financial.type"/>
      <short value="Deductable, visits, benefit amount"/>
      <definition value="Deductable, visits, benefit amount."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitType"/>
        </extension>
        <strength value="example"/>
        <description value="Deductable, visits, co-pay, etc."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.financial.allowed[x]">
      <path value="ExplanationOfBenefit.benefitBalance.financial.allowed[x]"/>
      <short value="Benefits allowed"/>
      <definition value="Benefits allowed."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="unsignedInt"/>
      </type>
      <type>
        <code value="string"/>
      </type>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.benefitBalance.financial.used[x]">
      <path value="ExplanationOfBenefit.benefitBalance.financial.used[x]"/>
      <short value="Benefits used"/>
      <definition value="Benefits used."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="unsignedInt"/>
      </type>
      <type>
        <code value="Money"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="ExplanationOfBenefit">
      <path value="ExplanationOfBenefit"/>
      <short value="Explanation of Benefit resource"/>
      <definition 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."/>
      <alias value="EOB"/>
      <min value="0"/>
      <max value="*"/>
      <mapping>
        <identity value="w5"/>
        <map value="financial.other"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.identifier">
      <path value="ExplanationOfBenefit.identifier"/>
      <short value="Business Identifier"/>
      <definition value="The EOB Business Identifier."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.status">
      <path value="ExplanationOfBenefit.status"/>
      <short value="active | cancelled | draft | entered-in-error"/>
      <definition value="The status of the resource instance."/>
      <comment value="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ExplanationOfBenefitStatus"/>
        </extension>
        <strength value="required"/>
        <description value="A code specifying the state of the resource instance."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/explanationofbenefit-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.type">
      <path value="ExplanationOfBenefit.type"/>
      <short value="Type or discipline"/>
      <definition value="The category of claim, eg, oral, pharmacy, vision, insitutional, professional."/>
      <comment value="Affects which fields and value sets are used."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ClaimType"/>
        </extension>
        <strength value="required"/>
        <description value="The type or discipline-style of the claim"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.subType">
      <path value="ExplanationOfBenefit.subType"/>
      <short value="Finer grained claim type information"/>
      <definition 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."/>
      <comment value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ClaimSubType"/>
        </extension>
        <strength value="example"/>
        <description value="A more granulat claim typecode"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-subtype"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.patient">
      <path value="ExplanationOfBenefit.patient"/>
      <short value="The subject of the Products and Services"/>
      <definition value="Patient Resource."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="C06,C07,C08, C05, C04"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.billablePeriod">
      <path value="ExplanationOfBenefit.billablePeriod"/>
      <short value="Period for charge submission"/>
      <definition value="The billable period for which charges are being submitted."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.created">
      <path value="ExplanationOfBenefit.created"/>
      <short value="Creation date"/>
      <definition value="The date when the EOB was created."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.enterer">
      <path value="ExplanationOfBenefit.enterer"/>
      <short value="Author"/>
      <definition value="The person who created the explanation of benefit."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="who.author"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.insurer">
      <path value="ExplanationOfBenefit.insurer"/>
      <short value="Insurer responsible for the EOB"/>
      <definition value="The insurer which is responsible for the explanation of benefit."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B02"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.author"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.provider">
      <path value="ExplanationOfBenefit.provider"/>
      <short value="Responsible provider for the claim"/>
      <definition value="The provider which is responsible for the claim."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B02"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.source"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.organization">
      <path value="ExplanationOfBenefit.organization"/>
      <short value="Responsible organization for the claim"/>
      <definition value="The provider which is responsible for the claim."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B02"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.source"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.referral">
      <path value="ExplanationOfBenefit.referral"/>
      <short value="Treatment Referral"/>
      <definition value="The referral resource which lists the date, practitioner, reason and other supporting information."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ReferralRequest"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B05"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.cause"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.facility">
      <path value="ExplanationOfBenefit.facility"/>
      <short value="Servicing Facility"/>
      <definition value="Facility where the services were provided."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.claim">
      <path value="ExplanationOfBenefit.claim"/>
      <short value="Claim reference"/>
      <definition value="The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Claim"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="A02|G01"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.claimResponse">
      <path value="ExplanationOfBenefit.claimResponse"/>
      <short value="Claim response reference"/>
      <definition value="The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ClaimResponse"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="A02|G01"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.outcome">
      <path value="ExplanationOfBenefit.outcome"/>
      <short value="complete | error | partial"/>
      <definition value="Processing outcome errror, partial or complete processing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RemittanceOutcome"/>
        </extension>
        <strength value="example"/>
        <description value="The result of the claim processing"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/remittance-outcome"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.disposition">
      <path value="ExplanationOfBenefit.disposition"/>
      <short value="Disposition Message"/>
      <definition value="A description of the status of the adjudication."/>
      <comment value="Do we need a disposition code?"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.related">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="RelatedClaim"/>
      </extension>
      <path value="ExplanationOfBenefit.related"/>
      <short value="Related Claims which may be revelant to processing this claim"/>
      <definition value="Other claims which are related to this claim such as prior claim versions or for related services."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.related.claim">
      <path value="ExplanationOfBenefit.related.claim"/>
      <short value="Reference to the related claim"/>
      <definition value="Other claims which are related to this claim such as prior claim versions or for related services."/>
      <comment value="Do we need a relationship code?"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Claim"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.related.relationship">
      <path value="ExplanationOfBenefit.related.relationship"/>
      <short value="How the reference claim is related"/>
      <definition value="For example prior or umbrella."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RelatedClaimRelationship"/>
        </extension>
        <strength value="example"/>
        <description value="Relationship of this claim to a related Claim"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/related-claim-relationship"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.related.reference">
      <path value="ExplanationOfBenefit.related.reference"/>
      <short value="Related file or case reference"/>
      <definition 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 # ."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.prescription">
      <path value="ExplanationOfBenefit.prescription"/>
      <short value="Prescription authorizing services or products"/>
      <definition value="Prescription to support the dispensing of Pharmacy or Vision products."/>
      <requirements value="For type=Pharmacy and Vision only."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/VisionPrescription"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.originalPrescription">
      <path value="ExplanationOfBenefit.originalPrescription"/>
      <short value="Original prescription if superceded by fulfiller"/>
      <definition 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 &apos;prescription&apos; and that from the physician becomes the &apos;original prescription&apos;."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.payee">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Payee"/>
      </extension>
      <path value="ExplanationOfBenefit.payee"/>
      <short value="Party to be paid any benefits payable"/>
      <definition value="The party to be reimbursed for the services."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F02"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.payee.type">
      <path value="ExplanationOfBenefit.payee.type"/>
      <short value="Type of party: Subscriber, Provider, other"/>
      <definition value="Type of Party to be reimbursed: Subscriber, provider, other."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PayeeType"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="example"/>
        <description value="A code for the party to be reimbursed."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/payeetype"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.payee.resourceType">
      <path value="ExplanationOfBenefit.payee.resourceType"/>
      <short value="organization | patient | practitioner | relatedperson"/>
      <definition value="organization | patient | practitioner | relatedperson."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PayeeResourceType"/>
        </extension>
        <strength value="required"/>
        <description value="The type of payee Resource"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/resource-type-link"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.payee.party">
      <path value="ExplanationOfBenefit.payee.party"/>
      <short value="Party to receive the payable"/>
      <definition value="Party to be reimbursed: Subscriber, provider, other."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="B03, B04"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="SupportingInformation"/>
      </extension>
      <path value="ExplanationOfBenefit.information"/>
      <short value="Exceptions, special considerations, the condition, situation, prior or concurrent issues"/>
      <definition 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."/>
      <requirements value="Typically these information codes are required to support the services rendered or the adjudication of the services rendered."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.information.sequence">
      <path value="ExplanationOfBenefit.information.sequence"/>
      <short value="Information instance identifier"/>
      <definition value="Sequence of the information element which serves to provide a link."/>
      <requirements value="To provide a reference link."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.information.category">
      <path value="ExplanationOfBenefit.information.category"/>
      <short value="General class of information"/>
      <definition value="The general class of the information supplied: information exception accident, employment onset, etc."/>
      <comment value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="InformationCategory"/>
        </extension>
        <strength value="example"/>
        <description value="The valuset used for additional information category codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-informationcategory"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.information.code">
      <path value="ExplanationOfBenefit.information.code"/>
      <short value="Type of information"/>
      <definition 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."/>
      <comment value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="InformationCode"/>
        </extension>
        <strength value="example"/>
        <description value="The valuset used for additional information codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-exception"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F23"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information.timing[x]">
      <path value="ExplanationOfBenefit.information.timing[x]"/>
      <short value="When it occurred"/>
      <definition value="The date when or period to which this information refers."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F24"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.information.value[x]">
      <path value="ExplanationOfBenefit.information.value[x]"/>
      <short value="Additional Data or supporting information"/>
      <definition value="Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <type>
        <code value="Quantity"/>
      </type>
      <type>
        <code value="Attachment"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.information.reason">
      <path value="ExplanationOfBenefit.information.reason"/>
      <short value="Reason associated with the information"/>
      <definition 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."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MissingReason"/>
        </extension>
        <strength value="example"/>
        <description value="Reason codes for the missing teeth"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/missing-tooth-reason"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.careTeam">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="CareTeam"/>
      </extension>
      <path value="ExplanationOfBenefit.careTeam"/>
      <short value="Care Team members"/>
      <definition value="The members of the team who provided the overall service as well as their role and whether responsible and qualifications."/>
      <requirements value="Role and Responsible may not be required when there is only a single provider listed."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.careTeam.sequence">
      <path value="ExplanationOfBenefit.careTeam.sequence"/>
      <short value="Number to covey order of careteam"/>
      <definition value="Sequence of careteam which serves to order and provide a link."/>
      <requirements value="Required to maintain order of the careteam members."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.careTeam.provider">
      <path value="ExplanationOfBenefit.careTeam.provider"/>
      <short value="Member of the Care Team"/>
      <definition value="The members of the team who provided the overall service."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.careTeam.responsible">
      <path value="ExplanationOfBenefit.careTeam.responsible"/>
      <short value="Billing practitioner"/>
      <definition value="The practitioner who is billing and responsible for the claimed services rendered to the patient."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.careTeam.role">
      <path value="ExplanationOfBenefit.careTeam.role"/>
      <short value="Role on the team"/>
      <definition value="The lead, assisting or supervising practitioner and their discipline if a multidisiplinary team."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="CareTeamRole"/>
        </extension>
        <strength value="example"/>
        <description value="The role codes for the care team members."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-careteamrole"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.careTeam.qualification">
      <path value="ExplanationOfBenefit.careTeam.qualification"/>
      <short value="Type, classification or Specialization"/>
      <definition value="The qualification which is applicable for this service."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ProviderQualification"/>
        </extension>
        <strength value="example"/>
        <description value="Provider professional qualifications"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/provider-qualification"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.diagnosis">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Diagnosis"/>
      </extension>
      <path value="ExplanationOfBenefit.diagnosis"/>
      <short value="List of Diagnosis"/>
      <definition value="Ordered list of patient diagnosis for which care is sought."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.sequence">
      <path value="ExplanationOfBenefit.diagnosis.sequence"/>
      <short value="Number to covey order of diagnosis"/>
      <definition value="Sequence of diagnosis which serves to provide a link."/>
      <requirements value="Required to allow line items to reference the diagnoses."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.diagnosis[x]">
      <path value="ExplanationOfBenefit.diagnosis.diagnosis[x]"/>
      <short value="Patient&apos;s diagnosis"/>
      <definition value="The diagnosis."/>
      <requirements value="Required to adjudicate services rendered to condition presented."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ICD10"/>
        </extension>
        <strength value="example"/>
        <description value="ICD10 Diagnostic codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/icd-10"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.type">
      <path value="ExplanationOfBenefit.diagnosis.type"/>
      <short value="Timing or nature of the diagnosis"/>
      <definition value="The type of the Diagnosis, for example: admitting, primary, secondary, discharge."/>
      <comment value="Diagnosis are presented in list order to their expected importance: primary, secondary, etc."/>
      <requirements value="Required to adjudicate services rendered to the mandated diagnosis grouping system."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DiagnosisType"/>
        </extension>
        <strength value="example"/>
        <description value="The type of the diagnosis: admitting, principal, discharge"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-diagnosistype"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.diagnosis.packageCode">
      <path value="ExplanationOfBenefit.diagnosis.packageCode"/>
      <short value="Package billing code"/>
      <definition value="The package billing code, for example DRG, based on the assigned grouping code system."/>
      <requirements value="Required to adjudicate services rendered to the mandated grouping system."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DiagnosisRelatedGroup"/>
        </extension>
        <strength value="example"/>
        <description value="The DRG codes associated with the diagnosis"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.procedure">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Procedure"/>
      </extension>
      <path value="ExplanationOfBenefit.procedure"/>
      <short value="Procedures performed"/>
      <definition value="Ordered list of patient procedures performed to support the adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.procedure.sequence">
      <path value="ExplanationOfBenefit.procedure.sequence"/>
      <short value="Procedure sequence for reference"/>
      <definition value="Sequence of procedures which serves to order and provide a link."/>
      <requirements value="Required to maintain order of the procudures."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.procedure.date">
      <path value="ExplanationOfBenefit.procedure.date"/>
      <short value="When the procedure was performed"/>
      <definition value="Date and optionally time the procedure was performed ."/>
      <comment value="SB DateTime??"/>
      <requirements value="Required to adjudicate services rendered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.procedure.procedure[x]">
      <path value="ExplanationOfBenefit.procedure.procedure[x]"/>
      <short value="Patient&apos;s list of procedures performed"/>
      <definition value="The procedure code."/>
      <requirements value="Required to adjudicate services rendered."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ICD10_Procedures"/>
        </extension>
        <strength value="example"/>
        <description value="ICD10 Procedure codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/icd-10-procedures"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.precedence">
      <path value="ExplanationOfBenefit.precedence"/>
      <short value="Precedence (primary, secondary, etc.)"/>
      <definition value="Precedence (primary, secondary, etc.)."/>
      <requirements value="Health care programs and insurers are significant payors of health service costs."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.insurance">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Insurance"/>
      </extension>
      <path value="ExplanationOfBenefit.insurance"/>
      <short value="Insurance or medical plan"/>
      <definition value="Financial instrument by which payment information for health care."/>
      <requirements value="Health care programs and insurers are significant payors of health service costs."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="Coverage"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.insurance.coverage">
      <path value="ExplanationOfBenefit.insurance.coverage"/>
      <short value="Insurance information"/>
      <definition value="Reference to the program or plan identification, underwriter or payor."/>
      <requirements value="Need to identify the issuer to target for processing and for coordination of benefit processing."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.insurance.preAuthRef">
      <path value="ExplanationOfBenefit.insurance.preAuthRef"/>
      <short value="Pre-Authorization/Determination Reference"/>
      <definition value="A list of references from the Insurer to which these services pertain."/>
      <requirements value="To provide any pre=determination or prior authorization reference."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F03"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.accident">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Accident"/>
      </extension>
      <path value="ExplanationOfBenefit.accident"/>
      <short value="Details of an accident"/>
      <definition value="An accident which resulted in the need for healthcare services."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.accident.date">
      <path value="ExplanationOfBenefit.accident.date"/>
      <short value="When the accident occurred"/>
      <definition value="Date of an accident which these services are addressing."/>
      <requirements value="Coverage may be dependant on accidents."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F02"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.accident.type">
      <path value="ExplanationOfBenefit.accident.type"/>
      <short value="The nature of the accident"/>
      <definition value="Type of accident: work, auto, etc."/>
      <requirements value="Coverage may be dependant on the type of accident."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AccidentType"/>
        </extension>
        <strength value="required"/>
        <description value="Type of accident: work place, auto, etc."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/v3-ActIncidentCode"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.accident.location[x]">
      <path value="ExplanationOfBenefit.accident.location[x]"/>
      <short value="Accident Place"/>
      <definition value="Where the accident occurred."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Address"/>
      </type>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.employmentImpacted">
      <path value="ExplanationOfBenefit.employmentImpacted"/>
      <short value="Period unable to work"/>
      <definition value="The start and optional end dates of when the patient was precluded from working due to the treatable condition(s)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.hospitalization">
      <path value="ExplanationOfBenefit.hospitalization"/>
      <short value="Period in hospital"/>
      <definition value="The start and optional end dates of when the patient was confined to a treatment center."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Item"/>
      </extension>
      <path value="ExplanationOfBenefit.item"/>
      <short value="Goods and Services"/>
      <definition value="First tier of goods and services."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.sequence">
      <path value="ExplanationOfBenefit.item.sequence"/>
      <short value="Service instance"/>
      <definition value="A service line number."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F07"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.careTeamLinkId">
      <path value="ExplanationOfBenefit.item.careTeamLinkId"/>
      <short value="Applicable careteam members"/>
      <definition value="Careteam applicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.diagnosisLinkId">
      <path value="ExplanationOfBenefit.item.diagnosisLinkId"/>
      <short value="Applicable diagnoses"/>
      <definition value="Diagnosis applicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.procedureLinkId">
      <path value="ExplanationOfBenefit.item.procedureLinkId"/>
      <short value="Applicable procedures"/>
      <definition value="Procedures applicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.informationLinkId">
      <path value="ExplanationOfBenefit.item.informationLinkId"/>
      <short value="Applicable exception and supporting information"/>
      <definition value="Exceptions, special conditions and supporting information pplicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="ExplanationOfBenefit.item.revenue">
      <path value="ExplanationOfBenefit.item.revenue"/>
      <short value="Revenue or cost center code"/>
      <definition value="The type of reveneu or cost center providing the product and/or service."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RevenueCenter"/>
        </extension>
        <strength value="example"/>
        <description value="Codes for the revenue or cost centers supplying the service and/or products."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-revenue-center"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.category">
      <path value="ExplanationOfBenefit.item.category"/>
      <short value="Type of service or product"/>
      <definition value="Health Care Service Type Codes to identify the classification of service or benefits."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BenefitSubCategory"/>
        </extension>
        <strength value="example"/>
        <description value="Benefit subcategories such as: oral-basic, major, glasses"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/benefit-subcategory"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="ExplanationOfBenefit.item.service">
      <path value="ExplanationOfBenefit.item.service"/>
      <short value="Billing Code"/>
      <definition 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. &apos;glasses&apos; or &apos;compound&apos;."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceProduct"/>
        </extension>
        <strength value="example"/>
        <description value="Allowable service and product codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-uscls"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cdanetv4"/>
        <map value="F06"/>
      </mapping>
    </element>
    <element id="ExplanationOfBenefit.item.modifier">
      <path value="ExplanationOfBenefit.item.modifier"/>
      <short value="Service/Product billing modifiers"/>
      <definition 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."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Modifiers"/>
        </extension>
        <strength