CodeForPhilly / CodeForPhilly/chime

["bug"] The current % acutity (Hosp, ICU, and Vent are error prone)

Offen
#336 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug help wanted hospital-request models python
Vorherrschende Sprache
Python
Sterne
210
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The current parameters are dependent but the promoted input and use don't keep that constraint.
- Hospitalization %(total infections)
- ICU %(total infections)
- Ventilated %(total infections)

One could put int a hirer Ventilated rate the ICU or Hosptial, but this is not actually possible.

Furthermore, publications report rates of ICU (Critica Care) as rate hospitalizations. And rate of ventilated patients as rate of critical care patients

### Fix

These fields should be updated to:
Hosp %(total infections)
ICU (% total hosp)
Vent (% critical care)

The code should be updated to translate those numbers into %'s of total infections.

For example
Hosp %(total infections) = 2.5
ICU (% total hosp) = 30%
Vent (% critical care) = 66%

```
ICU % Total infections = Hosp %(total infections) * ICU (% total hosp)
Vent % Total infections = ICU % Total infections * Vent (% critical care)

Where
ICU % Total infections = 0.75
Vent % Total infections = 0.495
```

### Expected behavior:

### What I got instead:
(screenshots if applicable)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.