Cited by 89Machine Learning in HealthcareHealthcare Operations and Scheduling OptimizationEmergency and Acute Care Studies

Machine learning for real-time aggregated prediction of hospital admission for emergency patients

Open access
King, Zella, Farrington, Joseph, Utley, Martin, Kung, Enoch, Elkhodair, Samer, Harris, Steve, Sekula, Richard, Gillham, Jonathan +2 more·2022·npj Digital Medicine

Published version of a preprint

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.

AI snapshot

Written from the paper’s full text.

TL;DR

This paper develops and evaluates a real-time machine-learning pipeline that uses live electronic health record data from a UK teaching hospital emergency department to predict short-term emergency admissions in aggregate. It reports that XGBoost classifiers and a seven-step aggregation pipeline outperformed a conventional rolling-average benchmark for 4- and 8-hour admission forecasts.

Key findings

  • 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 prediction; best AUROC was 0.90 between 90 and 180 minutes.
  • The full prediction pipeline gave a mean absolute error (MAE) of 4.0 admissions (mean percentage error 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.
  • XGBoost outperformed Random Forest on log loss across all 12 models; Logistic Regression with Lasso regularisation performed almost as well as XGBoost.

Methods

  • Data came from HL7 messages generated by Epic and stored in EMAP, a PostgreSQL database updated with latency under 5 minutes; analysis used R version 4.0.0 and MLR3 packages.
  • The study included all inpatient and emergency visits involving an ED location from 1 May 2019 to 19 July 2021; after excluding patients under 18, those who died in ED, and self-discharges, there were 213,985 visits, of which 36,225 (20.7%) ended in admission. Three datasets were modelled: pre-Covid, Covid, and post-Same Day Emergency Care.
  • Twelve XGBoost classifiers were trained on successively longer elapsed ED times, using left-aligned training and right-aligned prediction, with ten-fold cross-validation optimising log loss. A seven-step pipeline aggregated patient-level probabilities into probability distributions, using survival analysis for time to admission and Poisson regression for patients yet to arrive, then compared predictions with a six-week rolling average benchmark.

Limitations

  • Stated: the hospital is urban with a student and commuter case mix and no major trauma centre, so cross-site generalisability may be restricted to similar hospitals; chief complaint and imaging features used in other studies were not available; and because ED presentations are seasonal, models ideally need more than one complete annual cycle, whereas the two years studied were very different due to organisational changes and Covid-19.
  • Stated: benefits are hard to isolate from other workflows and initiatives in a complex, changing environment, and model drift or sudden performance changes may necessitate continuous monitoring and human action.
  • Evident from the text: after Step 5, predicted distributions underestimated admissions within the 8-hour prediction window, suggesting patients were admitted faster than predicted; the final two calibration models related to a very small subset of visits where patients remained in ED after 8 hours; and a post-hoc adjustment to the survival curve was needed after the Covid outbreak.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1038/s41746-022-00649-y

Cites

48 of 48 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Claims the paper makes

0 of 42 cited sources checked · 0 supported · 0 flagged

  • Findingreasoning

    Among pathology features, test result values and the number of out-of-range results become important from 60 min onwards.

    “Among the pathology features, test result values and the number of out-of-range results become important from 60 min onwards, as lab tests results start to be returned to the ED.”
    Quote in the paperNot a substantial claim
  • Findingreasoning

    The cumulative number of measurements taken, and the number of times certain indicators are recorded, like nurse checks of body pressure areas, are more important later in the ED stay.

    “The cumulative number of measurements taken, and the number of times certain indicators are recorded, like nurse checks of body pressure areas, are more important later in the ED stay, presumably reflecting sustained attention by staff to more unwell patients.”
    Quote in the paperNot a substantial claim
  • Findingown data

    From visual inspection of the QQ plots, there is very good concurrence between the predicted distributions and observations after Step 3.

    “From visual inspection of the QQ plots, there is very good concurrence between the predicted distributions and observations after Step 3.”
    Quote in the paperSubstantial claim
  • Findingown data

    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.

    “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.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: The test set of 97 days from 13 December 2019 to 18 March 2020 is representative of the operational period for which the model is intended.
  • Findingown data

    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.

    “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.”
    Quote in the paperSubstantial claim
  • May combine two claims. 38
  • Classified as probably not a substantial claim. 42
  • May combine two claims.

    Findingown data

    Logistic Regression with Lasso regularisation gave performance almost as good as XGBoost, with increased regularisation giving less good performance.

    “Logistic Regression with Lasso regularisation gave performance almost as good as XGBoost, with increased regularisation (and as a consequence sparser regression models) giving less good performance (Fig. 4).”
    • Also stated in: § Discussion · plain
      “We found that XGBoost outperformed Random Forest and that LR optimised with Lasso regularisation was a close second.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data

    Triage scores are important up to 60 minutes, and the National Early Warning Score (NEWS) remains important up to 240 minutes.

    “Triage scores are important up to 60 minutes, and the National Early Warning Score (NEWS) remains important up to 240 minutes.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data

    After Step 5, concurrence remains good, although especially for an eight-hour prediction window the predicted distributions underestimate slightly the number of admissions within the prediction window.

    “After Step 5, concurrence remains good, although (especially for an eight-hour prediction window) the predicted distributions underestimate slightly the number of admissions within the prediction window, suggesting that patients were taking less time to be admitted than predicted.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data

    The models achieved lowest log loss when presented with patients with elapsed times of between 30 and 120 minutes, and the best AUROC of 0.90 between 90 and 180 minutes.

    “The models achieved lowest log loss when presented with patients with elapsed times of between 30 and 120 minutes, and the best Area Under the Receiving Operating Curve (AUROC) of 0.90 between 90 and 180 minutes.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data

    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.

    “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.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: The admission outcomes of individual patients in the ED are independent, so their probabilities can be combined into a probability distribution for the total number of admissions.
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingcitation

    Both Random Forest and Logistic Regression models drew on similar feature sets to XGBoost.

    “Both Random Forrest and Logistic Regression models drew on similar feature sets to XGBoost (Supplementary Note 8).”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data

    All ML models are well calibrated, up to the final two models which related to a very small subset of visits where patients remain in the ED after 8 hours.

    “All models are well calibrated, up to the final two models which related to a very small subset of visits where patients remain in the ED after 8 hours.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data

    The prediction pipeline gave a mean absolute error (MAE) of 4.0 admissions (mean percentage error of 17%) versus 6.5 (32%) for a benchmark metric, and outperformed the conventional six-week rolling average benchmark.

    “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.”
    • Also stated in: § Results for steps 3–7: evaluation of aggregated predictions · plain
      “The prediction pipeline underestimated the number of admissions within the 8-hour window but performed better than the benchmark (MAE of 4.0 admissions with MPE of 17%, compared with 6.5 and 32% for the benchmark).”
    • Also stated in: § Discussion · plain
      “The predictions outperformed the conventional six-week rolling average benchmark.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: The test set of 97 days from 13 December 2019 to 18 March 2020 is representative of the operational period for which the model is intended.
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Findingreasoning

    The seven-step pipeline needed one adjustment to accommodate the greater variation in both patients and operational conditions after the outbreak of Covid; this was to refine the survival curve used in Step 4 to draw only on rolling data from the past six weeks.

    “The seven-step pipeline needed one adjustment to accommodate the greater variation in both patients and operational conditions after the outbreak of Covid; this was to refine the survival curve used in Step 4 to draw only on rolling data from the past six weeks.”
    Quote in the paperNot a substantial claim
    • Rests on an assumption: The Covid-19 pandemic caused greater variation in both patients and operational conditions.
  • May combine two claims.

    Findingown data

    Numbers of ED presentations fell dramatically in late March 2020 and patients were processed quickly.

    “Numbers of presentations fell dramatically in late March 2020 (see Supplementary Fig. 3) and patients were processed quickly.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingnone given

    After a quiet period in April to June 2020, presentations gradually climbed, reaching pre-pandemic levels by mid-2021 and EDs have become progressively busier and slower to admit patients.

    “After a quiet period in April to June 2020, presentations gradually climbed, reaching pre-pandemic levels by mid-2021 and EDs have become progressively busier and slower to admit patients.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim.

    Findingnone given

    The two years in this study were very different, affected by organisation changes and the impact of Covid-19 on health services.

    “in fact the two years in this study were very different, affected by organisation changes and the impact of Covid-19 on health services.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data

    Patterns of feature importance and model performance were largely consistent across three different datasets, confirming that the ML models are relatively robust to changes brought about by the pandemic.

    “Patterns of feature importance (Supplementary Fig. 11) and model performance (Supplementary Fig. 12) were largely consistent across the three datasets.”
    • Also stated in: § Discussion · plain
      “Patterns of feature importance and model performance were largely consistent across three different datasets, confirming that the ML models are relatively robust to changes brought about by the pandemic.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data

    After filtering, there were 213,985 visits.

    “After filtering, there were 213,985 visits.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).

    Findingreasoning

    The benefits of the study are hard to isolate from the contribution of other workflows and initiatives in a complex and changing environment.

    “but its benefits are hard to isolate from the contribution of other workflows and initiatives in a complex and changing environment.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingcitation

    Using logistic regression, Barak-Corren et al. achieved an AUROC of 0.82 in their 10 minute model, compared with 0.85 at 15 minutes here without chief complaint; they achieved an AUROC of 0.83 after 120 minutes, compared with 0.90 here.

    “Using logistic regression (LR), Barak-Corren et al.18 achieved an AUROC of 0.82 in their 10 minute model (augmented by free-text chief complaint data that was retrospectively encoded), compared with 0.85 at 15 minutes here without chief complaint; they achieved an AUROC of 0.83 after 120 minutes, compared with 0.90 here.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [18] Barak-Corren, Y., Israelit, S. H. & Reis, B. Y. Progressive prediction of hospitalisation in the emergency department: uncovering hidden patterns to improve patient flow. Emerg. Med. J. 34, 308–314 (2017). source

      Not checked in the free run.

  • May combine two claims.

    Findingreasoning

    The costs of implementation were small as the hospital had already invested in the infrastructure to utilise data from the EHR, and no data entry was required by clinical staff in real-time.

    “The costs of implementation were small as the hospital had already invested in the infrastructure to utilise data from the EHR, and no data entry was required by clinical staff in real-time.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning

    A post-hoc change to the step that uses survival curves was made for the period following the Covid outbreak to address fluctuations in the flow of patients through the ED after the pandemic began.

    “For example, a post-hoc change to the step that uses survival curves was made for the period following the Covid outbreak to address fluctuations in the flow of patients through the ED after the pandemic began.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingcitation

    Using XGBoost, Barak-Corren et al. achieved AUROC of 0.87-0.93 with a 60 minute model, compared with 0.89 here, and Hong et al. achieved 0.87 with triage data.

    “Using XGBoost, Barak-Corren et al.31 achieved AUROC of 0.87–0.93 with a 60 minute model, compared with 0.89 here, and Hong et al9 achieved 0.87 with triage data.”
    Quote in the paperSubstantial claim0 of 2 sources checked
    • cites [31] Barak-Corren, Y. et al. Prediction across healthcare settings: a case study in predicting emergency department disposition. Npj Digit. Med. 4, 1–7 (2021). source

      Not checked in the free run.

    • cites [9] Hong, W. S., Haimovich, A. D. & Taylor, R. A. Predicting hospital admission at emergency department triage using machine learning. PLoS ONE 13, 1–13 (2018). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning

    Comparison with the commonly used six-week rolling average was not straightforward, as this metric is for a 24 hour prediction window from midnight.

    “Comparison with the commonly used six-week rolling average was not straightforward, as this metric is for a 24 hour prediction window from midnight.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim.

    Premisecitation

    When making predictions for admissions within a time-window after the prediction is made, projections must allow for the number of patients not in the ED at the prediction time who will arrive and be admitted within the window.

    “Also, when making predictions for admissions within a time-window after the prediction is made, projections must allow for the number of patients not in the ED at the prediction time who will arrive and be admitted within the window28.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [28] Utley, M., Gallivan, S., Treasure, T. & Valencia, O. Analytical methods for calculating the capacity required to operate an effective booked admissions policy for elective inpatient services. Health Care Manag. Sci. 6, 97–104 (2003). source

      Not checked in the free run.

  • Classified as probably not a substantial claim.

    Premisecitation

    Barak-Corren et al.'s study built progressive datasets from historical data, each intended to reflect the data usually available at 10, 60 and 120 minutes after presentation to the ED.

    “They built progressive datasets from historical data, each intended to reflect the data usually available at 10, 60 and 120 minutes after presentation to the ED.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [18] Barak-Corren, Y., Israelit, S. H. & Reis, B. Y. Progressive prediction of hospitalisation in the emergency department: uncovering hidden patterns to improve patient flow. Emerg. Med. J. 34, 308–314 (2017). source

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    Such methods do not take account of the stochastic nature of ED arrivals and cannot be adapted to reflect the case mix of people in the ED at a given point in time.

    “However, such methods do not take account of the stochastic nature of ED arrivals13 and cannot be adapted to reflect the case mix of people in the ED at a given point in time.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [13] Demeester, P., Souffriau, W., De Causmaecker, P. & Vanden Berghe, G. A hybrid tabu search algorithm for automatically assigning patients to beds. Artif. Intell. Med. 48, 61–70 (2010). source

      Not checked in the free run.

  • Classified as probably not a substantial claim. May combine two claims.

    Premisenone given

    These clinical contexts have patient observations taken with high frequency, whereas in the ED the frequency and type of data collection varies greatly from patient to patient.

    “These are contexts where patient observations are taken with high frequency whereas the frequency of data collection and the type of data collected varies greatly from patient to patient in the ED.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S2 (checkable).

    Premisecitation

    Real-time operational models need to cover the 'last mile' of AI deployment, meaning that applications that generate predictions can run end-to-end without human intervention.

    “Real-time operational models also need to cover the ‘last mile’ of AI deployment; this means that the applications that generate predictions can run end-to-end without human intervention.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [29] Seneviratne, M. G., Shah, N. H. & Chu, L. Bridging the implementation gap of machine learning in healthcare. BMJ Innov. 6, (2020). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Models for real-time prediction have been trained in clinical contexts such as circulatory failure in critical care and post-operative complications.

    “Models for real-time prediction have been trained in clinical contexts such as circulatory failure in critical care24 and post-operative complications25,26.”
    Quote in the paperNot a substantial claim0 of 3 sources checked
    • cites [24] Hyland, S. L. et al. Early prediction of circulatory failure in the intensive care unit using machine learning. Nat. Med. 26, 364–373 (2020). source

      Not checked in the free run.

    • cites [25] Fritz, B. A. et al. Using machine learning techniques to develop forecasting algorithms for postoperative complications: protocol for a retrospective study. BMJ Open 8, e020124 (2018). source

      Not checked in the free run.

    • cites [26] Meyer, A. et al. Machine learning for real-time prediction of complications in critical care: a retrospective study. Lancet Respir. Med. 6, 905–914 (2018). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Hong et al. showed that ML algorithms like gradient-boosted trees and deep neural networks, applied to a large EHR dataset of 972 variables, improved predictive performance.

    “Hong et al.9 showed that ML algorithms like gradient-boosted trees and deep neural networks, applied to a large EHR dataset of 972 variables, improved predictive performance.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [9] Hong, W. S., Haimovich, A. D. & Taylor, R. A. Predicting hospital admission at emergency department triage using machine learning. PLoS ONE 13, 1–13 (2018). source

      Not checked in the free run.

  • May combine two claims.

    Interpretationreasoning

    As time goes on, the more straightforward discharges and admissions are made, the number of training examples diminishes and the case mix includes a higher proportion of more clinically complex cases which are harder to predict.

    “As time goes on, the more straightforward discharges and admissions are made, the number of training examples diminishes (see Fig. 2b) and the case mix includes a higher proportion of more clinically complex cases which are harder to predict.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S2 (checkable).

    Premisecitation

    If models are to be used operationally, their performance needs to be sustained over time as care provision, patient characteristics and the systems used to capture data evolve.

    “If models are to be used operationally, their performance needs to be sustained over time as care provision, patient characteristics and the systems used to capture data evolve23.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [23] Nestor, B. et al. Feature robustness in non-stationary health records: caveats to deployable model performance in common clinical machine learning tasks. Preprint at https://arxiv.org/abs/1908.00690 (2019).

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given

    Heterogeneous data profiles in the ED are themselves indicative of likelihood of admission.

    “These heterogeneous data profiles are themselves indicative of likelihood of admission.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    El-Bouri et al. were able to predict which medical specialty patients would be admitted to by including data on lab test results and procedures.

    “By including data on lab test results and procedures, El-Bouri et al.20 were able to predict which medical specialty patients would be admitted to.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [20] El-Bouri, R., Eyre, D. W., Watkinson, P., Zhu, T. & Clifton, D. A. Hospital admission location prediction via deep interpretable networks for the year-round improvement of emergency patient care. IEEE J. Biomed. Health Inform. 25, 289–300 (2021). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Barak-Corren et al. showed that the later datasets offered better predictions than at 10 minutes.

    “they were able to show that the later datasets offered better predictions than at 10 minutes.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [18] Barak-Corren, Y., Israelit, S. H. & Reis, B. Y. Progressive prediction of hospitalisation in the emergency department: uncovering hidden patterns to improve patient flow. Emerg. Med. J. 34, 308–314 (2017). source

      Not checked in the free run.

  • Classified as probably not a substantial claim.

    Interpretationreasoning

    In hospitals with EHRs, where staff are recording patient data at the point of care, there is an opportunity to use EHR data to generate short-horizon predictions of bed demand.

    “In hospitals with EHRs, where staff are recording patient data at the point of care, there is an opportunity to use EHR data to generate short-horizon predictions of bed demand.”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim.

    Premisecitation

    Machine learning is attractive for such predictions because its aggregation of weak predictors may create a strong prediction model.

    “Maching Learning (ML) is attractive for such predictions because its aggregation of weak predictors may create a strong prediction model2.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [2] Pianykh, O. S. et al. Improving healthcare operations management with machine learning. Nat. Mach. Intell. 2, 266–273 (2020). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationreasoning

    The slight underestimation after Step 5 suggests that patients were taking less time to be admitted than predicted.

    “After Step 5, concurrence remains good, although (especially for an eight-hour prediction window) the predicted distributions underestimate slightly the number of admissions within the prediction window, suggesting that patients were taking less time to be admitted than predicted.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation

    Building a model for implementation involves additional challenges to those encountered when simply optimising the technical performance of a prediction model, including preparing training examples of incomplete visits from historic data, making decisions about temporal framing, and planning for drift in model performance over time.

    “Building a model for implementation involves several additional challenges to those encountered when simply optimising the technical performance of a prediction model. These include preparing training examples of incomplete visits from historic data in which visits have been completed21, making decisions about the temporal framing of the model (for example, at what point in the visit to check if t”
    Quote in the paperSubstantial claim0 of 3 sources checked
    • cites [21] Kanter, J. M., Gillespie, O. & Veeramachaneni, K. Label, segment, featurize: a cross domain framework for prediction engineering. In 2016 IEEE International Conference on Data Science and Advanced Analytics (DSAA) 430–439. https://doi.org/10.1109/DSAA.2016.54 (2016). source

      Not checked in the free run.

    • cites [22] Lauritsen, S. M. et al. The Framing of machine learning risk prediction models illustrated by evaluation of sepsis in general wards. Npj Digit. Med. 4, 1–12 (2021). source

      Not checked in the free run.

    • cites [23] Nestor, B. et al. Feature robustness in non-stationary health records: caveats to deployable model performance in common clinical machine learning tasks. Preprint at https://arxiv.org/abs/1908.00690 (2019).

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing). May combine two claims.

    Premisecitation

    This last mile is the most neglected, leading to calls for a delivery science for AI, in which AI is viewed as an enabling component within an operational workflow, rather than an end in itself.

    “This last mile is the most neglected29, leading to calls for a delivery science for AI, in which AI is viewed as an enabling component within an operational workflow, rather than an end in itself30.”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites [29] Seneviratne, M. G., Shah, N. H. & Chu, L. Bridging the implementation gap of machine learning in healthcare. BMJ Innov. 6, (2020). source

      Not checked in the free run.

    • cites [30] Li, R. C., Asch, S. M. & Shah, N. H. Developing a delivery science for artificial intelligence in healthcare. Npj Digit. Med. 3, 1–3 (2020). source

      Not checked in the free run.

  • May combine two claims.

    Premisecitation

    One study in emergency medicine derived an expected number of admissions among a roomful of patients in ED by summing their individual probabilities of admission, but there was no presentation of the uncertainty of their point estimates.

    “One study in emergency medicine derived an expected number of admissions among a roomful of patients in ED by summing their individual probabilities of admission27, but there was no presentation of the uncertainty of their point estimates.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [27] Peck, J. S., Benneyan, J. C., Nightingale, D. J. & Gaehde, S. A. Predicting emergency department inpatient admissions to improve same-day patient flow. Acad. Emerg. Med 19, E1045–E1054 (2012). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).

    Interpretationown data

    Other settings without the upfront investment in infrastructure might be able to achieve similar results with fewer data points and simpler models, as suggested by our LR results.

    “Other settings without the upfront investment in infrastructure might be able to achieve similar results with fewer data points and simpler models, as suggested by our LR results”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationcitation

    Aside from those based on location, the risk factors for admission found here are familiar in ED practice and therefore likely to be common to other sites.

    “But aside from those based on location, the risk factors for admission found here are familiar in ED practice and therefore likely to be common to other sites31.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [31] Barak-Corren, Y. et al. Prediction across healthcare settings: a case study in predicting emergency department disposition. Npj Digit. Med. 4, 1–7 (2021). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Study design and conductnone given

    The full set of variables was available for inclusion in the regression models.

    “That said, we note that that the full set of variables was available for inclusion in the regression models.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Study design and conductreasoning

    The study was deemed exempt from NHS Research Ethics Committee review as there is no change to treatment or services or any study randomisation of patients into different treatment groups.

    “The study was deemed exempt from NHS Research Ethics Committee review as there is no change to treatment or services or any study randomisation of patients into different treatment groups.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).

    Interpretationreasoning

    It may be possible to implement some predictive models within an EHR.

    “and it may be possible to implement some predictive models within an EHR.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim. May combine two claims.

    Interpretationnone given

    This work draws attention to some challenges that make technically high-performing systems perform poorly for their intended use, including model drift, and considers how to address them.

    “This work draws attention to some challenges that make technically high-performing systems perform poorly for their intended use, including model drift, and considers how to address them.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S2 (checkable). May combine two claims.

    Interpretationreasoning

    Here we demonstrate an application of ML in that last mile, providing an example of how ML for healthcare will need to be delivered if it is to become a dependable and reliable tool.

    “Here we demonstrate an application of ML in that last mile, providing an example of how ML for healthcare will need to be delivered if it is to become a dependable and reliable tool.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Crowding in EDs is an outcome of system-wide issues downstream such as bottlenecks and capacity constraints.

    “Ultimately of course, crowding in EDs is an outcome of system-wide issues downstream such as bottlenecks and capacity constraints6,37.”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites [6] McKenna, P. et al. Emergency department and hospital crowding: causes, consequences, and cures. Clin. Exp. Emerg. Med. 6, 189–195 (2019). source

      Not checked in the free run.

    • cites [37] Kohler, K. & Ercole, A. Can network science reveal structure in a complex healthcare system? A network analysis using data from emergency surgical services. BMJ Open 10, 34265 (2020). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing). May combine two claims.

    Premisecitation

    Presentations at ED are seasonal, so ideally models have more than one complete annual cycle to learn patterns from.

    “Because presentations at ED are seasonal, ideally models have more than one complete annual cycle to learn patterns from11;”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [11] Jones, R. Volatility in bed occupancy for emergency admissions. Br. J. Healthc. Manag. 17, 424–430 (2011). source

      Not checked in the free run.

  • May combine two claims.

    Study design and conductown data

    This study created complex models with many features, without dropping visits with missing data as other scholars have done, and included real-time location features that proved to be important for the long-staying patients who are more difficult to predict for.

    “This study created complex models with many features, without dropping visits with missing data as other scholars have done20, and included real-time location features that proved to be important for the long-staying patients who are more difficult to predict for.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [20] El-Bouri, R., Eyre, D. W., Watkinson, P., Zhu, T. & Clifton, D. A. Hospital admission location prediction via deep interpretable networks for the year-round improvement of emergency patient care. IEEE J. Biomed. Health Inform. 25, 289–300 (2021). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Interpretationown data

    More heavily regularised LR models also performed well, suggesting that sparser models could potentially achieve acceptable performance in data-poor settings.

    “More heavily regularised LR models also performed well, suggesting that sparser models could potentially achieve acceptable performance in data-poor settings.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationnone given

    The modular nature of the aggregation made it easy to swap out the bit that changed and retrain.

    “Here, the modular nature of the aggregation made it easy to swap out the bit that changed and retrain.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim. May combine two claims.

    Study design and conductcitation

    Ten-fold cross-validation was used to find hyperparameters for each model, optimising for log loss, and the validation set used to assess held-out performance of individual-level models and the whole pipeline during development.

    “Ten-fold cross-validation was used to find hyperparameters for each model, optimising for log loss, and the validation set used to assess held-out performance of individual-level models and the whole pipeline during development41.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [41] Wilk, M. B. & Gnanadesikan, R. Probability plotting methods for the analysis for the analysis of data. Biometrika 55, 1–17 (1968).

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S4 (based).

    Premisenone given

    The challenge for predictions using ED data is the sparse and heterogenous nature of the recorded data.

    “The challenge for predictions using ED data is the sparse and heterogenous nature of the recorded data.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing), S4 (based).

    Interpretationnone given

    The need for a post-hoc adjustment to models reflects wider difficulties with drift for all predictive applications that learn from past data, including but not limited to those using ML.

    “The need for a post-hoc adjustment to models is reflective of wider difficulties with drift for all predictive applications that learn from past data, including but not limited to those using ML.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Study design and conductcitation

    The temporal split (test set most recent 20% of days, validation set the 10% before that) avoids any leak of future information into the past, and allows for a fairer test for problems with temporal drift.

    “Visits were added to training, validation and test sets chronologically with the test set containing the most recent 20% of days, and the validation set the 10% before that, as shown in Supplementary Fig. 3. This temporal split avoids any leak of future information into the past, and allows for a fairer test for problems with temporal drift that are commonly in real-time implementation23.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [23] Nestor, B. et al. Feature robustness in non-stationary health records: caveats to deployable model performance in common clinical machine learning tasks. Preprint at https://arxiv.org/abs/1908.00690 (2019).

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing). May combine two claims.

    Premisecitation

    AI does not do anything on its own; to succeed, it must be connected to real-world processes.

    “AI does not do anything on its own; to succeed, it must be connected to real-world processes38.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites [38] Coiera, E. The last mile: where artificial intelligence meets reality. J. Med. Internet Res. 21, e16323 (2019). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based). May combine two claims.

    Interpretationnone given

    The XGBoost and other classifiers used here have the benefit of being more interpretable than other algorithms such as neural networks, giving some insight into how the models derive their individual-level predictions.

    “In addition to good predictive performance, the XGBoost and other classifiers used here have the benefit of being more interpretable than other algorithms such as neural networks, giving some insight into how the models derive their individual-level predictions.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisenone given

    Peck et al.'s proposed summation of probabilities to calculate running bed need does not quantify uncertainty, and England et al.'s simulations do not benefit from real-time data.

    “Peck et al.’s27 proposed summation of probabilities to calculate running bed need does not quantify uncertainty, and England et al.’s32 simulations do not benefit from real-time data.”
    Quote in the paperSubstantial claim0 of 2 sources checked
    • cites [27] Peck, J. S., Benneyan, J. C., Nightingale, D. J. & Gaehde, S. A. Predicting emergency department inpatient admissions to improve same-day patient flow. Acad. Emerg. Med 19, E1045–E1054 (2012). source

      Not checked in the free run.

    • cites [32] England, T. et al. Near real-time bed modelling feasibility study. J. Simul. 0, 1–12 (2019).

      Not checked in the free run.

  • May combine two claims.

    Interpretationreasoning

    The prediction pipeline generated output that could be evaluated at each step, which means that, when applied to data from later time periods, it is possible to identify (and potentially address) any weak step(s) in the pipeline.

    “The prediction pipeline generated output that could be evaluated at each step, which means that, when applied to data from later time periods, it is possible to identify (and potentially address), any weak step(s) in the pipeline.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Study design and conductreasoning

    For the real-time information product currently in use, a training set starting in November 2020 was used to train the models, and the survival curves are updated nightly to use only time-to-admission data from the last six weeks.

    “So, for the real-time information product currently in use, a training set starting in November 2020 was used to train the models, and the survival curves are updated nightly to use only time-to-admission data from the last six weeks.”
    Quote in the paperNot a substantial claim
    • Rests on an assumption: Same Day Emergency Care (SDEC) was introduced late in 2020 and significantly changed how the ED is run.
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Interpretationreasoning

    Changing patterns of ED presentations and/or changing operational practice may introduce drift or sudden changes in model performance, necessitating continuous monitoring.

    “changing patterns of ED presentations and/or changing operational practice may introduce drift or sudden changes in model performance, necessitating continuous monitoring.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Study design and conductown data

    To exploit the evolving predictive power of features, including data-completeness during patients' visits to ED, 12 temporally framed models were used; Supplementary Note 7 shows the value added by the use of 12 models compared to 3, confirming that additional models contribute to superior performance.

    “To exploit the evolving predictive power of features, including data-completeness during patients’ visits to ED, 12 temporally framed models were used; Supplementary Note 7 shows the value added by the use of 12 models compared to 3 (the number chosen by Barak-Corren et al.31), confirming that additional models contribute to superior performance.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [31] Barak-Corren, Y. et al. Prediction across healthcare settings: a case study in predicting emergency department disposition. Npj Digit. Med. 4, 1–7 (2021). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Methods have been proposed for dealing with non-stationary learning problems.

    “Methods have been proposed for dealing with non-stationary learning problems33,34.”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites [33] Wang, H. & Abraham, Z. Concept drift detection for streaming data. Preprint at http://arxiv.org/abs/1504.01044 (2015).

      Not checked in the free run.

    • cites [34] Žliobaitė, I. Learning under concept drift: an overview. Preprint at http://arxiv.org/abs/1010.4784 (2010).

      Not checked in the free run.

  • Classified as probably not a substantial claim. May combine two claims.

    Study design and conductreasoning

    Log loss was considered the most important metric, because, for input into the aggregation steps, accurate probabilities are more important than classification.

    “Log loss was considered the most important metric, because, for input into the aggregation steps, accurate probabilities are more important than classification.”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim. May combine two claims.

    Premisecitation

    XGBoost was chosen due to its efficiency and capability of processing large datasets, its ability to handle missing data and imbalanced datasets, and (relative to other ML algorithms) its interpretability.

    “XGBoost was chosen due to its efficiency and capability of processing large datasets, its ability to handle missing data and imbalanced datasets, and (relative to other ML algorithms) its interpretability.”
    Quote in the paperSubstantial claim0 of 1 sources checked
    • cites [40] Chen, T. & Guestrin, C. XGBoost: a scalable tree boosting system. https://doi.org/10.1145/2939672.2939785 (2016). source

      Not checked in the free run.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationreasoning

    A direct comparison with the six-week rolling average is only possible for a prediction window that ends at midnight.

    “A direct comparison with it is only possible for a prediction window that ends at midnight.”
    Quote in the paperNot a substantial claim
