Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hospitalization/ICU/Vent utilization question #222

Open
cls3415 opened this issue Mar 24, 2020 · 6 comments
Open

Hospitalization/ICU/Vent utilization question #222

cls3415 opened this issue Mar 24, 2020 · 6 comments
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@cls3415
Copy link

cls3415 commented Mar 24, 2020

This is a great tool!! Kudos!!
This more like a question not an issue.
I was looking for the build_admissions_df sub function and have a question.
So, it looks like, e.g. hospitalization number, was based on "disposition".
And the "disposition" was calculated from "i_hospitalized_v + r_hospitalized_v" in parameter.py.
May I know why the number of hospitalization = (ihosp_ratemarket_share) + (rhosp_ratemarket_share)?
Finally, thanks for hard works and efforts on this great tool!
Thanks!!

@quinn-dougherty quinn-dougherty added the question Further information is requested label Mar 24, 2020
@mishmosh mishmosh added this to Inbox, Unprocessed in Analysis via automation Mar 24, 2020
@mishmosh
Copy link
Member

Summarized from #chime-analysis on Slack:

Answer: At that point, it’s the number of people who have ever been hospitalized (i.e. the hosp*share fraction of the people who have ever been infected).

Followup question: How do we think about patients who spend some days in hospital not ICU and some days in ICU?

Answer: Since ever infected is cumulative, the difference is equivalent to new daily admissions. The LOS parameters are used to calculate the daily census in combination with the daily admissions.

Todos:

  • update end user docs (@Hanisha13)
  • update code comments to clarify (up for grabs)

@cls3415
Copy link
Author

cls3415 commented Mar 24, 2020

Thank-You @mishmosh !
I mean why do we want to add r * hosp_rate * market_share where r (recovered) is from SIR model since they are recovered, which suggests they might no longer need hospital bed resource.
Thanks!

@mishmosh
Copy link
Member

@cjbayesian can you answer this question?

@jpettit2
Copy link

I was wondering the same thing. The change from the original formulation and the rationale for the change as I have been able to find are referenced here in issue 189 I find myself of a similar mind to @cls3415 and would also be interested to see further clarification on this.

@BrittanyIstenes BrittanyIstenes added this to Inbox, Unprocessed in App Platform via automation Mar 31, 2020
@BrittanyIstenes BrittanyIstenes removed this from Inbox, Unprocessed in Analysis Mar 31, 2020
@jlubken
Copy link
Collaborator

jlubken commented Apr 4, 2020

@jpettit2 @cls3415 The cumulative sums of the three dispositions are shifted by their lengths of stay/days parameters and then subtracted to remove patients. Note that the infectious_days in the SIR model is independent of the days spent in each disposition for census. Likely, patients were infectious before their condition deteriorated enough to go to the hospital.

I am not a doctor, but presumably a patient could still need serious care even if they are on the recovered/recovery side (no longer infectious). The defaults of infectious_days: 14, average days on ventilator of 10, and the variable number of days before admit, certainly suggest that this is the case.

@jlubken jlubken changed the title Hospitalization/ICU/Vent utilization quation Hospitalization/ICU/Vent utilization question Apr 4, 2020
@jlubken jlubken moved this from Inbox, Unprocessed to Platform (Needs Review) in App Platform Apr 4, 2020
@jlubken jlubken added the documentation Improvements or additions to documentation label Apr 4, 2020
@misken
Copy link

misken commented Apr 4, 2020

@jpettit2 @cls3415 I put together a notebook yesterday to try to clarify for myself (and hopefully others) exactly how the resource related computations are done. It has the math that shows why the patients = raw_df.infected + raw_df.recovered line is needed and a bunch of explanation and annotated code that you might find helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
App Platform
Platform (Needs Review)
Development

No branches or pull requests

7 participants