Megan Ellis — full workflow
Every regulated step generates an event + artifact. Hard-fail gates write AuditLog rows.
Events
27
Artifacts
19
Hard-fail gate audits
5
-
1
QR signup → consent
PatientMegan scans the white-labeled QR code in her doctor's office. Identity, contact, and consent captured.
Event: patient_seeded -
2
Health record import + normalization
AI agents (deterministic)Patient intake conversation completes. Source manifest + normalized patient graph follow. Real-LLM intake handoff is on the roadmap; current build runs deterministically for predictable demo replay.
Artifact: intake_transcript -
3
AI patient summary
Agents::PatientSummary (clinical)Real LLM (gpt-5.5, JSON mode) generated the one-page brief. Output strictly schema-validated.
Event: ai_brief_generatedArtifact: physician_brief -
4
Treatment options + evidence packet
AI agents (clinical)Lab recommendation memo + treatment option drafts + evidence packet generated for the doctor.
-
5
Doctor approves
Dr. VossHard-fail gate: ai_never_makes_final_prescribing_decision. Doctor signs the plan with reasoning capture. Prescription generated. AuditLog row written.
Gate: ai_never_makes_final_prescribing_decision -
6
Pharmacy intake + safety screen
AI agents (deterministic)Hard-fail gate: doctor_approval_required_before_pharmacy. Formulation feasibility, safety screen, pharmacist packet all drafted.
Event: pharmacy_intake_startedGate: doctor_approval_required_before_pharmacy -
7
Pharmacist signs review
Doctor ShahPharmacist review packet approved with counseling notes.
Event: pharmacist_released -
8
Compounding starts
Lab/opsHard-fail gate: compounding_requires_patient_specific_prescription. Compounding work record + label proof draft generated.
Event: compounding_task_createdGate: compounding_requires_patient_specific_prescription -
9
QA released
Doctor ShahHard-fail gate: pharmacist_release_required. Independent QA verification before shipping. Signature hash anchors the release.
Event: quality_release_createdGate: pharmacist_release_required -
10
Shipment dispatched
Lab/opsHard-fail gate: shipment_requires_pharmacist_release. Tracking VAL-290B8BD8A93E. M-Th + Saturday dispatch logic.
Event: shipment_createdGate: shipment_requires_pharmacist_release -
11
Delivery + refill scheduled
PatientPatient confirms receipt. First refill scheduled May 30. First outcome check-in scheduled May 9.
Event: shipment_delivered