nx_fin_dispute.nx
buildroot/runtime/nx_fin_dispute.nx
about
nx_fin_dispute.nx -- R8 (fail-safe execute) of THE NISHI FINANCIAL ECOSYSTEM: turn audit findings into
a filled, ready-to-send MEDICAL-BILL DISPUTE LETTER. This is the "executing -> reducing costs" verb for
the operator's cancer-billing crisis: the engine renders the artifact, the OPERATOR reviews and sends it.
NEVER-BRICK / FAIL-SAFE BY CONSTRUCTION (#26): disp_build writes ONLY into a caller buffer -- it has no
socket, no file send, no transmit. It can NEVER auto-send a dispute, mail a letter, or take an
irreversible action. It produces text; a human decides what to do with it. Amounts are exact no-float
cents (nx_money). Reasons are cited to standard billing-integrity grounds (duplicate / NCCI unbundling /
Medically Unlikely Edits / reasonable-charge benchmark) + FDCPA dispute + No Surprises Act, grounded on
the fetched corpus (fin_r3_no_surprises_act, fin_r6_fdcpa, fin_r10_cpt/medicare). PRIVACY: patient/
provider/account are caller-supplied (operator's specifics stay LOCAL; never enter web queries).
reason codes: 1=duplicate, 2=unbundling, 3=MUE over-units, 4=fair-price. license_tier: ORIGINAL
dependencies 2 imports · 3 importers
imports: nx_syscalls.nxnx_money.nx
imported by: nx_fin_dispute_gate.nxnx_healthhelp_site.nxnx_medbill_cli.nx
structs
| none |
consts
| 15 | const K_MAGIC_10000: i64 = 10000 |
functions
| 17 | func d_cat(out: *u8, off: i64, s: *u8) -> i64 |
| 22 | func d_n(out: *u8, off: i64, v: i64) -> i64 |
| 30 | func d_n2(out: *u8, off: i64, v: i64) -> i64 |
| 35 | func d_money(out: *u8, off: i64, cents: i64) -> i64 |
| 47 | func d_date(out: *u8, off: i64, ymd: i64) -> i64 |
| 58 | func d_reason(out: *u8, off: i64, code: i64) -> i64 |
| 72 | func disp_build(patient: *u8, provider: *u8, account: *u8, reasons: *i64, cpts: *i64, fdates: *i64, amounts: *i64, nf: i64, out: *u8) -> i64 |