65 of 65
  • The paper relies on this without support.

    The admission outcomes of individual patients in the ED are independent, so their probabilities can be combined into a probability distribution for the total number of admissions.

    “At Step 3, the individual probabilities were combined to give a probability distribution for the number of admissions from the patients currently in the ED.”
  • The paper relies on this without support.

    The test set of 97 days from 13 December 2019 to 18 March 2020 is representative of the operational period for which the model is intended.

    “The following paragraphs present an evaluation of the predictions made at the four prediction times on a test set of 97 days from 13 December 2019 to 18 March 2020.”
  • The paper relies on this without support.

    The data recorded in the EHR are accurate and complete enough for real-time prediction.

    “At each prediction time, EHR data on the set of patients in the ED was retrieved (Step 1).”
  • The paper relies on this without support.

    Same Day Emergency Care (SDEC) was introduced late in 2020 and significantly changed how the ED is run.

    “Same Day Emergency Care (SDEC) was introduced late in 2020 and significantly changed how the ED is run.”
  • The paper relies on this without support.

    The Covid-19 pandemic caused greater variation in both patients and operational conditions.

    “The seven-step pipeline needed one adjustment to accommodate the greater variation in both patients and operational conditions after the outbreak of Covid”
  • The authors state this as an assumption.

    Better information would improve bed planners’ ability to manage the complexities of patient flow.

    “Our study was designed under the assumption that better information would improve bed planners’ ability to manage the complexities of patient flow”
  • The paper relies on this without support.

    No model of an evolving system can be expected to predict accurately in perpetuity.

    “No model of an evolving system can be expected to predict accurately in perpetuity”
  • The paper relies on this without support.

    The hospital where this work was conducted is urban with a student and commuter case mix and no major trauma centre.

    “The hospital where this work was conducted is urban with a student and commuter case mix and no major trauma centre.”
  • The paper relies on this without support.

    ED organisation varies between hospitals (especially location and pathways).

    “As ED organisation varies between hospitals (especially location and pathways)”
  • The paper relies on this without support.

    The use of real-time EHR data for prediction is rare in the literature on emergency admissions, especially in combination with the aggregation of patient-level predictions into output for operational use.

    “the use of real-time EHR data for prediction is rare in the literature on emergency admissions, especially in combination with the aggregation of patient-level predictions into output for operational use.”
