You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""(Warning: The number of known infections is greater than the estimate of infected patients based on inputs for current hospitalization, market share, and hospitalization rate. Please verify the market share value in the sidebar, and see if the hospitalization rate needs to be lowered.)"""
44
-
ifp.known_infected>m.infected
45
-
else""
46
-
)
47
-
48
36
infected_population_warning_str= (
49
37
"""(Warning: The number of estimated infections is greater than the total regional population. Please verify the values entered in the sidebar.)"""
"""**IMPORTANT NOTICE**: Admissions and Census calculations were previously **undercounting**. Please update your reports generated before """+str(CHANGE_DATE) +""". See more about changes [here](https://github.com/CodeForPhilly/chime/labels/models)."""
70
-
)
71
56
st.markdown(
72
57
"""*This tool was developed by the [Predictive Healthcare team](http://predictivehealthcare.pennmedicine.org/) at
73
58
Penn Medicine to assist hospitals and public health officials with hospital capacity planning,
74
59
but can be used anywhere in the world.
75
-
Customize it for your region by modifying data inputs in the left panel.
76
-
For questions on how to use this tool see the [User docs]({docs_url}). Code can be found on [Github](https://github.com/CodeForPhilly/chime)*.
60
+
Customize it for your region by modifying data inputs in the left panel.*
77
61
""".format(docs_url=DOCS_URL)
78
62
)
79
63
80
64
st.markdown(
81
-
"""The estimated number of currently infected individuals is **{total_infections:.0f}**. The **{initial_infections}**
82
-
confirmed cases in the region imply a **{detection_prob_str}** rate of detection. This is based on current inputs for
65
+
"""The estimated number of currently infected individuals is **{total_infections:.0f}**. This is based on current inputs for
83
66
Hospitalizations (**{current_hosp}**), Hospitalization rate (**{hosp_rate:.0%}**), Region size (**{S}**),
84
67
and Hospital market share (**{market_share:.0%}**).
85
68
86
-
{infection_warning_str}
87
69
{infected_population_warning_str}
88
70
89
71
An initial doubling time of **{doubling_time}** days and a recovery time of **{recovery_days}** days imply an $R_0$ of
@@ -94,8 +76,6 @@ def display_header(st, m, p):
94
76
and daily growth rate of **{daily_growth_t:.2f}%**.
95
77
""".format(
96
78
total_infections=m.infected,
97
-
initial_infections=p.known_infected,
98
-
detection_prob_str=detection_prob_str,
99
79
current_hosp=p.current_hospitalized,
100
80
hosp_rate=p.hospitalized.rate,
101
81
S=p.population,
@@ -107,10 +87,9 @@ def display_header(st, m, p):
107
87
r_t=m.r_t,
108
88
doubling_time_t=abs(m.doubling_time_t),
109
89
impact_statement=("halves the infections every"ifm.r_t<1else"reduces the doubling time to"),
0 commit comments