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.
/gr/incidents/:id) renders IncidentDetailPage, a tabbed layout showing all information about a single incident including its timeline, investigations, corrective actions, and regulatory reporting obligations.
Overview
IncidentDetailPage loads a single incident via useIncidentDetail(id) and renders four tabs:
| Tab | Content |
|---|---|
| Overview | Incident details (category, description, location) and timeline (incident date, reported date, resolved date, resolution summary) |
| Investigation | InvestigationTab — investigations and findings attached to the incident |
| Actions | CorrectiveActionsTab — corrective action items |
| Regulatory | RegulatoryReportsTab — shown only to users with gr.incident_regulatory_reports.view; badge turns destructive when overdue reports exist |
- Resolve — available to
gr.incidents.closewhen status is notresolvedorclosed; callsresolveIncident - Close Incident — available to
gr.incidents.closewhen status isresolved; callscloseIncident
useTabUrlState (?tab=).
Who it’s for
Requires permission:gr.incidents.view (GR_PERMISSIONS.INCIDENTS_VIEW).
Additional permissions used within this page:
gr.incidents.close— to resolve or close the incidentgr.incident_regulatory_reports.view— to see the Regulatory tab
Before you start
- You need
gr.incidents.viewto open this page. - Incident reporting must be enabled in Governance Settings.
Steps
Open an incident
Navigate to
/gr/incidents/:id directly, or click a row in the Incidents list. The page header shows the incident title, reported date, location (if set), severity badge, and status badge.Review the Overview tab
Read the incident category, description, and location. The Timeline card shows incident date, reported date, and (if resolved) resolution date and summary.
Review investigations and findings
Click the Investigation tab to see any investigation records and their findings.
Review corrective actions
Click the Actions tab. A badge shows the count of corrective action items.
Review regulatory reports (if permitted)
Click the Regulatory tab (visible with
gr.incident_regulatory_reports.view). A destructive badge indicates overdue reports.Key concepts
- useIncidentDetail — hook fetching a single incident with its
investigations,findings, andcorrective_actionsarrays. - useIncidentRegulatoryReports — hook fetching regulatory reports linked to the incident; exposes
is_overdueper report. - useTabUrlState — platform hook that syncs the active tab to the URL query parameter
?tab=. - SeverityBadge / StatusBadge — visual components from
src/cores/gr/components/incidents/.
Related
Governance & Compliance
Governance & Compliance 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/gr.tsx
- src/cores/gr/pages/IncidentDetailPage.tsx
- src/cores/gr/hooks/useIncidentDetail.ts
- src/cores/gr/hooks/useIncidentRegulatoryReports.ts