The Incident Details page (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.
/hr/employee-relations/incidents/:id) displays a single incident record with severity badge, incident type, date and time, location, description, and associated documents, with an option to edit the incident.
Overview
The page usesuseIncidentDetail to load the incident by :id and sets a breadcrumb to the incident type label (formatted from snake_case). A severity badge is shown with destructive styling for critical, default for serious, secondary for moderate, and outline for minor. A date, time, and location card and a description card are displayed. The CaseDocuments component renders associated documents. An Edit button navigates to /hr/employee-relations/incidents/:id/edit. Organization context (currentOrganization) is available for permission scoping.
Who it’s for
No explicit permission gate on this route.Before you start
- The incident record must exist in your organization.
Steps
- Navigate to HR → Employee Relations → Incidents and click an incident row, or go to
/hr/employee-relations/incidents/:id. - Review the incident severity, type, date, time, and location.
- Read the description and review attached documents.
- Click Edit to update the incident record.
Key concepts
| Concept | Meaning |
|---|---|
| Severity | Impact level: critical, serious, moderate, minor |
| Incident type | Category of the incident — SME: confirm full list |
Related
Human Resources
Human Resources core overview.
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.
Documentation sources
Documentation sources
- src/routes/hr/employee-relations-routes.tsx
- src/cores/hr/employee-relations/pages/IncidentDetailPage.tsx
- src/cores/hr/employee-relations/hooks/useIncidentDetail.ts