10 of 10

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

  • Admission percentage does not match the visit count

    Minor

    The stated 36,225 admissions out of 213,985 visits equal 16.9%, not 20.7%.

    Reported 20.7 · recomputed 16.928757

  • Post-SDEC dataset starts before the stated introduction of SDEC

    Minor

    The dataset described as starting after SDEC was introduced begins on 17 November 2020, but the paper also says SDEC was introduced in December 2020.

2 of 2

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
King, Z., Farrington, J., Utley, M., Kung, E., Elkhodair, S., Harris, S., Sekula, R., Gillham, J., Li, K., & Crowe, S.
Affiliations
  • University College London (GB)
  • University College London Hospitals NHS Foundation Trust (GB)
Corresponding author
King, Zella
Venue
npj Digital Medicine
Published
2022-07-26
Volume
5
Issue
1
Pages
104-104
ISSN
2398-6352 (ISSN-L)
OpenAlex
W4288068807
Cited by
87
References
46
Citations by year
2026: 26 · 2025: 28 · 2024: 18 · 2023: 13 · 2022: 2
FWCI
5.18
Type
journal article
Language
en
Open access
Locations
  • npj Digital Medicine (publishedVersion, cc-by)
  • medRxiv (acceptedVersion, cc-by-nc-nd)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
  • UCL Discovery (University College London) (submittedVersion)
Funders
  • Wellcome Trust (204841, 204841/Z/16/Z)
  • International Seafood Sustainability Foundation
  • National Institute for Health and Care Research (AI_AWARD01786, 204841/Z/16/Z)
  • Department of Health and Social Care
  • University College London Hospitals NHS Foundation Trust
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
  • Health Sciences › Health Professions › Emergency Medical Services › Healthcare Operations and Scheduling Optimization
  • Health Sciences › Medicine › Emergency Medicine › Emergency and Acute Care Studies
Keywords
hospital admission prediction, emergency department, real-time prediction, XGBoost, electronic health records, hospital operations, probabilistic forecasting, COVID-19 pandemic, temporal framing

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-10.

Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-10.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review