This page is part of the Quality Improvement Core Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

Profile qicore-claim


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="qicore-claim"/>
  <url value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-claim"/>
  <name value="Profile qicore-claim"/>
  <status value="draft"/>
  <publisher
             value="Health Level Seven International (Clinical Quality Information - QICore)"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="http://hl7.org/special/committees/CQI"/>
    </telecom>
  </contact>
  <date value="2016-07-15"/>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 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="Claim"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Claim"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="Claim:qicore-claim">
      <path value="Claim"/>
      <name value="QICore-Claim"/>
      <short value="Claim, Pre-determination or Pre-authorization"/>
      <definition
                  value="A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
      </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)"/>
      </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))"/>
      </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(('#'+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('#', $id))]))"/>
      </constraint>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="financial.billing"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.id">
      <path value="Claim.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."/>
      <comments
                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="*"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Claim:qicore-claim.meta">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Claim:qicore-claim.implicitRules">
      <path value="Claim.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."/>
      <comments
                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 as much as possible."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Claim:qicore-claim.language">
      <path value="Claim.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comments
                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="*"/>
      </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>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.text">
      <path value="Claim.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 "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comments
                value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <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="*"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.contained">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.identifier">
      <path value="Claim.identifier"/>
      <short value="Claim number"/>
      <definition
                  value="The business identifier for the instance: claim number, pre-determination or pre-authorization number."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.status">
      <path value="Claim.status"/>
      <short value="active | cancelled | draft | entered-in-error"/>
      <definition value="The status of the resource instance."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="required"/>
        <description
                     value="A code specifying the state of the resource instance."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.type">
      <path value="Claim.type"/>
      <short value="Type or discipline"/>
      <definition
                  value="The category of claim, eg, oral, pharmacy, vision, insitutional, professional."/>
      <comments value="Affects which fields and value sets are used."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.subType">
      <path value="Claim.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."/>
      <comments
                value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.subType"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="A more granular 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="Claim:qicore-claim.ruleset">
      <path value="Claim.ruleset"/>
      <short value="Current specification followed"/>
      <definition
                  value="The version of the specification on which this instance relies."/>
      <alias value="BusinessVersion"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.ruleset"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="id.version"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.originalRuleset">
      <path value="Claim.originalRuleset"/>
      <short value="Original specification followed"/>
      <definition
                  value="The version of the specification from which the original instance was created."/>
      <alias value="OriginalBusinessVersion"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.originalRuleset"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.created">
      <path value="Claim.created"/>
      <short value="Creation date"/>
      <definition
                  value="The date when the enclosed suite of services were performed or completed."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.created"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.billablePeriod">
      <path value="Claim.billablePeriod"/>
      <short value="Period for charge submission"/>
      <definition
                  value="The billable period for which charges are being submitted."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.billablePeriod"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.insurer[x]">
      <path value="Claim.insurer[x]"/>
      <short value="Target"/>
      <definition value="The Insurer who is target  of the request."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.insurer[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.provider[x]">
      <path value="Claim.provider[x]"/>
      <short value="Responsible provider"/>
      <definition
                  value="The provider which is responsible for the bill, claim pre-determination, pre-authorization."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.provider[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="who.source"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.organization[x]">
      <path value="Claim.organization[x]"/>
      <short value="Responsible organization"/>
      <definition
                  value="The organization which is responsible for the bill, claim pre-determination, pre-authorization."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.organization[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="who.source"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.use">
      <path value="Claim.use"/>
      <short value="complete | proposed | exploratory | other"/>
      <definition
                  value="Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.use"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description value="Complete, proposed, exploratory, other"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-use"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.priority">
      <path value="Claim.priority"/>
      <short value="Desired processing priority"/>
      <definition
                  value="Immediate (STAT), best effort (NORMAL), deferred (DEFER)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.priority"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="The timeliness with which processing is required: STAT, normal, Deferred"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/process-priority"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.fundsReserve">
      <path value="Claim.fundsReserve"/>
      <short value="Funds requested to be reserved"/>
      <definition
                  value="In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.fundsReserve"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="For whom funds are to be reserved: (Patient, Provider, None)."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/fundsreserve"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.enterer[x]">
      <path value="Claim.enterer[x]"/>
      <short value="Author"/>
      <definition
                  value="Person who created the invoice/claim/pre-determination or pre-authorization."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.enterer[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="who.author"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.facility[x]">
      <path value="Claim.facility[x]"/>
      <short value="Servicing Facility"/>
      <definition value="Facility where the services were provided."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.facility[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.related">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="RelatedClaim"/>
      </extension>
      <path value="Claim.related"/>
      <short
             value="Related Claims which may be revelant to processing this claimn"/>
      <definition
                  value="Other claims which are related to this claim such as prior claim versions or for related services."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.related"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.related.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.related.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.related.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.related.claim[x]">
      <path value="Claim.related.claim[x]"/>
      <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."/>
      <comments value="Do we need a relationship code?"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.related.claim[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Claim"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.related.relationship">
      <path value="Claim.related.relationship"/>
      <short value="How the reference claim is related"/>
      <definition value="For example prior or umbrella."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.related.relationship"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.related.reference">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.related.reference"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.prescription[x]">
      <path value="Claim.prescription[x]"/>
      <short value="Prescription"/>
      <definition
                  value="Prescription to support the dispensing of Pharmacy or Vision products."/>
      <comments
                value="Should we create a group to hold multiple prescriptions and add a sequence number and on the line items a link to the sequence."/>
      <requirements value="For type=Pharmacy and Vision only."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.prescription[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/MedicationOrder"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/VisionPrescription"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.originalPrescription[x]">
      <path value="Claim.originalPrescription[x]"/>
      <short value="Original Prescription"/>
      <definition
                  value="Original prescription which has been superceded by this prescription to support the dispensing of pharmacy services, medications or products."/>
      <comments value="as above."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.originalPrescription[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/MedicationOrder"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.payee">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Payee"/>
      </extension>
      <path value="Claim.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"/>
      <base>
        <path value="Claim.payee"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.payee.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.payee.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.payee.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.payee.type">
      <path value="Claim.payee.type"/>
      <short value="Type of party: Subscriber, Provider, other"/>
      <definition
                  value="Type of Party to be reimbursed: Subscriber, provider, other."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.payee.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.payee.resourceType">
      <path value="Claim.payee.resourceType"/>
      <short value="organization | patient | practitioner | relatedperson"/>
      <definition value="organization | patient | practitioner | relatedperson."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.payee.resourceType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The type of payee Resource"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ex-payee-resource-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.payee.party[x]">
      <path value="Claim.payee.party[x]"/>
      <short value="Party to receive the payable"/>
      <definition value="Party to be reimbursed: Subscriber, provider, other."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.payee.party[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-relatedperson"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.referralReference">
      <path value="Claim.referralReference"/>
      <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"/>
      <base>
        <path value="Claim.referral[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-referralrequest"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="who.cause"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.information">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="SpecialCondition"/>
      </extension>
      <path value="Claim.information"/>
      <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="*"/>
      <base>
        <path value="Claim.information"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.information.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.information.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.information.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.information.category">
      <path value="Claim.information.category"/>
      <short value="Category of information"/>
      <definition
                  value="The general class of the information supplied: information; exception; accident, employment; onset, etc."/>
      <comments
                value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.information.category"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <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="Claim:qicore-claim.information.code">
      <path value="Claim.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."/>
      <comments
                value="This may contain the local bill type codes such as the US UB-04 bill type code."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.information.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="example"/>
        <description value="The valuset used for additional information codes."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/claim-exception"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.information.timing[x]">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.information.timing[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.information.value[x]">
      <path value="Claim.information.value[x]"/>
      <short value="Additional Data"/>
      <definition value="Additional data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.information.value[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <type>
        <code value="Quantity"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.diagnosis">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Diagnosis"/>
      </extension>
      <path value="Claim.diagnosis"/>
      <short value="Diagnosis"/>
      <definition
                  value="Ordered list of patient diagnosis for which care is sought."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.diagnosis"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.diagnosis.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.diagnosis.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.diagnosis.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.diagnosis.sequence">
      <path value="Claim.diagnosis.sequence"/>
      <short value="Number to covey order of diagnosis"/>
      <definition
                  value="Sequence of diagnosis which serves to order and provide a link."/>
      <requirements value="Required to maintain order of the diagnoses."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.diagnosis.sequence"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.diagnosis.diagnosis">
      <path value="Claim.diagnosis.diagnosis"/>
      <short value="Patient's diagnosis"/>
      <definition value="The diagnosis."/>
      <requirements
                    value="Required to adjudicate services rendered to condition presented."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.diagnosis.diagnosis"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="ICD10 Diagnostic codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/icd-10"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.diagnosis.type">
      <path value="Claim.diagnosis.type"/>
      <short value="Type of Diagnosis"/>
      <definition value="The type of the Diagnosis, for example: admitting,."/>
      <comments
                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="1"/>
      <base>
        <path value="Claim.diagnosis.type"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <binding>
        <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="Claim:qicore-claim.diagnosis.drg">
      <path value="Claim.diagnosis.drg"/>
      <short value="Diagnosis Related Group"/>
      <definition
                  value="The Diagnosis Related Group (DRG) code based on the assigned grouping code system."/>
      <requirements
                    value="Required to adjudicate services rendered to the mandated diagnosis grouping system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.diagnosis.drg"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.procedure">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Procedure"/>
      </extension>
      <path value="Claim.procedure"/>
      <short value="Procedures performed"/>
      <definition
                  value="Ordered list of patient procedures performed to support the adjudication."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.procedure"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.procedure.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.procedure.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.procedure.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.procedure.sequence">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.procedure.sequence"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.procedure.date">
      <path value="Claim.procedure.date"/>
      <short value="When the procedure was performed"/>
      <definition value="Date and optionally time the procedure was performed ."/>
      <comments value="SB DateTime??"/>
      <requirements value="Required to adjudicate services rendered."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.procedure.date"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.procedure.procedure[x]">
      <path value="Claim.procedure.procedure[x]"/>
      <short value="Patient's list of procedures performed"/>
      <definition value="The procedure code."/>
      <requirements value="Required to adjudicate services rendered."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.procedure.procedure[x]"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="ICD10 Procedure codes"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/icd-10-procedures"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.patient[x]">
      <path value="Claim.patient[x]"/>
      <short value="The subject of the Products and Services"/>
      <definition value="Patient Resource."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.patient[x]"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.coverage">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Coverage"/>
      </extension>
      <path value="Claim.coverage"/>
      <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="*"/>
      <base>
        <path value="Claim.coverage"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="Coverage"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.coverage.id">
      <path value="Claim.coverage.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.coverage.extension">
      <path value="Claim.coverage.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."/>
      <comments
                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="Claim:qicore-claim.coverage.modifierExtension">
      <path value="Claim.coverage.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."/>
      <comments
                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="Claim:qicore-claim.coverage.sequence">
      <path value="Claim.coverage.sequence"/>
      <short value="Service instance identifier"/>
      <definition value="A service line item."/>
      <requirements value="To maintain order of the coverages."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.coverage.sequence"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.coverage.focal">
      <path value="Claim.coverage.focal"/>
      <short value="Is the focal Coverage"/>
      <definition
                  value="The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated."/>
      <requirements value="To identify which coverage is being adjudicated."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.coverage.focal"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.coverage.coverage[x]">
      <path value="Claim.coverage.coverage[x]"/>
      <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="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.coverage.coverage[x]"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.coverage.businessArrangement">
      <path value="Claim.coverage.businessArrangement"/>
      <short value="Business agreement"/>
      <definition
                  value="The contract number of a business agreement which describes the terms and conditions."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.coverage.businessArrangement"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.coverage.preAuthRef">
      <path value="Claim.coverage.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="*"/>
      <base>
        <path value="Claim.coverage.preAuthRef"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.coverage.claimResponse">
      <path value="Claim.coverage.claimResponse"/>
      <short value="Adjudication results"/>
      <definition value="The Coverages adjudication details."/>
      <requirements
                    value="Used by downstream payers to determine what balance remains and the net payable."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.coverage.claimResponse"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/ClaimResponse"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.coverage.originalRuleset">
      <path value="Claim.coverage.originalRuleset"/>
      <short value="Original version"/>
      <definition
                  value="The style (standard) and version of the original material which was converted into this resource."/>
      <requirements
                    value="Knowledge of the original version can inform the processing of this instance so that information which is processable by the originating system may be generated."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.coverage.originalRuleset"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="The static and dynamic model to which contents conform, which may be business version or standard/version."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/ruleset"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.accident">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Accident"/>
      </extension>
      <path value="Claim.accident"/>
      <definition
                  value="An accident which resulted in the need for healthcare services."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.accident"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.accident.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.accident.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.accident.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.accident.date">
      <path value="Claim.accident.date"/>
      <short
             value="When the accident occurred see information codes see information codes"/>
      <definition
                  value="Date of an accident which these services are addressing."/>
      <requirements value="Coverage may be dependant on accidents."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.accident.date"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.accident.type">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.accident.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.accident.location[x]">
      <path value="Claim.accident.location[x]"/>
      <short value="Accident Place"/>
      <definition value="Accident Place."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.accident.location[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Address"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.employmentImpacted">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.employmentImpacted"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.hospitalization">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.hospitalization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Item"/>
      </extension>
      <path value="Claim.item"/>
      <short value="Goods and Services"/>
      <definition value="First tier of goods and services."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.item"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.item.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.item.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.item.sequence">
      <path value="Claim.item.sequence"/>
      <short value="Service instance"/>
      <definition value="A service line number."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.sequence"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.careTeam">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="CareTeam"/>
      </extension>
      <path value="Claim.item.careTeam"/>
      <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="*"/>
      <base>
        <path value="Claim.item.careTeam"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.careTeam.id">
      <path value="Claim.item.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.item.careTeam.extension">
      <path value="Claim.item.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."/>
      <comments
                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="Claim:qicore-claim.item.careTeam.modifierExtension">
      <path value="Claim.item.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."/>
      <comments
                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="Claim:qicore-claim.item.careTeam.provider[x]">
      <path value="Claim.item.careTeam.provider[x]"/>
      <short value="Provider individual or organization"/>
      <definition value="Member of the team who provided the overall service."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.careTeam.provider[x]"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-organization"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.item.careTeam.responsible">
      <path value="Claim.item.careTeam.responsible"/>
      <short value="Billing provider"/>
      <definition
                  value="The party who is billing and responsible for the claimed good or service rendered to the patient."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.careTeam.responsible"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.careTeam.role">
      <path value="Claim.item.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"/>
      <base>
        <path value="Claim.item.careTeam.role"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.careTeam.qualification">
      <path value="Claim.item.careTeam.qualification"/>
      <short value="Type, classification or Specialization"/>
      <definition
                  value="The qualification which is applicable for this service."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.careTeam.qualification"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="Provider professional qualifications"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/provider-qualification"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.item.diagnosisLinkId">
      <path value="Claim.item.diagnosisLinkId"/>
      <short value="Applicable diagnoses"/>
      <definition value="Diagnosis applicable for this service or product line."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.item.diagnosisLinkId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.revenue">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.revenue"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.category">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.service">
      <path value="Claim.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. 'glasses' or 'compound'."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.service"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <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="Claim:qicore-claim.item.modifier">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.modifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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>
    </element>
    <element id="Claim:qicore-claim.item.programCode">
      <path value="Claim.item.programCode"/>
      <short value="Program specific reason for item inclusion"/>
      <definition
                  value="For programs which require reason codes for the inclusion or covering of this billed item under the program or sub-program."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.item.programCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.serviced[x]">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.serviced[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.item.locationReference">
      <path value="Claim.item.locationReference"/>
      <short value="Place of service"/>
      <definition value="Where the service was provided."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.location[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-location"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <binding>
        <strength value="example"/>
        <description value="Place of service: pharmcy,school, prison, etc."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-place"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.item.quantity">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.quantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.unitPrice">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.unitPrice"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.factor">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.factor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.points">
      <path value="Claim.item.points"/>
      <short value="Difficulty scaling factor"/>
      <definition
                  value="An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point."/>
      <requirements
                    value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.points"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.net">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.net"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.udi">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.udi"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-device"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.bodySite">
      <path value="Claim.item.bodySite"/>
      <short value="Service Location"/>
      <definition
                  value="Physical service site on the patient (limb, tooth, etc)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.bodySite"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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>
    </element>
    <element id="Claim:qicore-claim.item.subSite">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.subSite"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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>
    </element>
    <element id="Claim:qicore-claim.item.detail">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Detail"/>
      </extension>
      <path value="Claim.item.detail"/>
      <short value="Additional items"/>
      <definition value="Second tier of goods and services."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.item.detail"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.detail.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.item.detail.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.item.detail.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.item.detail.sequence">
      <path value="Claim.item.detail.sequence"/>
      <short value="Service instance"/>
      <definition value="A service line number."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.detail.sequence"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.revenue">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.revenue"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.detail.category">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.detail.service">
      <path value="Claim.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. 'glasses' or 'compound'."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.detail.service"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.detail.modifier">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.detail.modifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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>
    </element>
    <element id="Claim:qicore-claim.item.detail.programCode">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.detail.programCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.detail.quantity">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.quantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.unitPrice">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.unitPrice"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.factor">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.factor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.points">
      <path value="Claim.item.detail.points"/>
      <short value="Difficulty scaling factor"/>
      <definition
                  value="An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point."/>
      <requirements
                    value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.detail.points"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.net">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.net"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.udi">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.detail.udi"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-device"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="SubDetail"/>
      </extension>
      <path value="Claim.item.detail.subDetail"/>
      <short value="Additional items"/>
      <definition value="Third tier of goods and services."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.item.detail.subDetail"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.id">
      <path value="Claim.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.extension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.item.detail.subDetail.modifierExtension">
      <path value="Claim.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."/>
      <comments
                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="Claim:qicore-claim.item.detail.subDetail.sequence">
      <path value="Claim.item.detail.subDetail.sequence"/>
      <short value="Service instance"/>
      <definition value="A service line number."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.detail.subDetail.sequence"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="positiveInt"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.revenue">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.subDetail.revenue"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.detail.subDetail.category">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.subDetail.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.detail.subDetail.service">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.subDetail.service"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.detail.subDetail.modifier">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.detail.subDetail.modifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.programCode">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.detail.subDetail.programCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.item.detail.subDetail.quantity">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.subDetail.quantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.unitPrice">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.subDetail.unitPrice"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.factor">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.subDetail.factor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.points">
      <path value="Claim.item.detail.subDetail.points"/>
      <short value="Difficulty scaling factor"/>
      <definition
                  value="An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point."/>
      <requirements
                    value="If a fee is present the associated product/service code must be present."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.detail.subDetail.points"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.net">
      <path value="Claim.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"/>
      <base>
        <path value="Claim.item.detail.subDetail.net"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.udi">
      <path value="Claim.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="*"/>
      <base>
        <path value="Claim.item.detail.subDetail.udi"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-device"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.prosthesis">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Prosthesis"/>
      </extension>
      <path value="Claim.item.prosthesis"/>
      <short value="Prosthetic details"/>
      <definition
                  value="The materials and placement date of prior fixed prosthesis."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.prosthesis"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.prosthesis.id">
      <path value="Claim.item.prosthesis.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.item.prosthesis.extension">
      <path value="Claim.item.prosthesis.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."/>
      <comments
                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="Claim:qicore-claim.item.prosthesis.modifierExtension">
      <path value="Claim.item.prosthesis.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."/>
      <comments
                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="Claim:qicore-claim.item.prosthesis.initial">
      <path value="Claim.item.prosthesis.initial"/>
      <short value="Is this the initial service"/>
      <definition
                  value="Indicates whether this is the initial placement of a fixed prosthesis."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.prosthesis.initial"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.prosthesis.priorDate">
      <path value="Claim.item.prosthesis.priorDate"/>
      <short value="Initial service Date"/>
      <definition value="Date of the initial placement."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.prosthesis.priorDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.item.prosthesis.priorMaterial">
      <path value="Claim.item.prosthesis.priorMaterial"/>
      <short value="Prosthetic Material"/>
      <definition
                  value="Material of the prior denture or bridge prosthesis. (Oral)."/>
      <requirements value="May impact on adjudication."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.item.prosthesis.priorMaterial"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="Material of the prior denture or bridge prosthesis. (Oral)"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/oral-prosthodontic-material"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.total">
      <path value="Claim.total"/>
      <short value="Total claim cost"/>
      <definition value="The total value of the claim."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.total"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Money"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.missingTeeth">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="MissingTeeth"/>
      </extension>
      <path value="Claim.missingTeeth"/>
      <short value="Only if type = oral"/>
      <definition
                  value="A list of teeth which would be expected but are not found due to having been previously  extracted or for other reasons."/>
      <requirements
                    value="The list of missing teeth may influence the adjudication of services for example with Bridges."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Claim.missingTeeth"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="Claim:qicore-claim.missingTeeth.id">
      <path value="Claim.missingTeeth.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="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Claim:qicore-claim.missingTeeth.extension">
      <path value="Claim.missingTeeth.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."/>
      <comments
                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="Claim:qicore-claim.missingTeeth.modifierExtension">
      <path value="Claim.missingTeeth.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."/>
      <comments
                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="Claim:qicore-claim.missingTeeth.tooth">
      <path value="Claim.missingTeeth.tooth"/>
      <short value="Tooth Code"/>
      <definition value="The code identifying which tooth is missing."/>
      <requirements value="Provides the tooth number of the missing tooth."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Claim.missingTeeth.tooth"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The codes for the teeth, subset of OralSites"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/teeth"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Claim:qicore-claim.missingTeeth.reason">
      <path value="Claim.missingTeeth.reason"/>
      <short value="Indicates whether it was extracted or other reason"/>
      <definition value="Missing reason may be: E-extraction, O-other."/>
      <requirements value="Provides the reason for the missing tooth."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.missingTeeth.reason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <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="Claim:qicore-claim.missingTeeth.extractionDate">
      <path value="Claim.missingTeeth.extractionDate"/>
      <short value="Date tooth was extracted if known"/>
      <definition
                  value="The date of the extraction either known from records or patient reported estimate."/>
      <requirements
                    value="Some services and adjudications require this information."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Claim.missingTeeth.extractionDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="Claim:qicore-claim">
      <path value="Claim"/>
      <name value="QICore-Claim"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.created">
      <path value="Claim.created"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.provider">
      <path value="Claim.provider"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.prescription">
      <path value="Claim.prescription"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-medicationorder"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.payee">
      <path value="Claim.payee"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.payee.party">
      <path value="Claim.payee.party"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.payee.party[x]">
      <path value="Claim.payee.party[x]"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-organization"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-relatedperson"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.referral[x]">
      <path value="Claim.referral[x]"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-referralrequest"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.information">
      <path value="Claim.information"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.information.category">
      <path value="Claim.information.category"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.information.code">
      <path value="Claim.information.code"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.diagnosis">
      <path value="Claim.diagnosis"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.diagnosis.type">
      <path value="Claim.diagnosis.type"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.patient">
      <path value="Claim.patient"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item">
      <path value="Claim.item"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.careTeam">
      <path value="Claim.item.careTeam"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.careTeam.provider">
      <path value="Claim.item.careTeam.provider"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.careTeam.providerReference">
      <path value="Claim.item.careTeam.providerReference"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-organization"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.service">
      <path value="Claim.item.service"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.serviced[x]">
      <path value="Claim.item.serviced[x]"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.locationReference">
      <path value="Claim.item.locationReference"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-location"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.udi">
      <path value="Claim.item.udi"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-device"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.detail">
      <path value="Claim.item.detail"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.detail.udi">
      <path value="Claim.item.detail.udi"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-device"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail">
      <path value="Claim.item.detail.subDetail"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="Claim:qicore-claim.item.detail.subDetail.udi">
      <path value="Claim.item.detail.subDetail.udi"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-device"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
  </differential>
</StructureDefinition>