Skip to main content

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.

The Programs screen is at /rh/programs and renders the ProgramsPage component. It lists all programs belonging to the current organization from the rh_programs table and exposes a search filter and an inline dialog to create new programs.

Overview

The page loads all programs for the current organization via usePrograms. Results include a derived total_phases count. A search box filters programs by name or description. The ProgramsTable renders the filtered list; the ProgramDialog (opened by “Add Program”) allows inline program creation.

Who it’s for

The outer RHViewGuard requires RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view). The /rh/programs list route carries no additional permission gate beyond the guard. The /rh/programs/new wizard route (separate from this screen) requires RH_PERMISSIONS.PROGRAMS_ADMIN (rh.programs.admin).

Before you start

  • Hold the rh.dashboard.view permission to access any RH route.

Steps

1

Navigate to Programs

Go to /rh/programs. The page loads and the ProgramsTable displays all programs for the current organization.
2

Search programs (optional)

Type in the search box. The list filters in real time by program name or description.
3

Open a program record

Click a row in the table. The browser navigates to /rh/programs/:id to show the Program Details screen.
4

Add a new program (optional)

Click “Add Program”. The ProgramDialog opens inline. Fill in the required fields and submit to create the program.

Key concepts

TermMeaning
ProgramA recovery housing program configuration stored in rh_programs.
total_phasesDerived count of rh_program_phases records linked to a program.
ProgramDialogInline modal for creating a new program without leaving the list view.

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.
  • src/routes/rh.tsx
  • src/cores/rh/pages/ProgramsPage.tsx
  • src/cores/rh/hooks/usePrograms.ts