The Discharge Plans page lists all discharge plans for the current organization with search and status filtering, 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.
Overview
The page usesuseDischargePlans to load all discharge plans for the current organization. Soft-deleted plans (deleted_at set) are excluded from display. Users can filter by free-text search (partial match on episode_id or notes) and by status (all, not_started, in_progress, completed). Clicking a row navigates to /rh/discharge-plans/{id}.
Who it’s for
No additional permission gate is present on/rh/discharge-plans beyond the outer RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view) guard.
Note: Creating a new discharge plan via /rh/discharge-plans/new requires RH_PERMISSIONS.RESIDENTS_DISCHARGE (rh.residents.discharge).
Before you start
- Your account must hold
rh.dashboard.view. - An organization context must be active; plans are scoped by
organization_idinsideuseDischargePlans.
Steps
Open Discharge Plans
Navigate to Recovery Housing → Discharge Plans or go directly to
/rh/discharge-plans. The list loads with all non-deleted plans for your organization.Search plans
Type in the search box to filter plans by a partial match on
episode_id or notes. The filter runs client-side on the already-loaded dataset.Filter by status
Use the Filter by status dropdown to narrow the list to
not_started, in_progress, or completed plans.Key concepts
| Status | Value | Notes |
|---|---|---|
| Not Started | not_started | Plan exists but discharge process has not begun |
| In Progress | in_progress | Discharge process is underway |
| Completed | completed | Discharge has been finalized |
| Field | Search behavior |
|---|---|
episode_id | Partial lowercase match |
notes | Partial lowercase match |
deleted_at | Plans with a non-null value are always excluded |
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/DischargePlanningPage.tsx
- src/cores/rh/hooks/discharge/useDischargePlans.ts