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
readonlyadjustments: readonlyX12RemitAdjustment[]
amounts
readonlyamounts: readonlyX12RemitAmount[]
claimFilingIndicatorCode
readonlyclaimFilingIndicatorCode:string|undefined
claimFrequencyCode
readonlyclaimFrequencyCode:string|undefined
claimStatusCode
readonlyclaimStatusCode:string
claimStatusDescription
readonlyclaimStatusDescription:string|undefined
correctedPatient
readonlycorrectedPatient:X12RemitPerson|undefined
facilityTypeCode
readonlyfacilityTypeCode:string|undefined
patient
readonlypatient:X12RemitPerson|undefined
patientControlNumber
readonlypatientControlNumber:string
patientResponsibilityAmount
readonlypatientResponsibilityAmount:X12Decimal
payerClaimControlNumber
readonlypayerClaimControlNumber:string|undefined
references
readonlyreferences: readonlyX12RemitReference[]
remarks
readonlyremarks: readonlyX12RemitRemark[]
renderingProvider
readonlyrenderingProvider:X12RemitProvider|undefined
serviceLines
readonlyserviceLines: readonlyX12RemitServiceLine[]
servicePeriodEnd
readonlyservicePeriodEnd:string|undefined
servicePeriodStart
readonlyservicePeriodStart:string|undefined
serviceProvider
readonlyserviceProvider:X12RemitProvider|undefined
subscriber
readonlysubscriber:X12RemitPerson|undefined
totalChargeAmount
readonlytotalChargeAmount:X12Decimal
totalPaymentAmount
readonlytotalPaymentAmount:X12Decimal