Demo project · Healthcare · Agentic AI · 2026
A working demo, with made-up patients, modelled on the front desk of a group of outpatient physical therapy clinics. Agents turn faxed referrals into draft patient records and answer routine patient texts. Staff approve anything that matters.
Role
Designed and built end to end
Stack
Python · FastAPI · OpenCV + RapidOCR · MCP (stdio and OAuth HTTP) · Claude, OpenAI or Bedrock (pluggable) · SQLite
Each request moves left to right through these stages.
Step 1
Fax or text arrives
Faxed referral PDFs and patient SMS or web chat
Step 2
Agent reads and checks
Fax clean-up and OCR, field validators, policy search, safety rules
Step 3
Shared tool layer
One MCP server with scoped, audited tools for agents and staff
Step 4
A person approves
Staff approve or edit drafts; patients confirm their own bookings
Step 5
EMR updated once
An idempotent executor writes each approved action exactly once
Every field gets a confidence score after validation (NPI check digit, ICD-10, dates, payer ID formats). Uncertain fields are highlighted for the reviewer.
Clinical, upset, urgent and billing messages always go to a person. These rules are deterministic and staff can edit them.
Replies come only from the clinic's policy documents, and every time, price and number must appear in the source, or the message goes to staff.
Each approval creates exactly one action, so a crash, retry or double click never creates a second record.
Logs are redacted and hold record IDs only. Patient data only goes to model providers covered by a data agreement.
Test sets with hand-checked answers run before every release. A failed check blocks the release.
Book a free 30-minute call. We'll go through your workflows and tell you honestly whether AI is worth building.