AI scribe
Transcribes an uploaded consultation, labels doctor and patient, and drafts a SOAP note with the key entities pulled out.
Hospital records, with an AI scribe in the room.
Medicas is a multi-tenant hospital EHR. I architected it and wrote the whole backend and AI service, and built the web app with one frontend developer.
THE HEADLINE
Talk → SOAP note
Record the consultation, get a draft note the doctor reviews and signs
01 · The problem
In a busy hospital, notes get written during the consultation or long after it. Medicas lets the doctor talk to the patient, then hands them a structured draft to check, so the record is complete without the keyboard in the way.
02 · What I built
Transcribes an uploaded consultation, labels doctor and patient, and drafts a SOAP note with the key entities pulled out.
Patients, encounters, vitals, labs and imaging, immunisation, referrals and medication administration.
Appointments, waiting room, wards and beds, maternity, surgery, pharmacy and rosters.
Bills, payments and insurance claims in the same record as the care.
Video visits, real-time chat and push notifications for staff.
Onboard a hospital, give it a subdomain and its own database, and manage roles and permissions.
03 · Key decisions
I compared a Nigerian-accent speech model with a general one on a simulated consultation. The accent model invented drug names and dropped the medication advice, so I chose the general model, at 20% more latency.
Each hospital’s data lives in its own database, routed per request, with the connection details encrypted. One tenant can never read another.
The AI only writes drafts. Nothing enters the record until the doctor has reviewed and signed it.
Speech-to-text and summaries run on local models, so patient audio doesn’t have to leave the hospital’s infrastructure.
04 · Stack
05 · Results
Next case study · 05
A hospital system, scaled 30×
I build healthcare software that keeps the doctor in charge.