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

# Risk Assessment

> AI-powered risk assessment tool that generates mitigation suggestions and analysis for existing risks.

The Risk Assessment page provides AI-powered risk assessment and mitigation suggestions for registered risks. It is located at route `/gr/ai/risk-assessment`.

## Overview

The page is rendered by `AIRiskAssessment` and checks whether AI compliance features are enabled via `useAIComplianceEnabled`. If disabled, a prompt to enable AI in GR settings is shown. When enabled, the user selects a risk from the `useRiskList` dropdown, triggers generation via `useAIRiskAssessment`, and reviews previous assessments from `useAIRiskAssessmentsList`. An `AIComplianceChatPanel` is available for follow-up conversation. No permission gate is declared on this route in `gr.tsx`.

## Who it's for

Access follows your organization's role and module configuration. AI Compliance features must be enabled in GR settings at `/gr/settings`.

## Before you start

* AI Compliance features must be enabled in GR settings.
* At least one risk must exist in the risk register at `/gr/risks`.

## Steps

1. Go to **Governance & Compliance → AI → Risk Assessment** at `/gr/ai/risk-assessment`.
2. If AI is disabled, navigate to `/gr/settings` and enable AI Compliance features.
3. Select a risk from the dropdown to load any prior assessments.
4. Select **Generate** (or equivalent) to produce a new AI risk assessment.
5. Review the generated assessment and mitigation suggestions.
6. Use the AI chat panel for follow-up questions about the assessment.
7. Navigate to the risk record at `/gr/risks/:id` to apply mitigations.

## Key concepts

| Concept                    | Description                                                                |
| -------------------------- | -------------------------------------------------------------------------- |
| AI Compliance enabled      | Feature flag controlled in GR settings; page shows a disabled state if off |
| Risk assessment            | AI-generated analysis of a risk record, including mitigation suggestions   |
| Chat panel                 | `AIComplianceChatPanel` — conversational follow-up on the current risk     |
| `useAIRiskAssessmentsList` | Fetches prior AI assessments filtered by selected risk ID                  |

## Related

<Columns cols={2}>
  <Card title="Governance & Compliance" icon="scale-balanced" href="/gr/overview">
    Governance & Compliance core overview.
  </Card>

  <Card title="Governance & parity" icon="clipboard-check" href="/governance/index" />
</Columns>

<Note>
  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.
</Note>

<Accordion title="Documentation sources">
  * src/routes/gr.tsx
  * src/cores/gr/pages/AIRiskAssessment.tsx
  * src/cores/gr/ai/index.ts
  * src/cores/gr/hooks/useAIComplianceEnabled.ts
</Accordion>
