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 Episodes page lists all resident episodes for the organization with status and date-range filters, and provides a guided tour for new users starting the admission workflow. Route: /rh/episodes

Overview

The page renders a PageHeader with a New Admission button and a ListFilterBar. The filter bar supports:
  • Status (multi-select): referred, waitlisted, admitted, on_hold, discharged
  • Date range (single-select preset): last 7 days, 30 days, 90 days, or all time
Below the filters, an EpisodesTable renders the filtered episode list. Clicking a row navigates to /rh/episodes/:id. A Help button launches a GuidedTour (admissionTour) that walks users through the page interactively. The tour is not auto-started. Clicking New Admission navigates to /rh/admissions/new.

Who it’s for

Requires the rh.dashboard.view permission (applied to all RH routes via RHViewGuard). No additional inner permission gate exists on this route.

Before you start

  • Ensure at least one residence and bed are configured so that admissions can be assigned.
  • Users who only need to view episodes do not need any additional permission beyond rh.dashboard.view.

Steps

1

Open Episodes

Navigate to Recovery Housing → Episodes (/rh/episodes). The episodes table loads for your organization.
2

Filter by status

Use the Status filter (multi-select) in the filter bar to narrow results to one or more episode statuses.
3

Filter by date range

Select a date-range preset (7 days, 30 days, 90 days) to restrict results to episodes with referral dates within that window.
4

Open an episode

Click any row in the table to open the Episode Details page for that record.
5

Start a new admission

Click New Admission (top-right) to open the Admission Wizard at /rh/admissions/new.
6

Take the guided tour (optional)

Click the Help button (question-mark icon) next to New Admission to start the interactive admission tour.

Key concepts

  • Episode — the record linking a resident profile to a residence stay from referral through discharge.
  • Admission wizard — a separate multi-step wizard at /rh/admissions/new that creates the episode record.
  • Date range filter — filters episodes by referral date (the referral_date column); it does not filter by admission or discharge date.

Recovery Housing

Governance & parity

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/EpisodesPage.tsx