ClearPath: making sense of a medical bill
I built ClearPath to answer two questions I’d have before paying a medical bill. Does it match what insurance says I owe? How would paying it affect my budget?
Full-stack engineering · Financial tools
Tools: TypeScript, Next.js, Prisma, SQLite, OpenAI, Plaid sandbox
Putting the paperwork together
A bill and an explanation of benefits can describe the same visit in different ways. I built the prototype so someone could upload both and see how they match up.
Matching the records
The app extracts text from a document, identifies what kind it is, and saves fields like provider, date, and amount. I use those fields to suggest matches and keep the original details on hand so someone can check or correct a match. The assistant uses the linked records to explain what it found.
Comparing payments with test data
I used sample documents and Plaid’s sandbox to see how different payment amounts would fit a test budget. I checked the document parsing and API by hand.
What took the most work
I expected the assistant to take most of my time. I spent more of it on cases where two records looked like the same bill but had a different provider, date, or amount. That’s where I’d start with automated tests.