{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-claim-status-transaction-response-schema.json",
  "title": "ClaimStatusTransactionResponse",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-report-api-openapi.yml#/components/schemas/ClaimStatusTransactionResponse",
  "required": [
    "meta"
  ],
  "type": "object",
  "properties": {
    "transactions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ClaimStatusResponse"
      },
      "description": "transactions",
      "default": []
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "ClaimStatus": {
      "title": "ClaimStatus",
      "type": "object",
      "properties": {
        "referencedTransactionTraceNumber": {
          "type": "string",
          "description": "Loop 2200[D|E] TRN02"
        },
        "informationClaimStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InformationClaimStatus"
          },
          "description": "Loop 2200[D|E]",
          "default": []
        },
        "tradingPartnerClaimNumber": {
          "type": "string",
          "description": "Loop 2200[D|E] REF02 where REF01=1K"
        },
        "billTypeIdentifier": {
          "type": "string",
          "description": "Loop 2200[D|E] REF02 where REF01=BLT"
        },
        "patientAccountNumber": {
          "type": "string",
          "description": "Loop 2200[D|E] REF02 where REF01=EJ"
        },
        "pharmacyPrescriptionNumber": {
          "type": "string",
          "description": "Loop 2200[D|E] REF02 where REF01=XZ"
        },
        "voucherIdentifier": {
          "type": "string",
          "description": "Loop 2200[D|E] REF02 where REF01=VV"
        },
        "clearinghouseTraceNumber": {
          "type": "string",
          "description": "Loop 2200[D|E] REF02 where REF01=D9"
        },
        "claimServiceBeginDate": {
          "type": "string",
          "description": "Loop 2200[D|E] DTP03 where DTP02=RD8"
        },
        "claimServiceEndDate": {
          "type": "string",
          "description": "Loop 2200[D|E] DTP03 where DTP02=RD8"
        },
        "claimServiceDate": {
          "type": "string",
          "description": "Loop 2200[D|E] DTP03 where DTP02=D8"
        }
      }
    },
    "ClaimStatusDetails": {
      "title": "ClaimStatusDetails",
      "type": "object",
      "properties": {
        "serviceProvider": {
          "allOf": [
            {
              "$ref": "#/$defs/ServiceProvider"
            }
          ],
          "description": "Loop 2100C NM1",
          "default": {}
        },
        "providerOFServiceInformationTraceIdentifier": {
          "type": "string",
          "description": "Loop 2200C TRN02"
        },
        "serviceProviderClaimStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ServiceProviderClaimStatus"
          },
          "description": "Loop 2200C STC",
          "default": []
        },
        "patientClaimStatusDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PatientClaimStatusDetails"
          },
          "description": "Loop 2000D HL103=22",
          "default": []
        }
      }
    },
    "ClaimStatusResponse": {
      "title": "ClaimStatusResponse",
      "type": "object",
      "properties": {
        "controlNumber": {
          "type": "string",
          "description": "ST02"
        },
        "referenceIdentification": {
          "type": "string",
          "description": "BHT03"
        },
        "transactionSetCreationDate": {
          "type": "string",
          "description": "BHT04"
        },
        "transactionSetCreationTime": {
          "type": "string",
          "description": "BHT05"
        },
        "payers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/cdpedi__x12__v5010__newmodels__claim_status_cdpedi__Payer"
          },
          "description": "Loop 2100A",
          "default": []
        }
      }
    },
    "ClaimStatusTransactions": {
      "title": "ClaimStatusTransactions",
      "type": "object",
      "properties": {
        "provider": {
          "allOf": [
            {
              "$ref": "#/$defs/Provider"
            }
          ],
          "description": "Loop 2100B NM1",
          "default": {}
        },
        "claimTransactionBatchNumber": {
          "type": "string",
          "description": "Loop 2200B TRN02"
        },
        "providerClaimStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProviderClaimStatus"
          },
          "description": "Loop 2200B STC",
          "default": []
        },
        "claimStatusDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ClaimStatusDetails"
          },
          "description": "Loop 2000C HL103=19",
          "default": []
        }
      }
    },
    "Claims": {
      "title": "Claims",
      "type": "object",
      "properties": {
        "claimStatus": {
          "allOf": [
            {
              "$ref": "#/$defs/ClaimStatus"
            }
          ],
          "description": "claimStatus for Loop 2200[D|E]",
          "default": {}
        },
        "serviceLines": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/cdpedi__x12__v5010__newmodels__claim_status_cdpedi__ServiceLines"
          },
          "description": "serviceDetails for Loop loop 2220[D|E]",
          "default": []
        }
      }
    },
    "Contact": {
      "title": "Contact",
      "type": "object",
      "properties": {
        "contactName": {
          "type": "string",
          "description": "PER02"
        },
        "contactMethods": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ContactMethods"
          },
          "description": "each contact will have a single property set, except for phone with extension",
          "default": []
        }
      },
      "description": "Model for Contact Information PER"
    },
    "ContactMethods": {
      "title": "ContactMethods",
      "type": "object",
      "properties": {
        "electronicDataInterChangeAccessNumber": {
          "type": "string",
          "description": "PER04-06-08 where PER03-05-7=ED"
        },
        "email": {
          "type": "string",
          "description": "PER04-06-08 where PER03-05-7=EM"
        },
        "fax": {
          "type": "string",
          "description": "PER04-06-08 where PER03-05-7=FX"
        },
        "phone": {
          "type": "string",
          "description": "PER04-06-08 where PER03-05-7=TE"
        },
        "phoneExtension": {
          "type": "string",
          "description": "PER04-06-08 where PER03-05-7=EX"
        }
      }
    },
    "Dependent": {
      "title": "Dependent",
      "type": "object",
      "properties": {
        "lastName": {
          "type": "string",
          "description": "NM103 where NM102=1"
        },
        "firstName": {
          "type": "string",
          "description": "NM104"
        },
        "middleName": {
          "type": "string",
          "description": "NM105"
        },
        "suffix": {
          "type": "string",
          "description": "NM107"
        }
      }
    },
    "ExtendedProviderStatus": {
      "title": "ExtendedProviderStatus",
      "type": "object",
      "properties": {
        "healthCareClaimStatusCategoryCode": {
          "type": "string",
          "description": "STC01-1, STC010-1, STC11-1"
        },
        "healthCareClaimStatusCategoryCodeValue": {
          "type": "string",
          "description": "STC01-1, STC010-1, STC11-1 in English"
        },
        "statusCode": {
          "type": "string",
          "description": "STC01-2, STC010-2, STC11-2"
        },
        "statusCodeValue": {
          "type": "string",
          "description": "STC01-2, STC010-2, STC11-2 in English"
        },
        "entityIdentifierCode": {
          "type": "string",
          "description": "STC01-3, STC010-3, STC11-3"
        },
        "entityIdentifierCodeValue": {
          "type": "string",
          "description": "STC01-3, STC010-3, STC11-3 in English"
        },
        "nationalCouncilForPrescriptionDrugProgramsRejectPaymentCodes": {
          "type": "string",
          "description": "STC01-4, STC010-4, STC11-4 in English"
        }
      }
    },
    "InformationClaimStatus": {
      "title": "InformationClaimStatus",
      "type": "object",
      "properties": {
        "statusInformationEffectiveDate": {
          "type": "string",
          "description": "Loop 2200[D|E] STC02"
        },
        "totalClaimChargeAmount": {
          "type": "string",
          "description": "Loop 2200[D|E] STC04"
        },
        "claimPaymentAmount": {
          "type": "string",
          "description": "Loop 2200[D|E] STC05"
        },
        "adjudicatedFinalizedDate": {
          "type": "string",
          "description": "Loop 2200[D|E] STC06"
        },
        "remittanceDate": {
          "type": "string",
          "description": "Loop 2200[D|E] STC08"
        },
        "remittanceTraceNumber": {
          "type": "string",
          "description": "Loop 2200[D|E] STC09"
        },
        "informationStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExtendedProviderStatus"
          },
          "description": "Loop 2200[D|E] STC01 ,STC10, STC11",
          "default": []
        }
      }
    },
    "Meta": {
      "title": "Meta",
      "type": "object",
      "properties": {
        "applicationMode": {
          "type": "string"
        },
        "senderId": {
          "type": "string"
        },
        "traceId": {
          "type": "string"
        }
      }
    },
    "PatientClaimStatusDetails": {
      "title": "PatientClaimStatusDetails",
      "type": "object",
      "properties": {
        "subscriber": {
          "allOf": [
            {
              "$ref": "#/$defs/cdpedi__x12__v5010__newmodels__claim_status_cdpedi__Subscriber"
            }
          ],
          "description": "Loop 2100D NM1",
          "default": {}
        },
        "dependent": {
          "allOf": [
            {
              "$ref": "#/$defs/Dependent"
            }
          ],
          "description": "Loop 2100E NM1",
          "default": {}
        },
        "claims": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Claims"
          },
          "description": "Loop 2200[D|E]",
          "default": []
        }
      }
    },
    "Provider": {
      "title": "Provider",
      "type": "object",
      "properties": {
        "organizationName": {
          "type": "string",
          "description": "NM103 where NM102=2"
        },
        "lastName": {
          "type": "string",
          "description": "NM103 where NM102=1"
        },
        "firstName": {
          "type": "string",
          "description": "NM104"
        },
        "middleName": {
          "type": "string",
          "description": "NM105"
        },
        "etin": {
          "type": "string",
          "description": "NM109"
        }
      }
    },
    "ProviderClaimStatus": {
      "title": "ProviderClaimStatus",
      "type": "object",
      "properties": {
        "statusInformationEffectiveDate": {
          "type": "string",
          "description": "Loop 2200C STC02"
        },
        "providerStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProviderStatus"
          },
          "description": "Loop 2200C STC01 ,STC10, STC11",
          "default": []
        }
      }
    },
    "ProviderStatus": {
      "title": "ProviderStatus",
      "type": "object",
      "properties": {
        "healthCareClaimStatusCategoryCode": {
          "type": "string",
          "description": "STC01-1, STC010-1, STC11-1"
        },
        "healthCareClaimStatusCategoryCodeValue": {
          "type": "string",
          "description": "STC01-1, STC010-1, STC11-1 in English"
        },
        "statusCode": {
          "type": "string",
          "description": "STC01-2, STC010-2, STC11-2"
        },
        "statusCodeValue": {
          "type": "string",
          "description": "STC01-2, STC010-2, STC11-2 in English"
        },
        "entityIdentifierCode": {
          "type": "string",
          "description": "STC01-3, STC010-3, STC11-3"
        },
        "entityIdentifierCodeValue": {
          "type": "string",
          "description": "STC01-3, STC010-3, STC11-3 in English"
        }
      }
    },
    "Service": {
      "title": "Service",
      "type": "object",
      "properties": {
        "serviceIdQualifierCode": {
          "type": "string",
          "description": "Loop 2220[D|E] SVC01-01"
        },
        "serviceIdQualifierCodeValue": {
          "type": "string",
          "description": "Loop 2220[D|E] SVC01-01 in English"
        },
        "procedureCode": {
          "type": "string",
          "description": "Loop 2220[D|E] SVC01-02"
        },
        "procedureModifiers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Loop 2220[D|E] SVC01-03, SVC01-04, SVC01-05, SVC01-06",
          "default": []
        },
        "chargeAmount": {
          "type": "string",
          "description": "Loop 2220[D|E] SVC02"
        },
        "amountPaid": {
          "type": "string",
          "description": "Loop 2220[D|E] SVC03"
        },
        "revenueCode": {
          "type": "string",
          "description": "Loop 2220[D|E] SVC04"
        },
        "submittedUnits": {
          "type": "string",
          "description": "Loop 2220[D|E] SVC07"
        }
      }
    },
    "ServiceClaimStatus": {
      "title": "ServiceClaimStatus",
      "type": "object",
      "properties": {
        "effectiveDate": {
          "type": "string",
          "description": "Loop 2220[D|E] STC02"
        },
        "serviceStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExtendedProviderStatus"
          },
          "description": "Loop 2220[D|E] STC01 ,STC10, STC11",
          "default": []
        }
      }
    },
    "ServiceProvider": {
      "title": "ServiceProvider",
      "type": "object",
      "properties": {
        "organizationName": {
          "type": "string",
          "description": "NM103 where NM102=2"
        },
        "lastName": {
          "type": "string",
          "description": "NM103 where NM102=1"
        },
        "firstName": {
          "type": "string",
          "description": "NM104"
        },
        "middleName": {
          "type": "string",
          "description": "NM105"
        },
        "suffix": {
          "type": "string",
          "description": "NM107"
        },
        "tin": {
          "type": "string",
          "description": "NM109 where NM108=FI"
        },
        "spn": {
          "type": "string",
          "description": "NM109 where NM108=SV"
        },
        "npi": {
          "type": "string",
          "description": "NM109 where NM108=XX"
        }
      }
    },
    "ServiceProviderClaimStatus": {
      "title": "ServiceProviderClaimStatus",
      "type": "object",
      "properties": {
        "statusInformationEffectiveDate": {
          "type": "string",
          "description": "Loop 2200C STC02"
        },
        "serviceProviderStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProviderStatus"
          },
          "description": "Loop 2200C STC01 ,STC10, STC11",
          "default": []
        }
      }
    },
    "cdpedi__x12__v5010__newmodels__claim_status_cdpedi__Payer": {
      "title": "Payer",
      "type": "object",
      "properties": {
        "organizationName": {
          "type": "string",
          "description": "NM103"
        },
        "payerIdentification": {
          "type": "string",
          "description": "NM109 where NM108=PI"
        },
        "centersForMedicareAndMedicaidServicePlanId": {
          "type": "string",
          "description": "NM109 where NM108=XV"
        },
        "payerContactInformation": {
          "allOf": [
            {
              "$ref": "#/$defs/Contact"
            }
          ],
          "description": "PER",
          "default": {}
        },
        "claimStatusTransactions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ClaimStatusTransactions"
          },
          "description": "Loop 2000C",
          "default": []
        }
      },
      "description": "Model for the Payer Identification for LOOP 2100A"
    },
    "cdpedi__x12__v5010__newmodels__claim_status_cdpedi__ServiceLines": {
      "title": "ServiceLines",
      "type": "object",
      "properties": {
        "service": {
          "allOf": [
            {
              "$ref": "#/$defs/Service"
            }
          ],
          "description": "service for Loop 2220[D|E]",
          "default": {}
        },
        "serviceClaimStatuses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ServiceClaimStatus"
          },
          "description": "Loop 2220[D|E]",
          "default": []
        },
        "lineItemControlNumber": {
          "type": "string",
          "description": "Loop 2220[D|E] REF02"
        },
        "serviceLineDate": {
          "type": "string",
          "description": "Loop 2220[D|E] DTP03 where DTP02=D8"
        },
        "beginServiceLineDate": {
          "type": "string",
          "description": "Loop 2220[D|E] DTP03 where DTP02=RD8"
        },
        "endServiceLineDate": {
          "type": "string",
          "description": "Loop 2220[D|E] DTP03 where DTP02=RD8"
        }
      }
    },
    "cdpedi__x12__v5010__newmodels__claim_status_cdpedi__Subscriber": {
      "title": "Subscriber",
      "type": "object",
      "properties": {
        "organizationName": {
          "type": "string",
          "description": "NM103 where NM102=2"
        },
        "lastName": {
          "type": "string",
          "description": "NM103 where NM102=1"
        },
        "firstName": {
          "type": "string",
          "description": "NM104"
        },
        "middleName": {
          "type": "string",
          "description": "NM105"
        },
        "suffix": {
          "type": "string",
          "description": "NM107"
        },
        "memberId": {
          "type": "string",
          "description": "NM109 where NM108=MI"
        },
        "employerIdentificationNumber": {
          "type": "string",
          "description": "NM109 where NM108=24"
        },
        "standardUniqueHealthIdentifierForEachIndividualInTheUnitedStates": {
          "type": "string",
          "description": "NM109 where NM108=II"
        }
      }
    }
  }
}