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

Add beds from past admissions #46

Closed
thibautjombart opened this issue Mar 31, 2020 · 10 comments
Closed

Add beds from past admissions #46

thibautjombart opened this issue Mar 31, 2020 · 10 comments
Labels
enhancement New feature or request priority This needs to get done first

Comments

@thibautjombart
Copy link
Owner

Currently, the model only predicts bed occupancy using admissions from the date of reference. This means beds currently occupied, from past admissions, are not being used, leading to under-estimating bed occupancy in the first days of the simulations.

A better approach would be to append forecasted admissions to past admission data, and the derive the bed occupancy predictions.

@thibautjombart thibautjombart added enhancement New feature or request priority This needs to get done first labels Mar 31, 2020
@pearsonca
Copy link
Collaborator

So the input here is...for the beds currently occupied, when were they admitted? Then there's some sort of conditional forecast of when they'll leave, which we augment going forward.

Ideally the input would be line-list-ish with admit date, discharge date (which might be empty) - then could estimate real length of stay distro (and growth rate, etc).

@thibautjombart
Copy link
Owner Author

thibautjombart commented Mar 31, 2020 via email

@esnightingale
Copy link
Collaborator

esnightingale commented Apr 1, 2020

Would these already-admitted cases be subject to the same LOS distn from their original date of admission? Would there need to be a recommended minimum number of previous days' data, related to assumed LOS, so that we can reasonably assume ongoing occupancies have been captured?

@gwenknight
Copy link
Collaborator

Are you talking about COVID patients or non-COVID patients? I think COVID wards are now being segregated. So we could talk about bed occupancy just in these areas, then we don't have to worry about non-COVID occupancy. If you are talking about COVID patients then can't we ask for an incidence and use the same method to go forward from their first start date?

@thibautjombart
Copy link
Owner Author

Would these already-admitted cases be subject to the same LOS distn from their original date of admission? Would there need to be a recommended minimum number of previous days' data, related to assumed LOS, so that we can reasonably assume ongoing occupancies have been captured?

Yes exactly the same as admissions we forecast, and only COVID patients. Again, the app is only for COVID patients.

@thibautjombart
Copy link
Owner Author

Are you talking about COVID patients or non-COVID patients? I think COVID wards are now being segregated. So we could talk about bed occupancy just in these areas, then we don't have to worry about non-COVID occupancy. If you are talking about COVID patients then can't we ask for an incidence and use the same method to go forward from their first start date?

Only COVID, and yes, that's the idea. Only we don't want to impose the entire time series (we discussed this during the call this morning). We'll clarify that when a single date is provided, we only model occupancy from new admissions. As an option, users will be able to upload a xslx / csv to provide incidence of admissions over several days.

@esnightingale
Copy link
Collaborator

would it be possible to model this as something survival-y or is that too complicated?

@thibautjombart
Copy link
Owner Author

Not a bad idea, but not for the next release ;)

@thibautjombart
Copy link
Owner Author

thibautjombart commented Apr 1, 2020

Data inputs moved to a dedicated issue: #51

Forecast / model changes moved to a dedicated issue: #52

@thibautjombart
Copy link
Owner Author

Done at ad1c056

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority This needs to get done first
Projects
None yet
Development

No branches or pull requests

4 participants