feat(parsers+api+ui): expose CARC-labeled CAS adjustments (SP3 P2)

This commit is contained in:
Tyler
2026-06-20 07:44:41 -06:00
parent 76eb33e029
commit 2a853857b1
10 changed files with 927 additions and 26 deletions
+18
View File
@@ -59,6 +59,24 @@ export interface Remittance {
status: RemittanceStatus;
denialReason?: string | null;
validationWarnings?: string[];
/**
* Persisted CAS adjustment rows, labeled by the backend via the bundled
* CARC dictionary. Optional — the list endpoint omits it to keep the
* payload small; the detail endpoint (`/api/remittances/{id}`) populates it.
*/
adjustments?: CasAdjustment[];
}
/**
* One Claim Adjustment Segment (CAS) row, labeled.
* Source: backend `cyclone.parsers.cas_codes.reason_label(group, reason)`.
*/
export interface CasAdjustment {
group: string; // "CO", "PR", "OA", "PI", "CR"
reason: string; // "45", "1", etc.
label: string; // "Charge exceeds fee schedule"
amount: number;
quantity: number | null;
}
export interface Activity {