MiHINRAG · 2025
Mapping physician notes in minutes, not hours.
Clinicians spent about four hours mapping a physician's note into EHR fields. A Vertex AI RAG workflow does it in ten minutes, and most of the win came from fixing retrieval, not the model.
- Company
- MiHIN
- Scope
- Vertex AI RAG, FHIR, SPARQL
- Role
- Software Engineer
- Timeline
- 2025
- 10 min
- note to EHR mapping
- 88%
- recall@20
- −87%
- records before search
- 48K
- records searched
Four hours per note.
Turning a physician's free-text note into structured EHR fields was manual: read, search, fill, repeat. A first RAG attempt helped less than expected, because retrieval kept surfacing the wrong records.
Resolve, prune, then search.
Toggle between the old and new workflow, or click any step.
Vector searchVertex AI
Only the free text is embedded. Structured fields are filters, not part of the vector.
Click any step for details · Run walks a request through each step
Embed less, find more.
The first version embedded all eight fields of each record into one vector. The structured fields drowned out the clinical text, so similar-looking but wrong records ranked first.
Embedding only the free text, and using the rest as filters, lifted recall@20 from 61% to 88%. Toggle between the two and watch where the right record lands.
notePt c/o chest pain radiating to L arm x2 days. Hx HTN, on lisinopril.
- #1Follow-upHTN medication refill0.91
- #2Lab orderLipid panel0.89
- #3Chief complaintHeadache, 3 days0.88
- #4AllergiesPenicillin0.87
- #5VitalsBP 150/950.86
right record ranks
missed: outside the top 20
recall@20, across 48K records
The note and results are illustrative. Recall is the real measured number.
Where the four hours went.
Drag the playhead to compare both at the same moment.