Real-time monitoring of ICU bed availability in Switzerland

The goal of this project (part of the versusvirus-hackathon) is to have a real time view on how many beds (ICU & non ICU) are available across Switzerland. To augment such monitoring capability, predictive modeling techniques that forecast how long a patient will remain hospitalized will be applied. Such approach allows for a more accurate resource planning of hospital beds and distribution of patients across Swiss hospitals.

BlueBeds Platform

Ou proposed solution is the BlueBeds Platform for which the code for which a Demo-version is available (also check-out the github-repo). The platform is the end-product, which collects data on the hospital-level and patient-level, and gives real-time predictions on the length-od-stay of the patient in that same bed. This will help with hospital-management. A description on how the data could be collected on the platform and how this data can be used in rather easy and straightforward prediction models can be found here.

Prediction models

  • A first very basic prediction model build with R, can be found at the end of this document.

  • An alternative model build in Python can be found here.

Data generation setup

To better illustrate the models, mock-data was generated as follows:

  1. Use a data synthesizer to produce ~10k hospital patients.

  2. Adjust synthetic data to Switzerland and current time frame (March/April 2020)

  3. Map data to number of beds available in Swiss hospitals

  4. Sample data according to volume of ICU beds available in Swiss hospitals

  5. Sample admission type : ICU invasive, ICU non-invasive, Non-ICU (source)

  6. Augment data with patient information about symptoms & preconditions and sample according to frequency of occurrence

  7. Engineer duration of stay based on admission type & death occurrence

Please note that not all assumptions have been available prior generation of the data and some might deviate from the underlying literature. Conditional occurrence of medical preconditions and gender biases were not included in this first version.