Skip to content

Commit a986bdc

Browse files
authored
PPE
PPE
2 parents 4d1417d + 8e7718b commit a986bdc

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

defaults/assets/PPE_Calculator.xlsx

-253 KB
Binary file not shown.
226 KB
Binary file not shown.

src/penn_chime/locales/en.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ en:
44
app-admitted-patients-title: "Admitted Patients (Census)"
55
app-admitted-patients-text: "Projected **census** of COVID-19 patients, accounting for arrivals and discharges."
66
app-PPE-title: "Personal Protective Equipment (PPE) Forecasting Calculator"
7+
app-PPE-text: "This Excel-based calculator uses hospitalized/ICU/ventilated censuses and admissions projections from any model to forecast PPE usage."
8+
app-PPE-text2: "To use CHIME’s projections based on your own parameters, set the parameters in the sidebar, then download this file:"
9+
app-PPE-screenshot: "Show a screenshot of the calculator"
710
app-PPE-documentation: |+
8-
Refer to our <a href="{link_to_docs}">user documentation for instructions</a> on how to incorporate input data and use the calculator.
11+
Refer to our [user documentation]({link_to_docs}) or
12+
watch [a quick tutorial]({link_to_tutorial}) for instructions on
13+
how to incorporate these projections--or projections from other models--into the calculator.
914
app-SIR-title: "Susceptible, Infected, and Recovered"
1015
app-SIR-text: "The number of susceptible, infected, and recovered individuals in the hospital catchment region at any given moment"
1116
charts-date: "Date"

src/penn_chime/locales/ja.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ ja:
44
app-admitted-patients-title: "累計入院患者数"
55
app-admitted-patients-text: "入院と退院を考慮したCOVID-19患者の予測**累計患者数**"
66
app-PPE-title: "個人用防護具 (PPE) 計算機"
7+
app-PPE-text: "This Excel-based calculator uses hospitalized/ICU/ventilated censuses and admissions projections from any model to forecast PPE usage."
8+
app-PPE-text2: "To use CHIME’s projections based on your own parameters, set the parameters in the sidebar, then download this file:"
79
app-PPE-screenshot: "ツールのスクリーンショットを表示"
810
app-PPE-documentation: |+
9-
ツールの使い方については<a href="{link_to_docs}">ユーザドキュメントの説明</a>を確認してください。
11+
Refer to our [user documentation]({link_to_docs}) or
12+
watch [a quick tutorial]({link_to_tutorial}) for instructions on
13+
how to incorporate these projections--or projections from other models--into the calculator.
1014
app-SIR-title: "感受性保持者、感染者と回復者"
1115
app-SIR-text: "与えられた時間範囲での、病院の担当範囲領域における感受性保持者、感染者と回復者の人数"
1216
charts-date: "日付"

src/penn_chime/model/ppe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ class PPE:
99
def __init__(self, env: Dict[str, str]):
1010
"""__init__."""
1111
self.assets = assets = env['ASSETS']
12-
self.filename = filename = "PPE_Calculator.xlsx"
12+
self.filename = filename = "PPE_Calculator_COVID-19.xlsx"
1313
self.src = os.path.join(assets, filename)

src/penn_chime/view/st_app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,19 @@ def main():
7272
)
7373

7474
st.subheader(i18n.t("app-PPE-title"))
75+
st.markdown(i18n.t("app-PPE-text"))
7576
display_excel_download_link(st, ppe.filename, ppe.src)
77+
st.markdown(i18n.t("app-PPE-text2"))
7678
display_download_link(
7779
st,
7880
p,
7981
filename=f"{p.current_date}_projected_census_for_ppe_calculator.csv",
8082
df=m.ppe_df,
8183
)
82-
8384
st.markdown(
8485
i18n.t("app-PPE-documentation").format(
8586
link_to_docs="{docs_url}/ppe-calculator".format(docs_url=DOCS_URL),
87+
link_to_tutorial="{docs_url}/ppe-calculator/ppe-basic-tutorial".format(docs_url=DOCS_URL),
8688
),
8789
unsafe_allow_html=True
8890
)

0 commit comments

Comments
 (0)