The Edit Incident page provides a form for updating an existing workplace incident record. It is available at routeDocumentation 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/edit.
Overview
The route rendersIncidentFormPage in edit mode (isEdit = true, because the id param is present). The existing record is fetched via useIncidentDetail. The form normalizes incident_type and severity against known valid sets before submitting. Valid incident types from code: accident, injury, safety_violation, property_damage, near_miss, other. Valid severities: minor, moderate, serious, critical. On submit, updateMutation is called.
Who it’s for
No explicit permission gate on this route. Data is scoped to the current organization.Before you start
- Navigate from an incident detail page at
/hr/employee-relations/incidents/:id.
Steps
Open the edit form
From an incident detail page, click the edit action. You land on
/hr/employee-relations/incidents/:id/edit.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/IncidentFormPage.tsx
- src/cores/hr/employee-relations/hooks/useIncidentMutation.ts