Inspiration
Medical billing errors — duplicate lab charges, unbundled clinical panels (80053 + 80048), quantity-times-unit arithmetic mismatches, vague uncoded facility fees, and extreme unit markups — push patients and families into avoidable medical debt. Most patients lack the time or billing-code expertise to audit an itemized hospital statement line by line.
What it does
MedBill Shield is a deterministic, browser-based patient medical bill auditor that parses itemized hospital bills in USD ($) or INR (₹) directly on the client (zero external API keys required):
- Duplicate CPT Charge Detection: Flags identical CPT/procedure codes billed multiple times on the same service date.
- NCCI-Style Clinical Unbundling Rules: Detects commonly unbundled panel pairs (
80053 + 80048,85025 + 85027,99284 + 99213,59400 + 59425) that should be billed as a single comprehensive code. - Arithmetic & Uncoded Fee Audits: Verifies
Qty × Unitline math and flags vague or uncoded facility/administrative fees. - Fair-Price Markup Outlier Analysis & Waterfall Chart: Compares billed unit rates against reference fair-price ceilings and renders a Fair vs. Disputed Waterfall visualization.
- 1-Click Dispute Letter Generator: Produces a formal, itemized patient dispute and fee-adjustment letter ready to send to hospital billing departments.
How we built it
Built with TypeScript, Vite, Vitest, HTML5, and CSS3 using deterministic parsing and rule engines that run 100% client-side for patient privacy.
Verification & Quality
- Verified with 8/8 passing Vitest unit and negative-case tests covering USD/INR parsing, duplicate CPT detection, unbundling pairs, arithmetic checks, and dispute letter output.
- Clean TypeScript typecheck and production bundle via
tsc --noEmit && vite build.
Built With
- css3
- html5
- typescript
- vite
- vitest