The problem
Before anyone gets paid for a patient visit, someone has to turn the clinical notes into billing codes. Doing that by hand is slow, and good coders end up spending most of their day on routine cases. AI can help a lot here, but in billing a wrong code is a real problem, so it has to be done with care.
What we built
Our team built a system that reads the documentation for each encounter and suggests codes, with a person in the loop.
- Reading the record. Documents come in from many sites, and scanned pages go through OCR so the model can read them.
- Suggesting codes. Language models propose codes, guided by prompts and coding rules.
- Knowing when to ask a person. Each suggestion carries a confidence score, and anything uncertain goes to a coder for review.
- Checking before we change things. New prompts or models are evaluated before they reach production.
Choosing models
New models come out every few months, each with different trade-offs in quality, speed and cost. We test candidates on Azure AI Foundry and Amazon Bedrock against the same work, compare quality and token cost, and only switch when it’s clearly worth it.
Where it is today
Across hundreds of thousands of encounters a month:
- We’ve doubled volume without adding staff.
- Turnaround went from 72 hours to under a day.
- About 9 in 10 encounters need two edits or fewer, so coders can spend their time on the hard cases.
- Denials have stayed well below industry norms, so the speed hasn’t come at the cost of quality.
- A new client, center or specialty can get to these results within about four weeks.
Happy to go into more detail in conversation.
What I’ve learned
The model is the easy part. Most of the work is in the plumbing around it: getting clean inputs, deciding when a person should look, and measuring honestly so we know whether a change actually helped.