135.4 MB CPU WASM Zero WebGPU 0 Bytes Uploaded
About & Code

Standalone App & PWA

Launch Clinical Vault on its dedicated origin to install it as an offline desktop or mobile PWA with .txt, .md, .json, and .csv clinical note file handlers.

Open clinic.webai.show ↗

Honest cache note: browsers isolate Cache Storage per origin, so clinic.webai.show stores its own local ONNX weights (~135.4 MB). Staying on webai.show shares cached weights with the DeID-BERT and MobileBERT model pages.

Stage 1 · DeID-BERT i2b2 (108.5 MB q8 WASM · MIT)

onnx-community/deid_bert_i2b2-ONNX · 45 BILOU tags / 11 PHI classes

Stage 2 · MobileBERT SQuAD2 (26.9 MB q8 WASM · MIT)

onnx-community/mobilebert-uncased-squad-v2-ONNX · Zero-PHI chart Q&A

0 bytes uploaded. Load Stage 1 & Stage 2 above to scan synthetic clinical notes locally and query the de-identified chart.

PRESET · 0 bytes uploaded
RuntimesS1 IDLE · S2 IDLE (q8/q8)
Total Weight Size108.51 + 26.9 MB
Inference Latency–
Numeric Health–
PHI Redaction–

Stage 1 · Interactive Redaction Workbench

Edit or Paste Custom Synthetic Clinical Note (.TXT / .MD / .JSON / .CSV)

Live PHI Audit Ledger

Awaiting Stage 1 scan
# HIPAA Detected Span Output Token Conf. Action

Stage 2 · Zero-PHI Chart Q&A

Stage 1 De-ID required before Q&A

Run Stage 1 DeID-BERT first so Stage 2 MobileBERT only ever receives de-identified clinical text.

Zero raw PHI policy enforced

Real Local Exports (Includes Manual Redact/Keep Decisions)

How Clinical Vault Works

Two audited CPU WebAssembly models chained strictly off the main thread — DeID-BERT i2b2 (108.51 MB q8) and MobileBERT SQuAD2 (26.90 MB q8) — totaling 135.4 MB with zero WebGPU required and zero bytes leaving your browser.

Tactile Span Review

Every detected i2b2 BILOU entity renders as an interactive chip button mapped to HIPAA Safe Harbor categories. Clinicians can toggle individual spans or entire categories and watch Stage 2 re-verify live.

Strict Zero-PHI Stage 2

MobileBERT SQuAD2 only ever receives the de-identified output from Stage 1 — even in Audit Highlight mode — and verifies via verifyZeroPhiHandoff() that masked PHI never leaks into Q&A context.

Audited Local Exports

Exports sanitize CSV spreadsheet formulas per OWASP rules, escape Markdown table pipes and brackets, and never invoke external servers or cloud APIs.

Show the code — parseUploadedClinicalInput() validating .txt, .md, .json, and .csv notes
Show the code — applyRedactionPolicy() applying pseudonyms, opaque masks, and category/span overrides
Show the code — verifyZeroPhiHandoff() proving masked PHI never enters Stage 2 Q&A
Show the code — escapeCsvCell() formula-injection neutralization for RFC 4180 CSV ledgers
Show the code — formatClinicalAuditMarkdown() escaping audit report tables and summaries
Show the code — StageWorkerClient coalesced load, FIFO queue, and isDisposed teardown
Show the code — registerClinicalWebMcpTools() 2-arg WebMCP registration with AbortController