nx_medbill_civic.nx
buildroot/runtime/nx_medbill_civic.nx
about
nx_medbill_civic.nx -- ADV5 of the MEDICAL BILLING & PATIENT ADVOCACY ladder: CIVIC ESCALATION with
MEASURED ACCOUNTABILITY. When the direct tools (dispute/appeal/charity/NSA) hit a wall, the patient
can CHOOSE to escalate to the oversight body that owns the problem. This organ (1) routes an issue to
its channel, (2) renders the complaint/pattern letter, (3) keeps an additive CASE LEDGER of what the
user actually sent, and (4) computes a per-channel ACCOUNTABILITY SCORECARD -- responded/resolved/
OVERDUE against each channel's expected-response window -- so "are they moving to fix this" is a
MEASURED verdict, never an assertion. STRICTLY OPT-IN + FAIL-SAFE: letters are placeholder text in a
caller buffer, the ledger records only what the user says they sent, nothing is ever transmitted.
NEUTRALITY: letters state facts and request action/answers; they push no narrative and no party.
Issues: 1=insurer claim-handling/denial misconduct -> DOI · 2=surprise-billing protection violation ->
CMS-NSA · 3=charity-care/501(r) obligations not honored -> IRS 13909 · 4=abusive collection or credit
reporting on disputed debt -> CFPB · 5=suspected billing fraud (duplicates/unbundling/upcoding) ->
HHS-OIG · 6=systemic-reform story to an elected representative -> REP. Channels + expected-response
windows are DATA (knowledge/medbill/civic_channels.list, #11). Case records live on the sovereign
seg-store (additive, latest-wins; segid=now_us). Deadlines reuse the shared leap-safe calendar (DRY).
license_tier: ORIGINAL
dependencies 4 imports · 3 importers
imports: nx_syscalls.nxnx_seg_store.nxnx_medbill_codes.nxnx_medbill_appeal.nx
imported by: nx_healthhelp_site.nxnx_medbill_civic_gate.nxnx_medbill_cli.nx
structs
| none |
consts
| none |
functions
| 23 | func cv_route(issue: i64) -> i64 |
| 34 | func cv_expect(listpath: *u8, channel: i64) -> i64 |
| 68 | func cv_key(id: *u8, out: *u8) -> i64 |
| 75 | func cv_w(prefix: *u8, id: *u8, rec: *u8) -> i64 called by 3: cv_case_opencv_case_setcli_civic_open calls 7: sys_mmapcv_keyss_beginmbc_slenss_addss_commit+1 |
| 84 | func cv_get(prefix: *u8, id: *u8, out: *u8, cap: i64) -> i64 |
| 100 | func cv_num(out: *u8, off: i64, v0: i64) -> i64 |
| 111 | func cv_case_open(prefix: *u8, id: *u8, issue: i64, sent_ymd: i64) -> i64 |
| 133 | func cv_f(rec: *u8, idx: i64) -> i64 |
| 153 | func cv_case_set(prefix: *u8, id: *u8, status: i64, ymd: i64) -> i64 |
| 175 | func cv_followup(sent_ymd: i64, expect_days: i64) -> i64 { return mba_add_days(sent_ymd, expect_days) } |
| 179 | func cv_verdict(status: i64, sent_ymd: i64, expect_days: i64, today: i64) -> i64 |
| 187 | func cv_letter(issue: i64, out: *u8) -> i64 |