The Report Details 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/reports/:id and renders the ReportDetailPage component. It displays a single report definition record from the data returned by useReportDefinitionDetail and exposes Edit, Export, and Run Now actions.
Overview
The page resolves the report by:id via useReportDefinitionDetail. The breadcrumb label is set dynamically from report_name. Three action buttons are shown in the header:
- Edit — navigates to
/rh/reports/:id/edit. - Export — stub (see SME note above).
- Run Now — stub (see SME note above).
- Report Configuration card (2/3 width on md+) — displays
report_type, active/inactive status badge,created_by_profile.full_name, notes, andreport_configas formatted JSON. - Schedule and Recipients cards (1/3 width on md+) — Schedule shows
schedule_frequencywhenis_scheduledis true; Recipients lists each email inrecipient_emails.
Who it’s for
The outerRHViewGuard requires RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view). The /rh/reports/:id route carries no additional permission gate beyond the guard.
Before you start
- Hold the
rh.dashboard.viewpermission to access any RH route. - A report definition with the target ID must exist and belong to the current organization.
Steps
Navigate to Reports
Go to
/rh/reports. The Reports Hub lists all report definitions for the current organization.Open a report definition
Click a row in the
ReportDefinitionsTable. The browser navigates to /rh/reports/:id.Review report configuration
The Report Configuration card shows the report type, active status, creator, notes, and raw
report_config JSON.Review schedule and recipients
The Schedule card shows the frequency if
is_scheduled is true. The Recipients card lists configured email addresses.Key concepts
| Term | Meaning |
|---|---|
report_name | Display name of the report definition. |
report_type | Category of the report (e.g., census, outcomes, compliance, grant). |
is_active | Whether the report definition is active. |
is_scheduled | Whether the report runs on an automatic schedule. |
schedule_frequency | Frequency of automatic runs when is_scheduled is true (SME: confirm allowed values). |
recipient_emails | List of email addresses that receive scheduled report outputs. |
report_config | JSON configuration object for the report (SME: confirm structure). |
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/ReportDetailPage.tsx
- src/cores/rh/hooks/useReportDefinitionDetail.ts