Abstract
Infections after surgery remain a leading cause of morbidity and mortality, yet reliable risk stratification at the end of surgery is limited. Intraoperative vital signs are continuously recorded in modern operating rooms but remain an underexploited source of real-time prognostic information. We developed and validated a machine-learning model integrating intraoperative vital-sign dynamics to predict postoperative infections immediately at the end of surgery. We extracted arterial blood pressure, heart rate, oxygen saturation, temperature, and end-tidal CO₂ time-series from a clinical data warehouse, transforming these signals into interpretable summary, trend, and distributional descriptors. Using routine data from 10,719 surgical procedures, models incorporating interpretable intraoperative time-series features achieved an AUROC of 0.88 (95% CI, 0.85–0.91) for infection prediction at the end of surgery, significantly outperforming models based on preoperative variables alone. Model predictions were calibrated across major procedure clusters and interpretable through SHAP-based feature attribution. Our results demonstrate that intraoperative time-series data encode signatures of cumulative surgical and physiological stress, revealing early and clinically actionable signals of postoperative infection risk and enable an explainable machine-learning framework for perioperative monitoring systems. This explainable approach moves risk assessment from delayed postoperative testing to immediate, digital decision support, ready for integration into perioperative monitoring systems.
Similar content being viewed by others
Acknowledgements
The research has been supported Swiss Personalized Health Network (SPHN) grant number DEM-2022-08 and the Multidisciplinary Center for Infectious Diseases (MCID) MA_18 of the University Bern and support from the commission for digitalization of the University of Bern. The authors would like to thank the University Hospital Bern, the University of Bern and the Swiss Personalized Health Network (SPHN) for funding, Simone Zwicky, the INFRA team in particular Marc Zimmerli, Florian Duss, and Stefanie Marti; the MCID affiliates Christian Althaus, Alban Ramette, Alexander B. Leichtle, Julien Riou, Raphael Sznitman, Kevin Heng, and most importantly, all patients sharing their data.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Blatter, T.U., Wintsch, Y., Triep, K. et al. End-of-surgery prediction of postoperative infectious complications from intraoperative vital-sign dynamics. npj Digit. Med. (2026). https://doi.org/10.1038/s41746-026-02707-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41746-026-02707-1


