code wiki / (root) / nx_medbill_appeal.nx

nx_medbill_appeal.nx

buildroot/runtime/nx_medbill_appeal.nx

6451 B103 linesdepth 2pulls 2 transitivereach 8 importersview sourcekind librarytopic medbill
docsdependenciesstructsconstsfunctions

about

nx_medbill_appeal.nx -- M-ADV2 of the MEDICAL BILLING & PATIENT ADVOCACY ladder: INSURANCE DENIAL INTERNAL-APPEAL letter with computed DEADLINES. Plans must give claimants a full and fair review of an adverse benefit determination; appeals may generally be filed within 180 days of the denial notice, and an upheld denial can proceed to independent EXTERNAL REVIEW. This organ computes the 180-day deadline with exact integer calendar math (civil-days algorithm, leap-safe) and renders a reason-specific appeal letter (1=not medically necessary, 2=experimental/investigational, 3=out-of-network, 4=prior authorization missing, 5=coding error). FAIL-SAFE: caller buffer only, placeholders keep member identity out of the tool, nothing is ever sent. license_tier: ORIGINAL

dependencies 1 imports · 5 importers

nx_syscalls.nx nx_medbill_appeal.nx nx_healthhelp_site.nx nx_medbill_advocacy_gate.nx nx_medbill_civic.nx nx_medbill_cli.nx nx_medbill_nsa.nx

imports: nx_syscalls.nx

imported by: nx_healthhelp_site.nxnx_medbill_advocacy_gate.nxnx_medbill_civic.nxnx_medbill_cli.nxnx_medbill_nsa.nx

structs

none

consts

none

functions

12func mba_dfc(y0: i64, m: i64, d: i64) -> i64
called by 1: mba_add_days
23func mba_cfd(z0: i64) -> i64
called by 1: mba_add_days
39func mba_add_days(ymd: i64, n: i64) -> i64
46func mba_cat(out: *u8, off: i64, s: *u8) -> i64
52func mba_n2(out: *u8, off: i64, v: i64) -> i64
called by 2: mba_datensa_money
58func mba_date(out: *u8, off: i64, ymd: i64) -> i64
75func mba_reason(out: *u8, off: i64, code: i64) -> i64
called by 1: mba_letter calls 1: mba_cat
85func mba_letter(reason: i64, denial_ymd: i64, out: *u8) -> i64