The Residence Details screen shows capacity, occupancy, and configuration data for a single residence 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/residences/:id.
Overview
The Residence Details screen fetches a single residence record fromrh_residences together with its associated rh_beds rows. Three summary cards show total beds, occupied/total occupancy ratio with percentage, and available beds count. Two tabs are present: Beds (a table of individual bed records for the residence) and Details (a card showing NARR Level, Gender Model, License Number, and License Expiry). An “Edit Residence” button opens an inline edit dialog.
Who it’s for
Protected byRH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view) via the shared RHViewGuard on all RH routes. No additional per-route permission gate exists for /rh/residences/:id.
Before you start
- Your account must have the
rh.dashboard.viewpermission. - The residence must exist; navigating to an invalid
:idrenders a “Residence not found” message.
Steps
Open a residence
From the Residences list at
/rh/residences, click the view icon on any row, or navigate directly to /rh/residences/:id.Review occupancy summary
The three cards at the top show Total Beds, current Occupancy (occupied / total and percentage), and Available Beds.
Review the Beds tab
The Beds tab lists all
rh_beds records associated with this residence. Each bed row reflects its current status (e.g., available, occupied).Review the Details tab
Switch to the Details tab to see NARR Level, Gender Model, License Number, and License Expiry for the residence.
Key concepts
Bed status counts
Bed status counts
Total beds, available beds, and occupied beds are computed from the
rh_beds rows joined to this residence. A bed with status = 'available' is counted as available; status = 'occupied' is counted as occupied.NARR Level
NARR Level
The
narr_level field stores the National Alliance for Recovery Residences certification level assigned to this residence. Confirm specific level definitions and certification requirements with your compliance SME.License information
License information
license_number and license_expiry are stored on the residence record. The platform displays these fields but does not currently surface an automated expiry alert on this screen.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/ResidenceDetailPage.tsx
- src/cores/rh/hooks/useResidenceDetail.ts
- src/cores/rh/components/BedsTable.tsx
- src/platform/permissions/constants.ts