Skip to main content
Version: v0.0.2

Interface: X12RemitClaim

Decoded Loop 2100 - Claim Payment Information. The clinical-claim unit: one provider-billed claim adjudicated by the payer. Carries the per-claim balance invariant (totalPaymentAmount + patientResponsibilityAmount + Σ(claim-level adjustments) === totalChargeAmount); a mismatch fires X12_835_REMIT_BALANCE_MISMATCH and is NEVER silently rebalanced.

PHI surface: patientControlNumber (provider's account number), payerClaimControlNumber, the patient name on NM1QC, and member ID on NM1IL all carry PHI; the parser surfaces them verbatim, never echoes them in warnings, and never normalizes.

Example

import type { X12RemitClaim } from "@cosyte/x12";
declare const c: X12RemitClaim;
c.patientControlNumber; // "PT-ACCT-001"
c.totalChargeAmount.toString(); // "500.00"
c.totalPaymentAmount.toString(); // "450.00"
c.claimStatusCode; // "1" - Processed as Primary
c.serviceLines.length; // count of SVC loops

Properties

adjustments

readonly adjustments: readonly X12RemitAdjustment[]


amounts

readonly amounts: readonly X12RemitAmount[]


claimFilingIndicatorCode

readonly claimFilingIndicatorCode: string | undefined


claimFrequencyCode

readonly claimFrequencyCode: string | undefined


claimStatusCode

readonly claimStatusCode: string


claimStatusDescription

readonly claimStatusDescription: string | undefined


correctedPatient

readonly correctedPatient: X12RemitPerson | undefined


facilityTypeCode

readonly facilityTypeCode: string | undefined


patient

readonly patient: X12RemitPerson | undefined


patientControlNumber

readonly patientControlNumber: string


patientResponsibilityAmount

readonly patientResponsibilityAmount: X12Decimal


payerClaimControlNumber

readonly payerClaimControlNumber: string | undefined


references

readonly references: readonly X12RemitReference[]


remarks

readonly remarks: readonly X12RemitRemark[]


renderingProvider

readonly renderingProvider: X12RemitProvider | undefined


serviceLines

readonly serviceLines: readonly X12RemitServiceLine[]


servicePeriodEnd

readonly servicePeriodEnd: string | undefined


servicePeriodStart

readonly servicePeriodStart: string | undefined


serviceProvider

readonly serviceProvider: X12RemitProvider | undefined


subscriber

readonly subscriber: X12RemitPerson | undefined


totalChargeAmount

readonly totalChargeAmount: X12Decimal


totalPaymentAmount

readonly totalPaymentAmount: X12Decimal