Validation of natural language processing for surgical complication surveillance: detecting 11 postoperative complications from electronic health records.

BMJ connections surgery Pub Date : 2026-06-03 eCollection Date: 2026-01-01 DOI:10.1136/bmjcsurg-2026-000039
Emilie Even Dencker, Alexander Bonde, Anders Troelsen, Martin Sillesen
{"title":"Validation of natural language processing for surgical complication surveillance: detecting 11 postoperative complications from electronic health records.","authors":"Emilie Even Dencker, Alexander Bonde, Anders Troelsen, Martin Sillesen","doi":"10.1136/bmjcsurg-2026-000039","DOIUrl":null,"url":null,"abstract":"<p><p>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.</p>","PeriodicalId":524179,"journal":{"name":"BMJ connections surgery","volume":"8 1","pages":"e000039"},"PeriodicalIF":0.0000,"publicationDate":"2026-06-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13537478/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMJ connections surgery","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1136/bmjcsurg-2026-000039","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.

手术并发症监测的自然语言处理验证:从电子健康记录中检测11种术后并发症。
术后并发症(PCs)率是外科手术中至关重要的质量指标,因为它们反映了患者的预后、围手术期护理的有效性和医疗资源的紧张程度。尽管它们很重要,但缺乏有效、准确和负担得起的追踪个人电脑的方法。本研究旨在评估自然语言处理(NLP)模型是否能够以与人类管理相当的水平从外科电子健康记录中检测出11个pc。研究与设计方法对丹麦两个地区的18家医院进行回顾性研究。共纳入17 486例手术病例,时间跨度6年。数据集分为训练集、验证集和测试集,用于nlp模型的开发和评估(50.2%/33.6%/16.2%)。将模型性能与当前PC监测方法(国际疾病分类第十版(ICD-10)代码)和人工管理方法进行比较,后者作为金标准。共纳入6年手术病例17486例。数据集分为训练集、验证集和测试集,用于nlp模型的开发和评估(50.2%/33.6%/16.2%)。将模型性能与当前PC监测方法(国际疾病分类第十版(ICD-10)代码)和人工管理方法进行比较,后者作为金标准。结果nlp模型的受试者工作特征面积在0.901 ~ 0.999之间,显著优于ICD-10编码。与人工培养相比,模型的敏感性范围为0.701至1.00,心肌梗死除外(0.500)。阳性预测值(PPV)为0.0165 ~ 0.947,阴性预测值为0.995 ~ 1.00。使用Human-in-the-Loop方法,只有16.3%的案例需要人工审查才能达到1.00的PPV。结论单独使用NLP模型能够在可接受的水平上检测pc,并且优于ICD-10代码。虽然将NLP与人工审查(Human-in-the-Loop)相结合提高了整体准确性并减少了工作量,但模型仍然无法识别一些并发症。因此,NLP算法可能支持(但不能取代)人工监控,并为更可扩展的PC监控提供潜在的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书