Scientific article
OA Policy
English

Prediction of postoperative infections by strategic data imputation and explainable machine learning

Published inJournal of the American Medical Informatics Association, vol. 32, no. 11, p. 1706-1717
Publication date2025-11-01
Abstract

Objectives: Infections following healthcare-associated interventions drive patient morbidity and mortality, making early detection essential. Traditional predictive models utilize preoperative surgical characteristics. This study evaluated whether integrating postoperative laboratory values and their kinetics could improve outcome prediction.

Materials and methods: 91 794 surgical cases were extracted from electronic health records (EHR) and analyzed to predict bacterial infection as the endpoint. The endpoint was documented in the EHR as ICD-10 by a professional coding team. Variables were grouped as preoperative, intraoperative, or postoperative. Strategic imputation was used for postoperative missing laboratory values. Procedure-agnostic prediction models were built incorporating both static and kinetic properties of laboratory values.

Results: The integration of kinetics of laboratory values into a machine learning predictor achieved a recall, precision and ROC AUC at postoperative day 2 of 0.71, 0.69, and 0.83, respectively. Moreover, infection detection outperformed clinician-based decision-making, as reflected by the postoperative timing of antibiotic administration. The analysis identified previously unknown, informative combinations of routine markers from hepatic, renal, and bone marrow functions that predict outcome.

Discussion: Dynamic modelling of postoperative laboratory values enhanced the timeliness and accuracy of infection detection compared with static or preoperative-only models. The integration of explainable machine learning supports clinical interpretation and highlights the contribution of multiple organ systems to postoperative infection risk.

Conclusion: A surgery-independent workflow integrating time-series values from laboratory parameters to enhance baseline predictors of infection. This interpretable approach is generalizable across procedures and has the potential to optimize patient outcomes and resource use in surgical care.

Keywords
  • Infection
  • Laboratory values
  • Machine learning
  • Surgery
  • Humans
  • Machine Learning
  • Electronic Health Records
  • Surgical Wound Infection / diagnosis
  • ROC Curve
  • Postoperative Complications / diagnosis
  • Female
  • Bacterial Infections / diagnosis
  • Male
  • Middle Aged
Funding
  • Swiss Personalized Health Network [SPHN DEM-2022-08]
Citation (ISO format)
GUILLEN-RAMIREZ, Hugo et al. Prediction of postoperative infections by strategic data imputation and explainable machine learning. In: Journal of the American Medical Informatics Association, 2025, vol. 32, n° 11, p. 1706–1717. doi: 10.1093/jamia/ocaf145
Main files (1)
Article (Published version)
Secondary files (1)
Appendix
accessLevelPublic
Identifiers
Journal ISSN1067-5027
2views
22downloads

Technical informations

Creation02/06/2026 15:39:17
First validation06/07/2026 07:35:02
Update06/07/2026 07:35:02
Status update06/07/2026 07:35:02
Last indexation06/07/2026 07:35:02
All rights reserved by Archive ouverte UNIGE and the University of GenevaunigeBlack