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 Incident Details page (/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 uses useIncidentDetail 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

  1. Navigate to HR → Employee Relations → Incidents and click an incident row, or go to /hr/employee-relations/incidents/:id.
  2. Review the incident severity, type, date, time, and location.
  3. Read the description and review attached documents.
  4. Click Edit to update the incident record.

Key concepts

ConceptMeaning
SeverityImpact level: critical, serious, moderate, minor
Incident typeCategory of the incident — SME: confirm full list

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.
  • src/routes/hr/employee-relations-routes.tsx
  • src/cores/hr/employee-relations/pages/IncidentDetailPage.tsx
  • src/cores/hr/employee-relations/hooks/useIncidentDetail.ts