<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark1646" />
  <meta>
    <versionId value="spark1998" />
    <lastUpdated value="2015-11-18T16:38:16.272+00:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0" />
  </extension>
  <url value="http://mais.org.ar/fhir/StructureDefinition/AutorizacionRecibida" />
  <name value="AutorizacionRecibida" />
  <status value="draft" />
  <date value="2015-09-22T20:02:49+10:00" />
  <description value="Base StructureDefinition for ClaimResponse Resource" />
  <fhirVersion value="1.0.1" />
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="cdanetv4" />
    <uri value="http://www.cda-adc.ca/en/services/cdanet/" />
    <name value="Canadian Dental Association eclaims standard" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM" />
  </mapping>
  <kind value="resource" />
  <constrainedType value="ClaimResponse" />
  <abstract value="false" />
  <base value="http://hl7.org/fhir/StructureDefinition/ClaimResponse" />
  <differential>
    <element>
      <path value="ClaimResponse" />
      <short value="Remittance resource" />
      <definition value="This resource provides the adjudication details from the processing of a Claim resource." />
      <alias value="Remittance Advice" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="ClaimResponse" />
        <aggregation value="contained" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="financial.billing" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.identifier" />
      <short value="Response  number" />
      <definition value="The Response business identifier." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Identifier" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.identifier.use" />
      <short value="usual | official | temp | secondary (If known)" />
      <definition value="The purpose of this identifier." />
      <comments value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." />
      <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.code or implied by context" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.identifier.type" />
      <short value="Description of identifier" />
      <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." />
      <comments value="This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." />
      <requirements value="Allows users to make use of identifiers when the identifier system is not known." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="CX.5" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.code or implied by context" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.identifier.system" />
      <short value="The namespace for the identifier" />
      <definition value="Establishes the namespace in which set of possible id values is unique." />
      <requirements value="There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <exampleUri value="http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="CX.4 / EI-2-4" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.root or Role.id.root" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./IdentifierType" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.identifier.value" />
      <short value="The value that is unique" />
      <definition value="The portion of the identifier typically displayed to the user and which is unique within the context of the system." />
      <comments value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <exampleString value="123456" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="CX.1 / EI.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Value" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.identifier.period" />
      <short value="Time period when id is/was valid for use" />
      <definition value="Time period during which identifier is/was valid for use." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Period" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="CX.7 + CX.8" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.effectiveTime or implied by context" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./StartDate and ./EndDate" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.identifier.assigner" />
      <short value="Organization that issued id (may be just text)" />
      <definition value="Organization that issued/manages the identifier." />
      <comments value="The reference may be just a text description of the assigner." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="CX.4 / (CX.4,CX.9,CX.10)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./IdentifierIssuingAuthority" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.request" />
      <short value="Id of resource triggering adjudication" />
      <definition value="Original request resource referrence." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Claim" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="cdanetv4" />
        <map value="A02|G01" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.ruleset" />
      <short value="Resource version" />
      <definition value="The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Coding" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.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="0" />
      <type>
        <code value="Coding" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.created" />
      <short value="Creation date" />
      <definition value="The date when the enclosed suite of services were performed or completed." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="dateTime" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.organization" />
      <short value="Insurer" />
      <definition value="The Insurer who produced this adjudicated response." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.requestProvider" />
      <short value="Responsible practitioner" />
      <definition value="The practitioner who is responsible for the services rendered to the patient." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="cdanetv4" />
        <map value="B01" />
      </mapping>
    </element>
    <element>
      <path value="ClaimResponse.requestOrganization" />
      <short value="Responsible organization" />
      <definition value="The organization which is responsible for the services rendered to the patient." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.outcome" />
      <short value="complete | error" />
      <definition value="Transaction status: error, complete." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.disposition" />
      <short value="Disposition Message" />
      <definition value="A description of the status of the adjudication." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.payeeType" />
      <short value="Party to be paid any benefits payable" />
      <definition value="Party to be reimbursed: Subscriber, provider, other." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Coding" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Items" />
      </extension>
      <path value="ClaimResponse.item" />
      <short value="Line items" />
      <definition value="The first tier service adjudications for submitted services." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="AddedItem" />
      </extension>
      <path value="ClaimResponse.addItem" />
      <short value="Insurer added line items" />
      <definition value="The first tier service adjudications for payor added services." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Errors" />
      </extension>
      <path value="ClaimResponse.error" />
      <short value="Processing errors" />
      <definition value="Mutually exclusive with Services Provided (Item)." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.totalCost" />
      <short value="Total Cost of service from the Claim" />
      <definition value="The total cost of the services reported." />
      <requirements value="This is a check value that the receiver calculates and returns." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Money" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.unallocDeductable" />
      <short value="Unallocated deductible" />
      <definition value="The amount of deductible applied which was not allocated to any particular service line." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Money" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.totalBenefit" />
      <short value="Total benefit payable for the Claim" />
      <definition value="Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductible)." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Money" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.paymentAdjustment" />
      <short value="Payment adjustment for non-Claim issues" />
      <definition value="Adjustment to the payment of this transaction which is not related to adjudication of this transaction." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Money" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.paymentAdjustmentReason" />
      <short value="Reason for Payment adjustment" />
      <definition value="Reason for the payment adjustment." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Coding" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.paymentDate" />
      <short value="Expected data of Payment" />
      <definition value="Estimated payment data." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="date" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.paymentAmount" />
      <short value="Payment amount" />
      <definition value="Payable less any payment adjustment." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Money" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.paymentRef" />
      <short value="Payment identifier" />
      <definition value="Payment identifier." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Identifier" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.reserved" />
      <short value="Funds reserved status" />
      <definition value="Status of funds reservation (For provider, for Patient, None)." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Coding" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <path value="ClaimResponse.form" />
      <short value="Printed Form Identifier" />
      <definition value="The form to be used for printing the content." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Coding" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="cdanetv4" />
        <map value="G42" />
      </mapping>
    </element>
    <element>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Notes" />
      </extension>
      <path value="ClaimResponse.note" />
      <short value="Processing notes" />
      <definition value="Note text." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
    </element>
    <element>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Coverage" />
      </extension>
      <path value="ClaimResponse.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="0" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="Coverage" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>