Healthcare

An AI sidecar for a hospital group's medical records

Custom front end and back end · FHIR R4 · HAPI FHIR validator · synthetic data

clinical workflowFour stages left to right (Intake → Consultation → Treatment → Gap check) along a solid "clinical workflow" line. Above it, a dashed "AI sidecar" lane connecting to Consultation (transcribe → FHIR Bundle → gateway) and to Gap check (compare → flag for clinician review). AI sidecar transcribe → FHIR Bundle → gateway compare → flag for clinician review Intake Consultation Treatment Gap check clinical workflow
clinical workflowFour stages left to right (Intake → Consultation → Treatment → Gap check) along a solid "clinical workflow" line. Above it, a dashed "AI sidecar" lane connecting to Consultation (transcribe → FHIR Bundle → gateway) and to Gap check (compare → flag for clinician review). AI sidecar clinical workflow transcribe → FHIR Bundle → gateway Intake Consultation Treatment Gap check compare → flag for clinician review

AI step · Human step · System

Dashed lane is optional. If it fails, the solid line still works.

The ask

A multinational hospital group wanted to see how AI could help clinicians without changing the way staff work in their medical record system.

The principle

The AI enriches the workflow and never becomes a dependency. If the AI service goes down, the doctor types notes as usual and the clinic carries on.

What I built

A custom front end and back end, including an emulated medical record system in four stages:

  1. Admin intake. Patient details are recorded.
  2. Consultation. The doctor can dictate. The sidecar transcribes the notes and converts them into a FHIR R4 Bundle, which enters the record system through its existing gateway. I validated the output against a public HAPI FHIR test server, using synthetic patient data.
  3. Treatment. Clinicians record what was administered.
  4. Gap check. The sidecar compares what the doctor ordered with what the patient received, and flags any gaps, with a suggested next step, for a clinician to review.

The trade-off

I kept to a small set of FHIR resources: enough to prove the round trip, well short of a production integration.