The Referrals screen is 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/referrals and renders the ReferralsPage component. It displays all discharge referrals for the current organization via the useReferrals hook, with client-side filtering by search term, referral type, and status.
Overview
The page loads all referrals viauseReferrals() and applies three client-side filters before passing results to ReferralsTable:
- Search — matches
agency_nameorcontact_name(case-insensitive, partial match). - Type filter — selects by
referral_type:housing,employment,healthcare,social_services, orother. - Status filter — selects by
status:sent,accepted,completed, ordeclined.
/rh/referrals/:id.
Who it’s for
The outerRHViewGuard requires RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view). The /rh/referrals route carries no additional permission gate beyond the guard.
Before you start
- Hold the
rh.dashboard.viewpermission to access any RH route.
Steps
Navigate to Referrals
Go to
/rh/referrals. The ReferralsTable loads all referrals for the current organization.Filter the list (optional)
Use the search box to filter by agency or contact name. Use the Type or Status dropdowns to narrow by referral type or status.
Key concepts
| Term | Meaning |
|---|---|
agency_name | Name of the organization receiving the referral. |
referral_type | Category: housing, employment, healthcare, social_services, or other. |
status | Current referral lifecycle status: sent, accepted, completed, or declined. |
contact_name | Contact person at the receiving agency. |
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/ReferralsPage.tsx
- src/cores/rh/hooks/discharge/index.ts