Referral Loop Closure POC

FHIR Subscriptions-based referral tracking with patient consent

Demo Setup

Initialize seed data (patient, providers, and cardiology referral). Then open the Patient Portal to complete onboarding.

Simulate Encounters at Mercy General

These buttons simulate real events at the upstream EHR. The broker delivers notifications to both the Patient Portal and the Physician Dashboard.

Referral: Cardiology Consultation for Chest Pain

Alice's open referral to Mercy General — Dr. Sarah Johnson, Cardiovascular Disease. These encounters will match the referral and update the tracking task.

Ad-hoc: Unrelated Visit

Alice visits a psychiatrist at Mercy General — Dr. Maria Chen. This encounter does not match any open referral, so it appears in the Patient Portal only (unless sharing is set to "all encounters").

Event Log

[ready] Click "Setup Demo" to begin