UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

patientflow: a Python package for real-time prediction of hospital bed demand from current and incoming patients

King, Zella; Gillham, Jon; Utley, Martin; Lundell, Sara; Graham, Matt; Crowe, Sonya; (2025) patientflow: a Python package for real-time prediction of hospital bed demand from current and incoming patients. The Journal of Open Source Software , 10 (116) , Article 9187. 10.21105/joss.09187. Green open access

[thumbnail of 10.21105.joss.09187.pdf]
Preview
Text
10.21105.joss.09187.pdf - Published Version

Download (192kB) | Preview

Abstract

patientflow is a Python package available on PyPi(King et al., 2025) for real-time prediction of hospital bed demand from current and incoming patients. It enables researchers to easily develop predictive models and demonstrate their utility to practitioners. Researchers can use it to prepare data sets for predictive modelling, generate patient level predictions of admission, discharge or transfer, and then combine patient-level predictions at different levels of aggregation to give output that is useful for bed managers. The package was developed for University College London Hospitals (UCLH) NHS Trust to predict demand for emergency beds using real-time data. The methods generalise to any problem where it is useful to predict non-clinical outcomes for a cohort of patients at a point in time. The repository includes a synthetic dataset and a series of notebooks demonstrating the use of the package.

Type: Article
Title: patientflow: a Python package for real-time prediction of hospital bed demand from current and incoming patients
Open access status: An open access version is available from UCL Discovery
DOI: 10.21105/joss.09187
Publisher version: https://doi.org/10.21105/joss.09187
Language: English
Additional information: Authors of JOSS papers retain copyright. This work is licensed under a Creative Commons Attribution 4.0 International License, https://creativecommons.org/licenses/by/4.0/.
UCL classification: UCL
UCL > Provost and Vice Provost Offices > UCL BEAMS
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Maths and Physical Sciences
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Maths and Physical Sciences > Dept of Mathematics
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Maths and Physical Sciences > Dept of Mathematics > Clinical Operational Research Unit
URI: https://discovery.ucl.ac.uk/id/eprint/10219270
Downloads since deposit
1Download
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item