code wiki / (root) / nx_medbill_codes_gate.nx

nx_medbill_codes_gate.nx

buildroot/runtime/nx_medbill_codes_gate.nx

6061 B113 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic medbill
docsdependenciesstructsconstsfunctions

about

nx_medbill_codes_gate.nx -- M1 GATE: proves the medical-billing code-pack store decodes REAL codes from REAL banked NLM ClinicalTables responses (knowledge/fetched/mbc_*.raw, fetched sovereignly) and NEVER fabricates: an unknown code is -1 (the liar-kill), a code absent from a response ingests 0, a curated CPT entry carries a visible curated: cite. Hermetic store under /tmp. Exits 0 iff ALL pass. Run: ./_offc/nx_sov_build_run.elf nx_medbill_codes_gate (from nxc2 so knowledge/ paths resolve) license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_medbill_codes.nx nx_medbill_codes_gate.nx

imports: nx_syscalls.nxnx_medbill_codes.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap sys_now_us sys_mmap ↻ sys_clock_gettime_mono chk g_puts sys_write g_putn sys_write ↻ sys_mmap ↻ mbc_put sys_mmap ↻ mbc_key mbc_app mbc_app ↻ ss_begin ss_begin_cap sys_mmap ↻ ss_add ss_add2 ss_w32 ss_len ss_commit ss_segid_ok sys_mmap ↻ ss_cat ss_catn sys_mmap ↻ sys_write ↻ ss_write_seg ss_segid_ok ↻ sys_mmap ↻ ss_cat ↻ ss_catn ↻ sys_write ↻ ss_segname ss_cat ↻ ss_catn ↻ ss_writefile

structs

none

consts

none

functions

10func 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 }
called by 2: chkmain calls 1: sys_write
11func g_putn(v: i64) -> i64
called by 2: chkmain calls 2: sys_writesys_mmap
24func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
30func main() -> i64