The Recovery Housing Dashboard (Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
RHOverview) is the primary landing page for the RH module, accessible at /rh/dashboard (the root /rh redirects here).
Overview
The dashboard loads live stats fromuseDashboardStats and renders a QuickActionsSection (editable, module rh, up to 6 module actions and 3 global), four summary StatCard tiles, and five widget sections. Widgets load lazily via Suspense with skeleton fallbacks.
Stat cards (linked to sub-routes):
- Total Residences — count of active residences (
rh_residences) - Bed Capacity —
occupied_beds / total_bedswith occupancy rate percentage - Active Episodes — count of episodes with
status = 'admitted' - Waitlist — count of episodes with
status = 'waitlisted'
- Census & Beds:
CensusSummaryWidget,BedAvailabilityWidget,WaitlistWidget,RecentAdmissionsWidget,LicenseAlertsWidget - Daily Operations:
AttendanceComplianceWidget,ChoreCompletionWidget,CurfewComplianceWidget - Discharge Planning:
UpcomingDischargesWidget,DischargeReadinessWidget,FollowUpsDueWidget,ReferralSuccessWidget - Compliance & Staff Operations:
ComplianceStatusWidget,ComplianceDeadlinesWidget,TrainingDueWidget,UpcomingAuditsWidget - Outcomes & Alumni:
OutcomeSummaryWidget,SobrietyRateWidget,CompletionRateWidget,AlumniEngagementWidget,ReportsDueWidget
Who it’s for
This route is protected byRH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view) via RHViewGuard. No additional per-route permission gate.
Before you start
- Your account must hold
rh.dashboard.view. - An organization context must be active; all stat queries filter by
organization_id.
Steps
Navigate to the dashboard
Go to
/rh or /rh/dashboard. The stat cards load immediately from useDashboardStats; widget skeletons display while lazy components load.Review summary stats
The four stat cards at the top show Total Residences, Bed Capacity (with occupancy rate), Active Episodes, and Waitlist count. Click a card to navigate to the corresponding sub-section.
Use Quick Actions
The
QuickActionsSection below the header provides up to 6 module-specific quick actions and 3 global actions. Actions are editable by the current organization.Key concepts
| Term | Source | Meaning |
|---|---|---|
| Occupancy rate | useDashboardStats | (occupied_beds / total_beds) * 100; 0 if no beds |
| Active episodes | rh_episodes.status = 'admitted' | Currently housed residents |
| Waitlist | rh_episodes.status = 'waitlisted' | Pending applicants |
| QuickActionsSection | Platform component | Configurable shortcut tiles per organization |
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/RHOverview.tsx
- src/cores/rh/hooks/useDashboardStats.ts