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 Compliance Setup Wizard walks users through creating a new recurring compliance requirement, accessible at /rh/compliance/requirements/wizard.

Overview

The wizard uses a three-step timeline layout (WizardShell with layout="timeline"). After completing all three steps and clicking Activate requirement, the wizard calls createRequirement and navigates to the new requirement detail page. Exiting at any step navigates back to /rh/compliance/requirements without saving.

Who it’s for

This route requires RH_PERMISSIONS.COMPLIANCE_CREATE (rh.compliance.create) in addition to the outer RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view) guard.

Before you start

  • Your account must hold both rh.dashboard.view and rh.compliance.create permissions.
  • An organization context must be active.
  • Navigate from the Compliance dashboard or Requirements list; the wizard cannot be bookmarked to bypass the permission gate.

Steps

1

Step 1 — Requirement Definition

Fill in the required fields: Title, Description, Category, and Requirement Type. Optionally provide a Regulatory Reference. All four required fields must be non-empty before proceeding; a validation toast appears if any are missing.
2

Step 2 — Schedule & Scope

Set the recurrence Frequency (default: monthly), Lead Time Days (default: 7, minimum: 0), and Scope (default: all_residences). Optionally set due_day_of_month. All three fields are required; validation runs on Next.
3

Step 3 — Review & Activate

Review the summary of definition and schedule data on the ComplianceReviewActivateStep screen. Click Activate requirement to submit. On success a toast confirms activation and the page navigates to the new requirement’s detail page. On error a sanitized error message appears in a toast.

Key concepts

TermCode identifierNotes
Requirement DefinitionRequirementDefinitionStepTitle, description, category, type, regulatory reference
Schedule & ScopeScheduleScopeStepFrequency, lead time, scope, optional due day
Review & ActivateComplianceReviewActivateStepRead-only summary before final submission
frequencyschedule.frequencyRecurrence cadence stored on the requirement record
scopecustom_fields.scopeStored in custom_fields; default all_residences

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/ComplianceSetupWizardPage.tsx
  • src/cores/rh/components/wizards/compliance-setup/ComplianceSetupWizard.tsx