AlevantDischarge NavigationStanford Medicine
Synced · live demo state
Readiness · two-clock engine

Discharge readiness clock

Scrub time — requirements instantiate as data arrives (knowledge clock) and come due on their own deadlines (duty clock). Everything recomputes live; nothing is stored.
h0since admit
ADT 0h · A01 admit · CHF exacerbation coded
Est. discharge
EDD not set yet
Parameters ready
0/8
12 pending derivation
Binding constraint
Eligibility verified in real time (270/271); benefit detail parsed
Fin. counselor · slack +4h
MedicalFunctionalMedicationDecisionalCaregiver & HomeCoverageRegulatoryPreparedness

Duty rail

by slack — most urgent first
Eligibility verified in real time (270/271); benefit detail parsedHARD
Fin. counseloropenevery dischargephase
+4h
start by 3.5h
Discharge medication reconciliation completeHARD
Pharmacistopenevery dischargephase
+20h
start by 20h
Discharge-planning assessment completed (CoP early identification)HARD
Case manageropenevery dischargephase
+28h
start by 1d 4h
SDOH screen complete (PRAPARE / AHC-HRSN)SOFT
SW/CHWopenevery dischargephase
+46h
start by 1d 22h
Important Message (IM) delivered within 2 days of admissionHARD
CM + HIMopenMedicare / MA beneficiaryphase
+48h
start by 1d 23.5h
Discharge-stability criteria met for each active problem (vitals, labs, O₂ at baseline)HARD
Attendingopenevery dischargephase
On track
Diagnosis + what-happens-next explained; teach-back verifiedSOFT
Primary RNopenevery dischargephase
On track
After-visit summary in plain language at correct literacy levelSOFT
Primary RNopenevery dischargephase
On track
+ 12 requirements pending derivation — can't be evaluated until an assessment closes or the disposition resolves.

Destination ladder

fulfillment · externally confirmed
D1Referral sent
D2Accepted
D3Bed dated
D4Auth matched
D5Transport
D6DME / O₂
D7Follow-up
Accepted ≠ dated: the ladder stops at D2 until a bed gets a date.

Phase cards

the airline model — items by window
$1 · C5 · CM · R1 · Rx1
E1 · E3 · M1
Engine: src/lib/readiness · timeline: src/lib/mock/timeline.ts · pure readinessAt(t), unit-tested against these beats. Agent outputs in the timeline are scripted (no live AI in this view).