Role shells
Patient, provider, and admin navigation never share modules. Middleware enforces the prefix.
Architecture
Isolated patient, provider, and admin workspaces share a single in-memory clinical store, a rule engine, and a documented HTTP surface — ready for EHR and device adapters later.
Layers
4
Experience · API · Rules · Store
Roles
3
Never mixed in one shell
Entities
9
Patients through documents
Adapters
2
Bluetooth · EHR (reserved)
Clinic
ATX
Austin, TX
System
Patient, provider, and admin navigation never share modules. Middleware enforces the prefix.
CRUD routes for logs, labs, meals, visits, messages, and documents. Same shapes a future EHR can speak.
In-memory clinical graph with Prisma schema as the durable model. Flags for A1c, missed logs, unsigned consents.
Business flow
Weekly health logs and meal photos feed the chart. Off-trend values raise a provider task. Messages and the next visit close the loop. Admin watches capacity and unsigned documents.
Rule engine
A1c ≥ 5.7, fasting insulin above range, triglycerides ≥ 150, hs-CRP ≥ 1.0, three missed weekly weights.
Unsigned consents block visit confirmation. No-show reschedule. Paused patients drop from active panel counts.
Clinic map
DoctorMetabology · 1210 West 6th Street, Suite 400, Austin, TX