Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Oct 17;8(1):617.
doi: 10.1038/s41746-025-01989-1.

Semi-automated surveillance of surgical site infections using machine learning and rule-based classification models

Affiliations

Semi-automated surveillance of surgical site infections using machine learning and rule-based classification models

Américo Agostinho et al. NPJ Digit Med. .

Abstract

Surgical site infections (SSIs), among the most frequent healthcare-associated infections, require surveillance, but traditional methods are labour-intensive. We developed machine learning (ML) and rule-based models for the semi-automated detection of deep and organ/space SSIs using data from a prospective cohort of 3931 surgical patients. We assessed sensitivity and workload reduction (proportion of patients not requiring manual review) at a 0.5 decision threshold, and computed area under the receiver operating characteristic curve (AUROC) and area under the precision-recall curve (AUPRC). The best-performing ML models (Naïve Bayes and dense neural network) achieved sensitivity up to 0.90, AUROC up to 0.968, AUPRC up to 0.248, and workload reduction over 90%. The rule-based model showed higher sensitivity (0.954) but lower AUROC, AUPRC, and workload reduction. Our findings suggest that semi-automated approaches can support efficient and accurate SSI surveillance while reducing manual workload. Further validation in other settings is warranted.

PubMed Disclaimer

Conflict of interest statement

Competing interests: The authors declare no competing interests. Declaration of generative AI in scientific writing: During the preparation of this work the authors used ChatGPT (April 2025 version, OpenAI) in order to assist with writing, editing, and improving clarity. After using this tool/service, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.

Figures

Fig. 1
Fig. 1. SHAP values of the Naïve Bayes model (Bernoulli assumption).
The barplot (left), shows the average magnitude of SHAP values, ranking features by their overall influence. The beeswarm plot (right), provides a detailed view of each feature’s SHAP value distribution, indicating how high or low values affect the model’s output and highlighting feature interactions.
Fig. 2
Fig. 2. SHAP values of the dense neural network model.
The barplot (left), shows the average magnitude of SHAP values, ranking features by their overall influence. The beeswarm plot (right), provides a detailed view of each feature’s SHAP value distribution, indicating how high or low values affect the model’s output and highlighting feature interactions.

References

    1. Shambhu, S. et al. The burden of health care utilization, cost, and mortality associated with select surgical site infections. Jt Comm. J. Qual. Patient Saf.50, 857–866 (2024). - PubMed
    1. Storr, J. et al. Core components for effective infection prevention and control programmes: new WHO evidence-based recommendations. Antimicrob. Resist Infect. Control6, 6 (2017). - PMC - PubMed
    1. Abbas, M. et al. Impact of participation in a surgical site infection surveillance network: results from a large international cohort study. J. Hosp. Infect.102, 267–276 (2019). - PubMed
    1. Birgand, G. et al. Agreement among healthcare professionals in ten European countries in diagnosing case-vignettes of surgical-site infections. PLoS ONE8, e68618 (2013). - PMC - PubMed
    1. Verberk, J. D. M. et al. Automated surveillance systems for healthcare-associated infections: results from a European survey and experiences from real-life utilization. J. Hosp. Infect.122, 35–43 (2022). - PubMed

LinkOut - more resources