Skip to main content
Version: v0.0.2

Interface: X12RemitAdjustment

Decoded CAS adjustment. One CAS segment carries up to 6 adjustment triples (reason code + amount + optional quantity) all under the same groupCode (CAS-01). The walker flattens these so each X12RemitAdjustment is ONE adjustment, not one segment.

groupCode is the safety primitive - see "../../code-lists/cagc.js".CLAIM_ADJUSTMENT_GROUP_CODES. CO = provider write-off; PR = patient owes; OA / PI = other / payer edit. reasonCode is the CARC value (verbatim); reasonDescription is from the bundled snapshot or undefined if outside the subset.

Example

import type { X12RemitAdjustment } from "@cosyte/x12";
declare const a: X12RemitAdjustment;
a.groupCode; // "PR" (patient responsibility)
a.reasonCode; // "1" (deductible)
a.reasonDescription; // "Deductible Amount"
a.amount.toString(); // "50.00"

Properties

amount

readonly amount: X12Decimal


groupCode

readonly groupCode: string


quantity

readonly quantity: X12Decimal | undefined


reasonCode

readonly reasonCode: string


reasonDescription

readonly reasonDescription: string | undefined