Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Machine Learning for Real-Time Aggregated Prediction of Hospital Admission for Emergency Patients

View ORCID ProfileZella King, Joseph Farrington, View ORCID ProfileMartin Utley, Enoch Kung, Samer Elkhodair, View ORCID ProfileSteve Harris, Richard Sekula, Jonathan Gillham, View ORCID ProfileKezhi Li, View ORCID ProfileSonya Crowe
doi: https://doi.org/10.1101/2022.03.07.22271999
Zella King
1Clinical Operational Research Unit, 4 Taviton Street, University College London, London WC1H 0BT
2Institute of Health Informatics, University College London, 222 Euston Road, London NW1 2DA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Zella King
  • For correspondence: zella.king@ucl.ac.uk
Joseph Farrington
2Institute of Health Informatics, University College London, 222 Euston Road, London NW1 2DA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Martin Utley
1Clinical Operational Research Unit, 4 Taviton Street, University College London, London WC1H 0BT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Martin Utley
Enoch Kung
1Clinical Operational Research Unit, 4 Taviton Street, University College London, London WC1H 0BT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Samer Elkhodair
3University College London Hospitals NHS Foundation Trust, 250 Euston Road; London; NW1 2PG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Steve Harris
3University College London Hospitals NHS Foundation Trust, 250 Euston Road; London; NW1 2PG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Steve Harris
Richard Sekula
3University College London Hospitals NHS Foundation Trust, 250 Euston Road; London; NW1 2PG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Jonathan Gillham
3University College London Hospitals NHS Foundation Trust, 250 Euston Road; London; NW1 2PG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Kezhi Li
2Institute of Health Informatics, University College London, 222 Euston Road, London NW1 2DA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Kezhi Li
Sonya Crowe
1Clinical Operational Research Unit, 4 Taviton Street, University College London, London WC1H 0BT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Sonya Crowe
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Machine learning for hospital operations is under-studied. We present a prediction pipeline that uses live electronic health-records for patients in a UK teaching hospital’s emergency department (ED) to generate short-term, probabilistic forecasts of emergency admissions. A set of XGBoost classifiers applied to 109,465 ED visits yielded AUROCs from 0.82 to 0.90 depending on elapsed visit-time at the point of prediction. Patient-level probabilities of admission were aggregated to forecast the number of admissions among current ED patients and, incorporating patients yet to arrive, total emergency admissions within specified time-windows. The pipeline gave a mean absolute error (MAE) of 4.0 admissions (mean percentage error of 17%) versus 6.5 (32%) for a benchmark metric. Models developed with 104,504 later visits during the Covid-19 pandemic gave AUROCs of 0.68-0.90 and MAE of 4.2 (30%) versus a 4.9 (33%) benchmark. We discuss how we surmounted challenges of designing and implementing models for real-time use, including temporal framing, data preparation, and changing operational conditions.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

This study was funded by the NIHR UCLH Biomedical Research Centre (award number 180143) with matched funding from the Wellcome Institutional Strategic Support Fund. The contribution of MU and JG was funded under the National Institute for Health Research (Artificial Intelligence, Digitally adapted, hyper-local realtime bed forecasting to manage flow for NHS wards, AI_AWARD01786) and NHSX. The views expressed in this publication are those of the authors and not necessarily those of the National Institute for Health Research, NHSX or the Department of Health and Social Care.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

The study was deemed exempt from NHS and UCL Research Ethics Committee review as there is no change to treatment or services or any study randomisation of patients into different treatment groups. It was considered a Service Evaluation according to the HRA decision tool (http://www.hra-decisiontools.org.uk/research/), and this was confirmed by the UCL/UCLH Joint Research Office

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.

Yes

Footnotes

  • Changes to the manuscript in response to reviewers' suggestions. The main additions are: - comparing Random Forest and Logistic Regression with XGBoost(Figure 4 and supplementary note 8) - use of Lasso regularisation of Logistic Regression to find out how model performance is affected by fewer variables (Figure 4 and supplementary note 8) - comparing use of only 3 models with using 12 (supplementary note 7) - addition of information about the application in use (supplementary note 9) - addition of evaluation of the Cox and Poisson regression equations (supplementary notes 4 and 5)

Data Availability

The datasets analysed during the current study are not publicly available: due to reasonable privacy and security concerns, the underlying EHR data are not easily redistributable to researchers other than those engaged in approved research collaborations with the hospital.

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license.
Back to top
PreviousNext
Posted June 01, 2022.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Machine Learning for Real-Time Aggregated Prediction of Hospital Admission for Emergency Patients
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Machine Learning for Real-Time Aggregated Prediction of Hospital Admission for Emergency Patients
Zella King, Joseph Farrington, Martin Utley, Enoch Kung, Samer Elkhodair, Steve Harris, Richard Sekula, Jonathan Gillham, Kezhi Li, Sonya Crowe
medRxiv 2022.03.07.22271999; doi: https://doi.org/10.1101/2022.03.07.22271999
Reddit logo Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Machine Learning for Real-Time Aggregated Prediction of Hospital Admission for Emergency Patients
Zella King, Joseph Farrington, Martin Utley, Enoch Kung, Samer Elkhodair, Steve Harris, Richard Sekula, Jonathan Gillham, Kezhi Li, Sonya Crowe
medRxiv 2022.03.07.22271999; doi: https://doi.org/10.1101/2022.03.07.22271999

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Health Systems and Quality Improvement
Subject Areas
All Articles
  • Addiction Medicine (240)
  • Allergy and Immunology (521)
  • Anesthesia (125)
  • Cardiovascular Medicine (1420)
  • Dentistry and Oral Medicine (217)
  • Dermatology (158)
  • Emergency Medicine (291)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (584)
  • Epidemiology (10297)
  • Forensic Medicine (6)
  • Gastroenterology (527)
  • Genetic and Genomic Medicine (2629)
  • Geriatric Medicine (254)
  • Health Economics (497)
  • Health Informatics (1733)
  • Health Policy (789)
  • Health Systems and Quality Improvement (673)
  • Hematology (266)
  • HIV/AIDS (565)
  • Infectious Diseases (except HIV/AIDS) (12093)
  • Intensive Care and Critical Care Medicine (649)
  • Medical Education (273)
  • Medical Ethics (83)
  • Nephrology (289)
  • Neurology (2461)
  • Nursing (145)
  • Nutrition (377)
  • Obstetrics and Gynecology (492)
  • Occupational and Environmental Health (568)
  • Oncology (1323)
  • Ophthalmology (401)
  • Orthopedics (146)
  • Otolaryngology (237)
  • Pain Medicine (168)
  • Palliative Medicine (51)
  • Pathology (343)
  • Pediatrics (780)
  • Pharmacology and Therapeutics (330)
  • Primary Care Research (296)
  • Psychiatry and Clinical Psychology (2397)
  • Public and Global Health (5007)
  • Radiology and Imaging (893)
  • Rehabilitation Medicine and Physical Therapy (528)
  • Respiratory Medicine (681)
  • Rheumatology (309)
  • Sexual and Reproductive Health (256)
  • Sports Medicine (245)
  • Surgery (298)
  • Toxicology (45)
  • Transplantation (140)
  • Urology (108)