BRAG colour rules
BRAG (Blue / Red / Amber / Green) is computed at render time from the state of each row. This page lists the rules. Defaults are listed first; configurable thresholds are noted.
For the concept, see The BRAG status system. To change thresholds, see Adjust BRAG thresholds.
Hazards
Section titled “Hazards”Inputs: status, inherent risk level, review date.
| Condition | BRAG |
|---|---|
| Status closed | Blue |
| Inherent risk = Very High and status open | Red |
| Inherent risk = High and status open | Amber |
| Review date past | Red |
Review date in 0–14 days (configurable: reviewAmberDays, default 14) | Amber |
Review date in 14–60 days (configurable: reviewGreenDays, default 60) | Green |
| Review date in more than 60 days (or no review date) | Blue |
The first matching rule wins, in the order listed.
Incidents
Section titled “Incidents”Inputs: status, notifiable flag, regulator-notified state, investigation due date, occurred-at.
| Condition | BRAG |
|---|---|
| Status closed | Blue |
Notifiable + regulator not yet notified + occurred more than regulatorRedHours ago (default 24) | Red |
Status under-investigation + no due date + occurred more than staleInvestigationDays ago (default 30) | Red |
Status under-investigation + investigation due in investigationAmberDays (default 7) or fewer | Amber |
| Status under-investigation otherwise | Green |
| Otherwise (e.g. reported but no investigation yet) | Amber |
Actions
Section titled “Actions”Inputs: status, due date.
| Condition | BRAG |
|---|---|
| Status completed or verified | Blue |
| No due date | Blue |
| Due date past | Red |
Due in 0–dueAmberDays (default 14) | Amber |
Due in dueAmberDays–dueGreenDays (default 60) | Green |
Due more than dueGreenDays away | Blue |
Inspections
Section titled “Inspections”Scheduled (not yet completed)
Section titled “Scheduled (not yet completed)”Inputs: status, scheduled date.
| Condition | BRAG |
|---|---|
| Status cancelled | Blue |
| Scheduled date past | Red |
Scheduled in 0–scheduledAmberDays (default 7) | Amber |
Scheduled in scheduledAmberDays–scheduledGreenDays (default 14) | Green |
Scheduled more than scheduledGreenDays away | Blue |
| Status in-progress | Blue |
Completed
Section titled “Completed”Inputs: score percentage.
| Score | BRAG |
|---|---|
≥ greenThresholdPct (default 100) | Green |
≥ passThresholdPct (default 80) | Amber |
Below passThresholdPct | Red |
Enrollments (training)
Section titled “Enrollments (training)”Inputs: status, expiry date.
| Condition | BRAG |
|---|---|
Status not Passed | Blue |
| Expiry past | Red |
Expiry in 0–expiryAmberDays (default 30) | Amber |
Expiry in expiryAmberDays–expiryGreenDays (default 180) | Green |
Expiry more than expiryGreenDays away (or no expiry) | Blue |
Configuring the thresholds
Section titled “Configuring the thresholds”Every value above marked “configurable” is editable in Organisation Settings → Configuration → BRAG thresholds. See Adjust BRAG thresholds.