AlevantDischarge NavigationStanford Medicine
Synced · live demo state
Stanford Med · Unit 5B Medicine·Day shift·Mon · 9:42 AM

ESDP screener

LIVE · Patient Portal · model claude-sonnet-4-6
← All agents
LIVEHITL: n/aPatient Portal · model claude-sonnet-4-6

ESDP screener

Runs when a patient completes the admission intake. A deterministic, cited rule (Holland et al. ESDP) scores discharge-planning complexity into a green/yellow/red tier from the intake answers + known signals; this agent turns that tier + its driving factors into a warm, plain-language explanation for the patient and a short note for the care team, and recommends concrete follow-ups. The agent explains the tier — it never recomputes it. The result is ingested into the patient's assessments (esdpTier), re-deriving readiness, and a yellow/red tier drafts a social-work/case-manager review into the HITL queue.

Total calls
0
Approved
0
Pending review
0
Total spend
$0.0000
0ms avg
Inputs
  • · Patient (mock data)
  • · Intake Answers
  • · Deterministic ESDP result (tier + factors)
  • · hospitalId
Outputs
  • · patientMessage (plain language)
  • · careTeamNote
  • · recommendedFollowups[]
Output schema
EsdpScreenSchema
Governing rule

Tier is decided by the deterministic ESDP rule (Early Screen for Discharge Planning, Holland et al.); the agent explains, never recomputes. UCSF custom weights site-gated.

Source files
  • · src/lib/ai/agents/esdp-screener.ts
  • · src/app/actions/run-esdp-screen.ts
Recent inferences
Open full audit →
Loading…