Prerequisites
- A populated HARA Analysis with risk records
- Pre-mitigation P1 and P2 probability values assigned
- Harm severity assigned on linked harm work items
Accessing the Report
- Navigate to the project wiki pages
- Open Hara Risk Matrix Report
- Alternatively, from the Home dashboard under “Explore More Views,” click HARA Report (the HARA report links to the risk matrix)
Understanding the Matrix Layout
The report renders two 5x5 matrices:Axes
- Y-axis (rows): Combined Probability P (1-5, from bottom to top)
- X-axis (columns): Harm Severity S (1-5, from left to right)
Cell Content
Each cell displays the count of risk records that fall into that P-S combination. Cells are color-coded by the risk acceptability classification:| Color | Classification | Meaning |
|---|---|---|
| Green | Acceptable | Risk is within tolerable limits |
| Amber/Orange | Investigation | Risk requires further evaluation |
| Red | Unacceptable | Risk exceeds acceptable limits; controls required |
Pre-Mitigation Risk Distribution Matrix
The first matrix shows initial risk distribution before risk controls are applied.How Probability Is Calculated
For each risk record, the combined probability P is computed from two factors:- P1 (
preHazardProbability): probability that the hazardous situation occurs - P2 (
preHarmProbability): probability that the situation leads to harm
| P1 x P2 Product Range | Probability Bucket |
|---|---|
| 1 — 3 | 1 (Improbable) |
| 4 — 8 | 2 (Remote) |
| 9 — 15 | 3 (Occasional) |
| 16 — 20 | 4 (Probable) |
| 21 — 25 | 5 (Frequent) |
How Severity Is Resolved
Severity is not stored directly on the risk record. Instead, the report:- Gets linked work items from the risk record via
linkedWorkItems().direct() - Finds the first linked item of type
harm - Extracts the
severityenum value (1-5) from that harm item
Post-Mitigation Risk Distribution Matrix
The second matrix shows residual risk distribution after risk controls are applied, usingpostHazardProbability and postHarmProbability fields.
The post-mitigation matrix is completely hidden when no risk records have post-mitigation data. It only appears when at least one risk record has post-mitigation probability values assigned.
Residual Risk Summary
Below the post-mitigation matrix, the report displays a summary with conditional alerts:- Danger box (red) — if any unacceptable risks remain post-mitigation
- Warning box (amber) — if investigation risks remain but no unacceptable
- Success box (green) — if all risks are acceptable
Interpreting the Risk Shift
Compare the two matrices to assess the effectiveness of your risk controls:| Pattern | Interpretation | Action |
|---|---|---|
| Red cells move to green | Controls are effective | Document in risk control plan |
| Red cells move to amber | Partial improvement | Consider additional controls or benefit-risk analysis |
| Red cells remain red | Controls insufficient | Implement stronger controls per ISO 14971 Clause 7.4 |
| Cells shift left (lower S) | Severity reduced | Unusual — verify data accuracy |
| Cells shift down (lower P) | Probability reduced | Expected outcome of effective controls |
Technical Details
| Property | Value |
|---|---|
| Data source | type:riskRecord work items via Lucene query |
| Probability fields | preHazardProbability, preHarmProbability (pre) / postHazardProbability, postHarmProbability (post) |
| Severity resolution | Linked harm work item severity field |
| Risk classification | 5x5 decision matrix with nested if/elseif logic (hardcoded thresholds) |
| CSS scoping | .risk-matrix-report-container |
| Print support | page-break-inside:avoid on sections |
| Report date | Falls back to “Auto-generated” if page timestamp unavailable |
Next Steps
- Generate the ISO 14971 HARA Report — full 12-section compliance report
- Evaluate Initial Risk — assign P1, P2, and severity values
- Evaluate Residual Risk — improve post-mitigation scores
- Risk Matrix and P1xP2 Probability Model — conceptual explanation
- Risk Matrix Report Dashboard Reference — configuration details
Source References
Source References
Report template:
.polarion/pages/spaces/_default/Hara Risk Matrix Report/page.xml | Data: type:riskRecord work items | Bucketing: P1xP2 product mapped to 5 buckets (1-3, 4-8, 9-15, 16-20, 21-25) | Severity: resolved via linked harm work item