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 (/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:
TabContent
OverviewIncident details (category, description, location) and timeline (incident date, reported date, resolved date, resolution summary)
InvestigationInvestigationTab — investigations and findings attached to the incident
ActionsCorrectiveActionsTab — corrective action items
RegulatoryRegulatoryReportsTab — shown only to users with gr.incident_regulatory_reports.view; badge turns destructive when overdue reports exist
Header actions:
  • Resolve — available to gr.incidents.close when status is not resolved or closed; calls resolveIncident
  • Close Incident — available to gr.incidents.close when status is resolved; calls closeIncident
The active tab is synced to the URL via 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 incident
  • gr.incident_regulatory_reports.view — to see the Regulatory tab

Before you start

  • You need gr.incidents.view to open this page.
  • Incident reporting must be enabled in Governance Settings.

Steps

1

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.
2

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.
3

Review investigations and findings

Click the Investigation tab to see any investigation records and their findings.
4

Review corrective actions

Click the Actions tab. A badge shows the count of corrective action items.
5

Review regulatory reports (if permitted)

Click the Regulatory tab (visible with gr.incident_regulatory_reports.view). A destructive badge indicates overdue reports.
6

Resolve or close the incident

If you hold gr.incidents.close: click Resolve to mark the incident resolved, or Close Incident if it is already in resolved status.

Key concepts

  • useIncidentDetail — hook fetching a single incident with its investigations, findings, and corrective_actions arrays.
  • useIncidentRegulatoryReports — hook fetching regulatory reports linked to the incident; exposes is_overdue per 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/.

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