### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/ClaimResponse.json
### ----------------------------------------------------
### -- Chunk 26 of 26
",
      "type" : [{
        "code" : "Money"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.F"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.noteNumber",
      "path" : "ClaimResponse.addItem.detail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.adjudication",
      "path" : "ClaimResponse.addItem.detail.adjudication",
      "short" : "Added items detail adjudication",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "AddedItemSubDetail"
      }],
      "path" : "ClaimResponse.addItem.detail.subDetail",
      "short" : "Insurer added line items",
      "definition" : "The third-tier service adjudications for payor added services.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.productOrService",
      "path" : "ClaimResponse.addItem.detail.subDetail.productOrService",
      "short" : "Billing, service, product, or drug code",
      "definition" : "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.",
      "comment" : "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.",
      "requirements" : "Necessary to state what was provided or done.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceProduct"
        }],
        "strength" : "example",
        "description" : "Allowable service and product codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-uscls"
      }
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.modifier",
      "path" : "ClaimResponse.addItem.detail.subDetail.modifier",
      "short" : "Service/Product billing modifiers",
      "definition" : "Item typification or modifiers codes to convey additional context for the product or service.",
      "comment" : "For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.",
      "requirements" : "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Modifiers"
        }],
        "strength" : "example",
        "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.C, 24.D mods"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.quantity",
      "path" : "ClaimResponse.addItem.detail.subDetail.quantity",
      "short" : "Count of products or services",
      "definition" : "The number of repetitions of a service or product.",
      "requirements" : "Required when the product or service code does not convey the quantity provided.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.G"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.unitPrice",
      "path" : "ClaimResponse.addItem.detail.subDetail.unitPrice",
      "short" : "Fee, charge or cost per item",
      "definition" : "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.",
      "requirements" : "The amount charged to the patient by the provider for a single unit.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.factor",
      "path" : "ClaimResponse.addItem.detail.subDetail.factor",
      "short" : "Price scaling factor",
      "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
      "comment" : "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "requirements" : "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.net",
      "path" : "ClaimResponse.addItem.detail.subDetail.net",
      "short" : "Total item cost",
      "definition" : "The quantity times the unit price for an additional service or product or charge.",
      "comment" : "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "requirements" : "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.F"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.noteNumber",
      "path" : "ClaimResponse.addItem.detail.subDetail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.adjudication",
      "path" : "ClaimResponse.addItem.detail.subDetail.adjudication",
      "short" : "Added items detail adjudication",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.adjudication",
      "path" : "ClaimResponse.adjudication",
      "short" : "Header-level adjudication",
      "definition" : "The adjudication results which are presented at the header level rather than at the line-item or add-item levels.",
      "requirements" : "Some insurers will receive line-items but provide the adjudication only at a summary or header-level.",
      "min" : 0,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.total",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Total"
      }],
      "path" : "ClaimResponse.total",
      "short" : "Adjudication totals",
      "definition" : "Categorized monetary totals for the adjudication.",
      "comment" : "Totals for amounts submitted, co-pays, benefits payable etc.",
      "requirements" : "To provide the requestor with financial totals by category for the adjudication.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.total.category",
      "path" : "ClaimResponse.total.category",
      "short" : "Type of adjudication information",
      "definition" : "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item.",
      "comment" : "For example codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.",
      "requirements" : "Needed to convey the type of total provided.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Adjudication"
        }],
        "strength" : "example",
        "description" : "The adjudication codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication"
      }
    },
    {
      "id" : "ClaimResponse.total.amount",
      "path" : "ClaimResponse.total.amount",
      "short" : "Financial total for the category",
      "definition" : "Monetary total amount associated with the category.",
      "requirements" : "Needed to convey the total monetary amount.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }],
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.payment",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Payment"
      }],
      "path" : "ClaimResponse.payment",
      "short" : "Payment Details",
      "definition" : "Payment details for the adjudication of the claim.",
      "requirements" : "Needed to convey references to the financial instrument that has been used if payment has been made.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.payment.type",
      "path" : "ClaimResponse.payment.type",
      "short" : "Partial or complete payment",
      "definition" : "Whether this represents partial or complete payment of the benefits payable.",
      "requirements" : "To advise the requestor when the insurer believes all payments to have been completed.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PaymentType"
        }],
        "strength" : "example",
        "description" : "The type (partial, complete) of the payment.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/ex-paymenttype"
      }
    },
    {
      "id" : "ClaimResponse.payment.adjustment",
      "path" : "ClaimResponse.payment.adjustment",
      "short" : "Payment adjustment for non-claim issues",
      "definition" : "Total amount of all adjustments to this payment included in this transaction which are not related to this claim's adjudication.",
      "comment" : "Insurers will deduct amounts owing from the provider (adjustment), such as a prior overpayment, from the amount owing to the provider (benefits payable) when payment is made to the provider.",
      "requirements" : "To advise the requestor of adjustments applied to the payment.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.payment.adjustmentReason",
      "path" : "ClaimResponse.payment.adjustmentReason",
      "short" : "Explanation for the adjustment",
      "definition" : "Reason for the payment adjustment.",
      "requirements" : "Needed to clarify the monetary adjustment.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PaymentAdjustmentReason"
        }],
        "strength" : "example",
        "description" : "Payment Adjustment reason codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/payment-adjustment-reason"
      }
    },
    {
      "id" : "ClaimResponse.payment.date",
      "path" : "ClaimResponse.payment.date",
      "short" : "Expected date of payment",
      "definition" : "Estimated date the payment will be issued or the actual issue date of payment.",
      "requirements" : "To advise the payee when payment can be expected.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }]
    },
    {
      "id" : "ClaimResponse.payment.amount",
      "path" : "ClaimResponse.payment.amount",
      "short" : "Payable amount after adjustment",
      "definition" : "Benefits payable less any payment adjustment.",
      "requirements" : "Needed to provide the actual payment amount.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.payment.identifier",
      "path" : "ClaimResponse.payment.identifier",
      "short" : "Business identifier for the payment",
      "definition" : "Issuer's unique identifier for the payment instrument.",
      "comment" : "For example: EFT number or check number.",
      "requirements" : "Enable the receiver to reconcile when payment received.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }]
    },
    {
      "id" : "ClaimResponse.fundsReserve",
      "path" : "ClaimResponse.fundsReserve",
      "short" : "Funds reserved status",
      "definition" : "A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom.",
      "comment" : "Fund would be release by a future claim quoting the preAuthRef of this response. Examples of values include: provider, patient, none.",
      "requirements" : "Needed to advise the submitting provider on whether the rquest for reservation of funds has been honored.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "FundsReserve"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "For whom funds are to be reserved: (Patient, Provider, None).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/fundsreserve"
      }
    },
    {
      "id" : "ClaimResponse.formCode",
      "path" : "ClaimResponse.formCode",
      "short" : "Printed form identifier",
      "definition" : "A code for the form to be used for printing the content.",
      "comment" : "May be needed to identify specific jurisdictional forms.",
      "requirements" : "Needed to specify the specific form used for producing output for this response.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Forms"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "The forms codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/forms"
      }
    },
    {
      "id" : "ClaimResponse.form",
      "path" : "ClaimResponse.form",
      "short" : "Printed reference or actual form",
      "definition" : "The actual form, by reference or inclusion, for printing the content or an EOB.",
      "comment" : "Needed to permit insurers to include the actual form.",
      "requirements" : "Needed to include the specific form used for producing output for this response.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Attachment"
      }]
    },
    {
      "id" : "ClaimResponse.processNote",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Note"
      }],
      "path" : "ClaimResponse.processNote",
      "short" : "Note concerning adjudication",
      "definition" : "A note that describes or explains adjudication results in a human readable form.",
      "requirements" : "Provides the insurer specific textual explanations associated with the processing.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.number",
      "path" : "ClaimResponse.processNote.number",
      "short" : "Note instance identifier",
      "definition" : "A number to uniquely identify a note entry.",
      "requirements" : "Necessary to provide a mechanism to link from adjudications.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.type",
      "path" : "ClaimResponse.processNote.type",
      "short" : "display | print | printoper",
      "definition" : "The business purpose of the note text.",
      "requirements" : "To convey the expectation for when the text is used.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "NoteType"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The presentation types of notes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/note-type|4.0.0"
      }
    },
    {
      "id" : "ClaimResponse.processNote.text",
      "path" : "ClaimResponse.processNote.text",
      "short" : "Note explanatory text",
      "definition" : "The explanation or description associated with the processing.",
      "requirements" : "Required to provide human readable explanation.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.language",
      "path" : "ClaimResponse.processNote.language",
      "short" : "Language of the text",
      "definition" : "A code to define the language used in the text of the note.",
      "comment" : "Only required if the language is different from the resource language.",
      "requirements" : "Note text may vary from the resource defined language.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "A human language.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      }
    },
    {
      "id" : "ClaimResponse.communicationRequest",
      "path" : "ClaimResponse.communicationRequest",
      "short" : "Request for additional information",
      "definition" : "Request for additional supporting or authorizing information.",
      "comment" : "For example: professional reports, documents, images, clinical resources, or accident reports.",
      "requirements" : "Need to communicate insurer request for additional information required to support the adjudication.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CommunicationRequest"]
      }]
    },
    {
      "id" : "ClaimResponse.insurance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Insurance"
      }],
      "path" : "ClaimResponse.insurance",
      "short" : "Patient insurance information",
      "definition" : "Financial instruments for reimbursement for the health care products and services specified on the claim.",
      "comment" : "All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.",
      "requirements" : "At least one insurer is required for a claim to be a claim.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "Coverage"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.sequence",
      "path" : "ClaimResponse.insurance.sequence",
      "short" : "Insurance instance identifier",
      "definition" : "A number to uniquely identify insurance entries and provide a sequence of coverages to convey coordination of benefit order.",
      "requirements" : "To maintain order of the coverages.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.focal",
      "path" : "ClaimResponse.insurance.focal",
      "short" : "Coverage to be used for adjudication",
      "definition" : "A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true.",
      "comment" : "A patient may (will) have multiple insurance policies which provide reimbursement for healthcare services and products. For example a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for adjudicating this claim. Other claims would be created to request adjudication against the other listed policies.",
      "requirements" : "To identify which coverage in the list is being used to adjudicate this claim.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.coverage",
      "path" : "ClaimResponse.insurance.coverage",
      "short" : "Insurance information",
      "definition" : "Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system.",
      "requirements" : "Required to allow the adjudicator to locate the correct policy and history within their information system.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Coverage"]
      }]
    },
    {
      "id" : "ClaimResponse.insurance.businessArrangement",
      "path" : "ClaimResponse.insurance.businessArrangement",
      "short" : "Additional provider contract number",
      "definition" : "A business agreement number established between the provider and the insurer for special business processing purposes.",
      "requirements" : "Providers may have multiple business arrangements with a given insurer and must supply the specific contract number for adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.claimResponse",
      "path" : "ClaimResponse.insurance.claimResponse",
      "short" : "Adjudication results",
      "definition" : "The result of the adjudication of the line items for the Coverage specified in this insurance.",
      "comment" : "Must not be specified when 'focal=true' for this insurance.",
      "requirements" : "An insurer need the adjudication results from prior insurers to determine the outstanding balance remaining by item for the items in the curent claim.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ClaimResponse"]
      }]
    },
    {
      "id" : "ClaimResponse.error",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Error"
      }],
      "path" : "ClaimResponse.error",
      "short" : "Processing errors",
      "definition" : "Errors encountered during the processing of the adjudication.",
      "comment" : "If the request contains errors then an error element should be provided and no adjudication related sections (item, addItem, or payment) should be present.",
      "requirements" : "Need to communicate processing issues to the requestor.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.error.itemSequence",
      "path" : "ClaimResponse.error.itemSequence",
      "short" : "Item sequence number",
      "definition" : "The sequence number of the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim items.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.error.detailSequence",
      "path" : "ClaimResponse.error.detailSequence",
      "short" : "Detail sequence number",
      "definition" : "The sequence number of the detail within the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim details within the claim item.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.error.subDetailSequence",
      "path" : "ClaimResponse.error.subDetailSequence",
      "short" : "Subdetail sequence number",
      "definition" : "The sequence number of the sub-detail within the detail within the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim sub-details within the claim detail.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.error.code",
      "path" : "ClaimResponse.error.code",
      "short" : "Error code detailing processing issues",
      "definition" : "An error code, from a specified code system, which details why the claim could not be adjudicated.",
      "requirements" : "Required to convey processing errors.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdjudicationError"
        }],
        "strength" : "example",
        "description" : "The adjudication error codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication-error"
      }
    }]
  }
}


