Risk of death is UncertaiN in Emergency laparotomy
This calculator predicts risk of death in hospital in the 60 days following emergency surgery on the gastrointestinal tract.
Our mortality risk model was developed using data from 127,134 adult emergency laparotomies included in the UK's National Emergency Laparotomy Audit (NELA). The work has now been peer reviewed and the paper is available open access at npj Digital Medicine
Model development code is publicly available under MIT License.
The model is yet to receive a CE mark. Therefore the web calculator and API offered here should currently be used only for educational and research purposes and should not be used to inform patient care.
Use our mortality risk model via an interactive form.
Access our mortality risk model via an API.
Currently the API is unmetered and free to use but this may change in future if demand is significant.
Our model predicts distributions over mortality risk, where the width (dispersion) of the distribution reflects our uncertainty about the patient's true underlying mortality risk.
In patients where lactate and albumin have not yet been measured, these values can be left blank in the web calculator or API input, and will be imputed using dedicated imputation Generalised Additive Models (GAMs). All other fields are required.
Clinical prediction models typically make point estimates of risk. However, values of key variables are often missing during model development or at prediction time, meaning that the point estimates mask significant uncertainty and can lead to over-confident decision making. We present a model of mortality risk in emergency laparotomy which instead presents a distribution of predicted risks, highlighting the uncertainty over the risk of death with an intuitive visualisation. We developed and validated our model using data from 127134 emergency laparotomies from patients in England and Wales during 2013–2019. We captured the uncertainty arising from missing data using multiple imputation, allowing prospective, patient-specific imputation for variables that were frequently missing. Prospective imputation allows early prognostication in patients where these variables are not yet measured, accounting for the additional uncertainty this induces. Our model showed good discrimination and calibration (95% confidence intervals: Brier score 0.071–0.078, C statistic 0.859–0.873, calibration error 0.031–0.059) on unseen data from 37 hospitals, consistently improving upon the current gold-standard model. The dispersion of the predicted risks varied significantly between patients and increased where prospective imputation occurred. We present a case study that illustrates the potential impact of uncertainty quantification on clinical decision making. Our model improves mortality risk prediction in emergency laparotomy and has the potential to inform decision-makers and assist discussions with patients and their families. Our analysis code was robustly developed and is publicly available for easy replication of our study and adaptation to predicting other outcomes.
This research was funded by the National Institute for Health Research (NIHR) Imperial Biomedical Research Centre (BRC) and was supported by the NIHR comprehensive BRC based at University College London Hospitals NHS Foundation Trust and University College London.