Stanford Med · Unit 5B Medicine·Day shift·Mon · 9:42 AM

Patient Discharge Cockpit

Anita Gomez · DKA resolving (E10.10)
Switch role
MC
AG
Anita Gomez
54 F · MRN-58220 · DKA resolving (E10.10)
Ready · pending logisticsUnit 5BMedicineAnthem PPOLOS 2d
Estimated discharge
Monday 6:00 PM
LOW delay risk
Six readiness dimensions

All six must align for discharge to actually happen

Open discharge map →
Clinical readiness
100%Ready
Functional & equipment readiness
50%Blocked
Medication readiness
83%Blocked
$
Financial readiness
50%Blocked
Care coordination readiness
50%In progress
Patient agreement & support readiness
50%Blocked
Unified readiness model

Three axes → one “ready” verdict

Not ready · 3 blockers
Axis 1 · Feasibility
Can this disposition happen? (engine = authority)
Clear
Target: HOME (provisional — unknown pending)
Binding: Functional status · UNKNOWN
Axis 2 · Progress
How far along is the work? (tasks, not a score)
0/2 required
25% of execution tasks complete
Clinical readiness1/1
Medication readiness1/2
Patient agreement & support readiness0/5
Axis 3 · Execution-staging
Is the bed actually secured? (acceptance pipeline)
No bed needed
Stage: Referral Drafted
Home-track disposition · no external bed to confirm.
  • T2 gate not cleared: Patient/family OOP acceptance documented (if residual cost).
  • 2 required execution task(s) still open.
  • 2 readiness gate(s) unmet: PT evaluation completed and documented; Real-time payer eligibility + benefit detail verified at admit.
Scalars (display-only): clinical 91 · operational 76 — non-authoritative; feasibility + progress above are the truth.
30-d readmission risk
LACE+ + HOSPITAL · not HRRP-tracked
MODERATE

Drives pathway intensity tier — HIGH score adds Coleman / Naylor touchpoints automatically.

Active pathway

No matching pathway. Patient needs a confirmed disposition + service stack to assign a workflow.

Engine-derived barriers

Top blockers · with one-click playbooks

0 barriers

No active barriers — every hard constraint for this patient is satisfied. Discharge reads on track.

Execution layer · HITL queue

Pending actions · awaiting clinician approval

0 open

Drafted by playbooks / AI · NOT sent until you approve. Approve fires the integration mock + writes a Submission audit row.

No pending actions. Click Run playbook on a barrier to draft one.
From the family · patient portal

What the caregiver has told us

Not started
Recovery preferenceWants to talk it through
TransportNot sure — wants a call
Home supportNeeds extra help
Preferred pharmacy
Preferred languageEnglish
Discharge teaching0/3 videos watched
Workflow swim lanes

Tasks by role · cross-functional discharge orchestration

4 tasks
Hospitalist0
No active tasks
Nursing1
Assigned
Insulin pen teach-back + glucometer
Sara Khan, RN
Pharmacy1
In progress
Discharge medication reconciliation completed by pharmacist
PT / OT1
In progress
PT evaluation completed and documented
Case manager1
In progress
Real-time payer eligibility + benefit detail verified at admit
Event simulator · demo only

Fire a realistic event to watch the engine recompute

src/lib/engine/dispatcher.ts
Event feed · dynamic engine

What moved the pillars

0 total
No events yet. Use the simulator below to fire a payer decision, FHIR observation, or vendor callback and watch the pillars move.

AI chart summary · live via Anthropic Claude

Runs through runAgent · writes an AgentInference audit row with cost, latency, prompt hash.

Click Run chart summary to call Claude Sonnet 4.6 on this patient's record. The audit row will be visible in Neon's AgentInference table within ~3s.

Prior auth drafter · Claude → HITL → CoverMyMeds

Draft → review → approve → submit

Live wire

Drafts via src/lib/ai/agents/prior-auth-drafter.tssubmits via src/lib/integrations/cmm.ts (mock-contract). Both write audit rows.

Demo data · no PHI · mocked Epic + payer endpoints