The Discharge Documents page provides a filterable list of all discharge-related documents for the current organization, 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-documents.
Overview
The page queriesrh_discharge_documents filtered by organization_id and deleted_at IS NULL, ordered by created_at descending. Users can search by document_name or notes and filter by document_type. Creating new documents from this page requires episodeId and dischargePlanId URL query parameters; otherwise the Add Document button is disabled and a helper note is shown.
Who it’s for
No additional permission gate is present on/rh/discharge-documents beyond the outer RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view) guard.
Before you start
- Your account must hold
rh.dashboard.view. - An organization context must be active.
- To create a new document, you must arrive via an episode-specific discharge plan context that injects
?episodeId=...&dischargePlanId=...query parameters.
Steps
Open Discharge Documents
Navigate to Recovery Housing → Discharge Documents or go directly to
/rh/discharge-documents. All non-deleted documents for your organization load in the table.Search and filter
Use the search box to filter by document name or notes text. Use the Document Type dropdown to narrow to a specific type: Discharge Summary, Referral Letter, Medication List, Aftercare Plan, Release Form, or Other.
Edit an existing document
Click the edit action on any row to open
DischargeDocumentDialog pre-populated with the document’s document_type, document_name, and notes. Save to update.Delete a document
Click the delete action on any row. The
useDischargeDocumentMutation hook performs a soft delete (sets deleted_at). The document disappears from the list on the next query.Key concepts
| Document type | Value | Notes |
|---|---|---|
| Discharge Summary | discharge_summary | — |
| Referral Letter | referral_letter | — |
| Medication List | medication_list | Contains PHI — medication names |
| Aftercare Plan | aftercare_plan | — |
| Release Form | release_form | — |
| Other | other | Generic type |
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/DischargeDocumentsPage.tsx
- src/cores/rh/hooks/discharge/useDischargeDocumentMutation.ts