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 Curfew Checks page lists curfew compliance records for the current organization and allows staff to record new checks, accessible at /rh/curfew-checks.

Overview

The page queries the rh_curfew_checks table filtered by organization_id and ordered by check_date descending. The table shows up to 20 records with columns for Date, Curfew Time, Status (badged), and Return Time. Staff can open the CurfewCheckDialog to record a new check.

Who it’s for

No additional permission gate is present on /rh/curfew-checks beyond the outer RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view) guard.

Before you start

  • Your account must hold rh.dashboard.view.
  • An organization context must be active; the query is disabled without an organization_id.

Steps

1

Open Curfew Checks

Navigate to Recovery Housing → Curfew Checks or go directly to /rh/curfew-checks. The table loads with the most recent 20 checks.
2

Review existing records

Each row displays the check_date, curfew_time, compliance_status (green badge for on_time, red badge for any other value), and actual_return_time. Rows are ordered newest first.
3

Record a new check

Click Record Check (top-right) to open the CurfewCheckDialog. Complete the dialog fields and save. The list refreshes after a successful save.

Key concepts

ColumnFieldNotes
Datecheck_dateDate of the curfew check
Curfew Timecurfew_timeScheduled curfew time
Statuscompliance_statuson_time renders as default (green) badge; any other value renders as destructive (red) badge
Return Timeactual_return_timeActual recorded return time; displays if null

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/CurfewChecksPage.tsx
  • src/cores/rh/hooks/useCurfewChecks.ts