Skip to main content

Report Sections

SectionTitleContent
1Report HeaderTitle, project name, report date
2Pre-Mitigation Risk Distribution Matrix5x5 matrix of initial risk levels
3Post-Mitigation Risk Distribution Matrix5x5 matrix of residual risk levels

Pre-Mitigation Risk Distribution Matrix

The pre-mitigation matrix plots combined probability (P) against harm severity (S) for the initial risk assessment before any risk controls are applied. Input fields:
FieldSource
preHazardProbabilityP1 — probability of hazardous situation (1-5)
preHarmProbabilityP2 — probability of harm occurring (1-5)
Harm severityResolved from linked harm work item (1-5)

P1 x P2 Bucket Mapping

Combined probability is calculated by multiplying P1 and P2, then mapping to 5 buckets:
P1 x P2 ProductProbability Bucket
1-31 (Very Low)
4-82 (Low)
9-153 (Medium)
16-204 (High)
21-255 (Very High)

Risk Level Classification

Each cell in the matrix is classified using a decision matrix: diagram Color coding:
ColorClassificationMeaning
Green (#4CAF50)AcceptableRisk is within acceptable limits
Orange (#FF9800)InvestigationRisk requires investigation per ISO 14971
Red (#F44336)UnacceptableRisk must be reduced before release

Post-Mitigation Risk Distribution Matrix

The post-mitigation matrix uses the same 5x5 structure with residual risk fields:
FieldSource
postHazardProbabilityP1 — post-control hazard probability (1-5)
postHarmProbabilityP2 — post-control harm probability (1-5)
Harm severitySame linked harm severity (unchanged by controls)
The post-mitigation matrix is hidden when all risk records lack post-mitigation data (postPending == totalCount). This prevents showing an empty matrix when controls have not yet been evaluated.

Residual Risk Summary

After the post-mitigation matrix, the report displays:
  • Counts of acceptable, investigation, and unacceptable residual risks
  • Conditional alert boxes based on the residual risk profile:
Alert TypeConditionMessage
Danger boxUnacceptable risks remainReferences ISO 14971 Clause 7.4 for benefit-risk analysis
Warning boxInvestigation risks remainRisk requires further evaluation
Success boxAll risks acceptableAll risks within acceptable limits

Harm Severity Resolution

Severity is resolved for each risk record by traversing linked work items:
  1. Get linked work items via linkedWorkItems().direct()
  2. Find the first linked item of type harm
  3. Extract its severity enum value (1-5 scale)

Interactive Features

Matrix cells include hover effects:
  • Opacity change on hover for visual feedback
  • Box-shadow for interactive feel
  • HTML title attributes showing P value, severity ID, and item count as tooltips

Technical Details

PropertyValue
Page location.polarion/pages/spaces/_default/Hara Risk Matrix Report/page.xml
Template typeVelocity script
Sidebar shortcutwiki/Hara Risk Matrix Report
CSS scope.risk-matrix-report-container
Print supportpage-break-inside:avoid on sections
Risk thresholdsHardcoded in Velocity logic (not configurable)