The Discharge Plan Details page shows the full record for a single discharge plan and its associated checklist, referrals, and follow-ups, accessible atDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/rh/discharge-plans/:id.
Overview
The page loads a discharge plan byid via useDischargePlan and its checklists via useDischargeChecklists. A details card shows plan metadata (expected/actual discharge dates, discharge type, destination, readiness score, housing/employment/continuing-care planned flags, and notes). Three tabs — Checklist, Referrals, and Follow-Ups — provide sub-section management. Action buttons allow editing the plan and, if not yet completed, completing the discharge.
Who it’s for
No additional permission gate is present on/rh/discharge-plans/:id beyond the outer RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view) guard.
Before you start
- Your account must hold
rh.dashboard.view. - A valid discharge plan
idmust exist; the page displays “Plan not found” if the query returns no result. - To create new checklist items, referrals, or follow-up schedules you must have access to the respective dialog forms.
Steps
Open a discharge plan
Navigate from the Discharge Plans list (
/rh/discharge-plans) and click a row, or go directly to /rh/discharge-plans/{id}. A skeleton displays while the plan loads.Review plan details
The Plan Details card shows expected discharge date, actual discharge date (if set), discharge type, destination, readiness score (checklist completion %), housing placement planned, employment referral planned, continuing care planned, and notes.
Manage the checklist
On the Checklist tab, view incomplete vs. complete checklist items. Click Add Item (surfaces via
DischargeChecklistCard) to open DischargeChecklistDialog and add a new item. The readiness score updates with checklist completion.Manage referrals
On the Referrals tab, view existing referrals. Click Add Referral to open
ReferralDialog. Click a referral row to navigate to /rh/referrals/{id}.Manage follow-ups
On the Follow-Ups tab, view scheduled follow-up contacts. Click Schedule Follow-Up to open
FollowUpScheduleDialog. Click Log Contact on a scheduled follow-up to open FollowUpContactDialog.Edit the plan
Click Edit Plan (top-right) to open
DischargePlanDialog pre-populated with current plan values. Save to update.Key concepts
| Field | Source | Notes |
|---|---|---|
readiness_score | Computed: completed / total * 100 | 0 if no checklist items; code-derived, not clinically validated |
expected_discharge_date | plan.expected_discharge_date | Formatted MMM d, yyyy |
actual_discharge_date | plan.actual_discharge_date | Displayed as “Not discharged” if null |
discharge_type | custom_fields.discharge_type | Value from custom_fields; displayed with underscores replaced by spaces |
discharge_destination | custom_fields.discharge_destination | Same format as above |
status | plan.status | Controls visibility of “Complete Discharge” button |
incompleteChecklist | checklists.filter(!is_completed).length | Passed to CompleteDischargeDialog |
Related
Recovery Housing
Recovery Housing references and overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/rh.tsx
- src/cores/rh/pages/discharge/DischargePlanDetailPage.tsx
- src/cores/rh/hooks/discharge/useDischargePlan.ts
- src/cores/rh/hooks/discharge/useDischargeChecklists.ts