@@ -55,6 +55,7 @@ def __init__(
55
55
hospitalized : Disposition ,
56
56
icu : Disposition ,
57
57
relative_contact_rate : float ,
58
+ mitigation_date : Optional [date ] = None ,
58
59
ventilated : Disposition ,
59
60
current_date : date = date .today (),
60
61
date_first_hospitalized : Optional [date ] = None ,
@@ -68,7 +69,6 @@ def __init__(
68
69
region : Optional [Regions ] = None ,
69
70
):
70
71
self .current_hospitalized = StrictlyPositive (value = current_hospitalized )
71
- self .relative_contact_rate = Rate (value = relative_contact_rate )
72
72
73
73
Rate (value = hospitalized .rate ), Rate (value = icu .rate ), Rate (value = ventilated .rate )
74
74
StrictlyPositive (value = hospitalized .days ), StrictlyPositive (value = icu .days ),
@@ -92,6 +92,9 @@ def __init__(
92
92
self .date_first_hospitalized = OptionalDate (value = date_first_hospitalized )
93
93
self .doubling_time = OptionalStrictlyPositive (value = doubling_time )
94
94
95
+ self .relative_contact_rate = Rate (value = relative_contact_rate )
96
+ self .mitigation_date = OptionalDate (value = mitigation_date )
97
+
95
98
self .infectious_days = StrictlyPositive (value = infectious_days )
96
99
self .market_share = Rate (value = market_share )
97
100
self .max_y_axis = OptionalStrictlyPositive (value = max_y_axis )
0 commit comments