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 path /rh/staff-operations/training/new is not registered as a <Route> in src/routes/rh.tsx and does not resolve to a standalone component.

Overview

New staff training records are created via the StaffTrainingDialog modal, which opens from the “Add Training Record” button on the Staff Training list page at /rh/staff-operations/training. The “Add Training Record” button is wrapped in a PermissionGate requiring rh.staff-operations.create. The dialog renders StaffTrainingForm, which accepts staff employee ID, training type (narr, slh, safety, other), training name, completion date, optional expiry date, optional certification number, an is_current toggle, and optional notes. There is no standalone page at this path.

Who it’s for

Requires rh.staff-operations.create (PermissionGate on the “Add Training Record” button in StaffTrainingsPage), plus the inherited RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view) from RHViewGuard.

Before you start

Navigate to /rh/staff-operations/training and ensure you hold the rh.staff-operations.create permission to see the “Add Training Record” button.

Steps

1

Open Staff Training list

Navigate to /rh/staff-operations/training.
2

Click Add Training Record

Click the accent “Add Training Record” button (visible only with rh.staff-operations.create permission).
3

Fill in the form

Select the staff employee, training type, and enter the training name and completion date. Optionally add expiry date, certification number, and notes. Toggle “Current Only” to mark the record as currently valid.
4

Submit

Click the submit button to save the training record.

Key concepts

The Staff Training list page displays a destructive alert banner when one or more training records are expiring within 30 days (checked via useStaffTrainings with expiringWithinDays: 30).
Code-visible training type values are: narr, slh, safety, other.

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/StaffTrainingsPage.tsx
  • src/cores/rh/components/forms/StaffTrainingDialog.tsx
  • src/cores/rh/components/forms/StaffTrainingForm.tsx