The Schedule Templates screen lets staff define recurring activity patterns for Recovery Housing 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/schedule-templates.
Overview
The Schedule Templates screen fetches allrh_schedule_templates records (excluding soft-deleted rows) scoped to the current organization, ordered by template_name. Records are displayed as a card grid. Each card shows the template name, activity type badge, day-of-week badge (Sun–Sat), a “Mandatory” badge when is_mandatory is true, and the activity_time. The “New Template” button opens an inline ScheduleTemplateDialog to create a new template. Filtering by program, site, activity type, mandatory status, and active status is supported at the hook level.
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/schedule-templates.
Before you start
- Your account must have the
rh.dashboard.viewpermission. - At least one program (
rh_programs) must exist to associate templates with a program.
Steps
Navigate to Schedule Templates
Open Recovery Housing and select Schedule Templates from the navigation, or go directly to
/rh/schedule-templates.Review existing templates
Browse the card grid. Each card shows the template name, activity type, day of the week, scheduled time, and whether the activity is mandatory.
Key concepts
Day of week
Day of week
The
day_of_week field stores an integer (0 = Sunday through 6 = Saturday). The card display maps these to three-letter abbreviations (Sun, Mon, Tue, Wed, Thu, Fri, Sat). A null value renders as “N/A”.Mandatory activities
Mandatory activities
Templates with
is_mandatory = true are highlighted with a Mandatory badge. Confirm with your SME whether mandatory designation has enforcement logic in attendance or compliance tracking.Soft delete
Soft delete
Templates are soft-deleted via a
deleted_at timestamp. The query excludes records where deleted_at is not null; deleted templates do not appear 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/ScheduleTemplatesPage.tsx
- src/cores/rh/hooks/useScheduleTemplates.ts
- src/platform/permissions/constants.ts