Interface: X12StatusInfo
One decoded STC segment - the headline status fields plus the up-to-three
X12StatusCode composites (STC-01, STC-10, STC-11). A single claim
(or service line) can carry multiple STC segments; each becomes one
X12StatusInfo.
Example
import type { X12StatusInfo } from "@cosyte/x12";
declare const s: X12StatusInfo;
s.statusEffectiveDate; // "20260627"
s.totalChargeAmount?.toString(); // "150.00"
s.statuses[0]?.statusCode; // "20"
Properties
actionCode
readonlyactionCode:string|undefined
adjudicationDate
readonlyadjudicationDate:string|undefined
message
readonlymessage:string|undefined
paymentAmount
readonlypaymentAmount:X12Decimal|undefined
statusEffectiveDate
readonlystatusEffectiveDate:string|undefined
statuses
readonlystatuses: readonlyX12StatusCode[]
totalChargeAmount
readonlytotalChargeAmount:X12Decimal|undefined