nx_medbill_recon_gate.nx
buildroot/runtime/nx_medbill_recon_gate.nx
about
nx_medbill_recon_gate.nx -- M2 GATE: proves bill/EOB TEXT parses into exact structured claim lines
(prose/header lines never qualify), reconciliation flags exactly what the EOB does not support
(consuming matcher: the duplicate bill line is NOT-ON-EOB; above-allowed gaps in exact cents), the
parsed arrays feed the R5 duplicate audit unchanged, and a fully-supported bill yields ZERO flags
(neg-control). Fixtures: knowledge/medbill/sample_bill.txt + sample_eob.txt (run from nxc2).
Exits 0 iff ALL pass. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_medbill_codes.nxnx_medbill_recon.nxnx_fin_audit.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 12 | func g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 13 | func g_putn(v: i64) -> i64 |
| 26 | func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64 |
| 32 | func code_num(s: *u8) -> i64 |
| 39 | func main() -> i64 |