Validation of natural language processing for surgical complication surveillance: detecting 11 postoperative complications from electronic health records.
Emilie Even Dencker, Alexander Bonde, Anders Troelsen, Martin Sillesen
Department of Organ Surgery and Transplantation, Rigshospitalet, Copenhagen, Denmark. · Department of Orthopedics, Hvidovre Hospital, Hvidovre, Denmark.
Key points
From the paper's conclusion- This study aimed to evaluate whether natural language processing (NLP) models could detect 11 PCs from surgical electronic health records at a level comparable to human curation.
Abstract
INTRODUCTION Postoperative complications (PCs) rates are crucial quality metrics in surgery, as they reflect both patient outcomes, perioperative care effectiveness and healthcare resource strain. Despite their importance, efficient, accurate and affordable methods for tracking PCs are lacking. This study aimed to evaluate whether natural language processing (NLP) models could detect 11 PCs from surgical electronic health records at a level comparable to human curation. RESEARCH AND DESIGN METHODS Retrospective study in 18 hospitals across two regions in Denmark. A total of 17 486 surgical cases spanning 6 years were included. The dataset was divided into training, validation and test sets for NLP-model development and evaluation (50.2%/33.6%/16.2%). Model performance was compared against the current method of PC monitoring (International Classification of Diseases, 10th Revision (ICD-10) codes) and manual curation, the latter serving as the gold standard. 17 486 surgical cases from spanning 6 years were included. The dataset was divided into training, validation and test sets for NLP-model development and evaluation (50.2%/33.6%/16.2%). Model performance was compared against the current method of PC monitoring (International Classification of Diseases, 10th Revision (ICD-10) codes) and manual curation, the latter serving as the gold standard. RESULTS The NLP-models had a receiver operating characteristic area under the curve between 0.901 and 0.999 for the test set and significantly outperformed ICD-10 coding in detecting PCs. Sensitivity of the models when compared with manual curation ranged from 0.701 to 1.00, except for myocardial infarction (0.500). Positive predictive value (PPV) ranged from 0.0165 to 0.947, and negative predictive value from 0.995 to 1.00. Using a Human-in-the-Loop approach, only 16.3% of cases required manual review to reach a PPV of 1.00. CONCLUSIONS The NLP models alone were able to detect PCs at an acceptable level and outperformed ICD-10 codes. While combining NLP with manual review (Human-in-the-Loop) improved overall accuracy and reduced workload, the models still failed to identify some complications. Therefore, NLP algorithms may support (but not replace) manual surveillance and present a potential solution for more scalable PC monitoring.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Two-Stage NLP Pipeline for Automated Surveillance of Surgical Site InfectionsEuropean Journal of Public Health · 2026
- Manual versus natural language processing versus large language model screening for preoperative identification of cardiovascular diseases: a prospective cohort studyEuropean Heart Journal · 2026
- An Expedited Chart Review Process for Large Database Studies Using Natural Language Processing and Multiwave Adaptive SamplingEpidemiology · 2026
- The Best of Both Worlds: How Combining a Large Language Model and a Rule-Based Algorithm Makes Catheter-Associated Urinary Tract Infection Surveillance More EfficientClinical Infectious Diseases · 2026
- Development of a Natural Language Processing Algorithm to Aid Creation of a Surgical Spine Database.The spine journal : official journal of the North American Spine Society · 2026
- Large language models for zero-shot procedure extraction in orthopedic surgery: a comparative evaluationScientific Reports · 2026