From 00ac31ea478c163845f264cd918decc1ea0d555c Mon Sep 17 00:00:00 2001
From: James Devine
Results:
15 %}
+{% if ((prob_inf > 15) or (expected_new_cases >= 1)) %}
class="red_bkg">Not Acceptable:
{% elif 5 <= prob_inf <= 15 %}
class="yellow_bkg"> Attention:
@@ -215,8 +215,8 @@
In this scenario, the estimated probability of one exposed occupant getting infected P(i) is {{ prob_inf | non_zero_percentage }} and the expected number of new cases is {{ expected_new_cases | float_format }}.
-{% if (prob_inf > 15) %}
- This exceeds the authorised risk threshold.
+{% if ((prob_inf > 15) or (expected_new_cases >= 1)) %}
+ This exceeds the authorised risk threshold or number of expected new cases.
The risk level must be reduced before this activity can be undertaken.
{% elif (5 <= prob_inf <= 15) %}
This activity has an elevated level of risk, ALARA principles must be applied to minimise the level of risk before undertaking the activity.
@@ -264,7 +264,7 @@ In this scenario, the estimated probability of one exposed occupant getting infe
{% for scenario_name, scenario_stats in alternative_scenarios.stats.items() %}
- {%if ( scenario_stats.probability_of_infection > 15) %}
+ {%if (( scenario_stats.probability_of_infection > 15) or (scenario_stats.expected_new_cases >= 1)) %}
{% elif (5 <= scenario_stats.probability_of_infection <= 15) %}