Enhanced Depression Phenotyping Using Machine Learning and Electronic Medical Records for Disease Surveillance: A Validation Study in Inpatient Settings.

IF 2.2 Q3 HEALTH CARE SCIENCES & SERVICES
International Journal of Population Data Science Pub Date : 2026-07-06 eCollection Date: 2026-01-01 DOI:10.23889/ijpds.v11i5.3729
Na Lin, Elliot A Martin, Seungwon Lee, Allison Grothman, Na Li, Kamala Adhikari, Kiarash Riazi, Cathy A Eastwood, Danielle A Southern, Hude Quan
{"title":"Enhanced Depression Phenotyping Using Machine Learning and Electronic Medical Records for Disease Surveillance: A Validation Study in Inpatient Settings.","authors":"Na Lin, Elliot A Martin, Seungwon Lee, Allison Grothman, Na Li, Kamala Adhikari, Kiarash Riazi, Cathy A Eastwood, Danielle A Southern, Hude Quan","doi":"10.23889/ijpds.v11i5.3729","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Accurate detection of inpatient depression is essential for surveillance and resource allocation. Traditional International Classification of Diseases (ICD) codes suffer from low sensitivity and delayed availability.</p><p><strong>Objective: </strong>To develop and validate machine learning (ML) phenotyping algorithms for depression using unstructured inpatient clinical notes from electronic medical records (EMRs), compared with ICD-10-CA codes and manual chart review.</p><p><strong>Methods: </strong>This retrospective cohort study included a derivation cohort (N = 3032 adults, Jan-June 2015) and a temporally independent external validation cohort (N = 10659 adults, 2017-2022) from Calgary acute care hospitals. Both cohorts were deterministically linked to DAD and EMR databases. Manual chart reviews defined the reference standard for depression status. We compared ICD-10-CA codes against three EMR-based algorithms: Keyword Search, Concept Model and Document-Concept Model. The latter two employed a supervised ML classifier (XGBoost) utilizing clinical concepts extracted via the cTAKES natural language processing (NLP) pipeline. Primary measures were prevalence, sensitivity, positive predictive value (PPV), specificity, negative predictive value (NPV), and F1 score.</p><p><strong>Results: </strong>In derivation cohort (prevalence: 18.1%), the Concept Model achieved 76.4% sensitivity and 76.7% F1 score, significantly outperforming Keyword Search (F1: 66.7%), Document-Concept Model (F1: 73.7%), and ICD-10-CA codes (sensitivity: 20.0%; F1: 32.6%). In external validation (prevalence: 13.1%), the Concept Model retained robust performance (sensitivity: 92.3%; F1: 80.1%), compared with ICD-10-CA (sensitivity: 6.1%; F1: 11.4%).</p><p><strong>Conclusion: </strong>An EMR-based Concept Model using NLP and ML markedly improves depression case detection over ICD coding in inpatient settings. The methods could potentially facilitate psychiatric surveillance and epidemiological research using real-world clinical data.</p>","PeriodicalId":36483,"journal":{"name":"International Journal of Population Data Science","volume":"11 5","pages":"3729"},"PeriodicalIF":2.2000,"publicationDate":"2026-07-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13426532/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Population Data Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23889/ijpds.v11i5.3729","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q3","JCRName":"HEALTH CARE SCIENCES & SERVICES","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Accurate detection of inpatient depression is essential for surveillance and resource allocation. Traditional International Classification of Diseases (ICD) codes suffer from low sensitivity and delayed availability.

Objective: To develop and validate machine learning (ML) phenotyping algorithms for depression using unstructured inpatient clinical notes from electronic medical records (EMRs), compared with ICD-10-CA codes and manual chart review.

Methods: This retrospective cohort study included a derivation cohort (N = 3032 adults, Jan-June 2015) and a temporally independent external validation cohort (N = 10659 adults, 2017-2022) from Calgary acute care hospitals. Both cohorts were deterministically linked to DAD and EMR databases. Manual chart reviews defined the reference standard for depression status. We compared ICD-10-CA codes against three EMR-based algorithms: Keyword Search, Concept Model and Document-Concept Model. The latter two employed a supervised ML classifier (XGBoost) utilizing clinical concepts extracted via the cTAKES natural language processing (NLP) pipeline. Primary measures were prevalence, sensitivity, positive predictive value (PPV), specificity, negative predictive value (NPV), and F1 score.

Results: In derivation cohort (prevalence: 18.1%), the Concept Model achieved 76.4% sensitivity and 76.7% F1 score, significantly outperforming Keyword Search (F1: 66.7%), Document-Concept Model (F1: 73.7%), and ICD-10-CA codes (sensitivity: 20.0%; F1: 32.6%). In external validation (prevalence: 13.1%), the Concept Model retained robust performance (sensitivity: 92.3%; F1: 80.1%), compared with ICD-10-CA (sensitivity: 6.1%; F1: 11.4%).

Conclusion: An EMR-based Concept Model using NLP and ML markedly improves depression case detection over ICD coding in inpatient settings. The methods could potentially facilitate psychiatric surveillance and epidemiological research using real-world clinical data.

使用机器学习和电子医疗记录进行疾病监测的增强抑郁症表型:住院患者设置的验证研究。
背景:住院患者抑郁症的准确检测对监测和资源分配至关重要。传统的国际疾病分类(ICD)编码存在灵敏度低和可用性延迟的问题。目的:利用来自电子病历(emr)的非结构化住院患者临床记录,与ICD-10-CA代码和手动图表审查进行比较,开发和验证抑郁症的机器学习(ML)表型算法。方法:本回顾性队列研究包括来自卡尔加里急性护理医院的衍生队列(N = 3032名成年人,2015年1 - 6月)和暂时独立的外部验证队列(N = 10659名成年人,2017-2022年)。两个队列都确定与DAD和EMR数据库相关联。手工图表审查定义了抑郁症状态的参考标准。我们将ICD-10-CA代码与三种基于emr的算法进行了比较:关键词搜索、概念模型和文档-概念模型。后两者采用了一种有监督的ML分类器(XGBoost),利用了通过cTAKES自然语言处理(NLP)管道提取的临床概念。主要指标为患病率、敏感性、阳性预测值(PPV)、特异性、阴性预测值(NPV)和F1评分。结果:在衍生队列(患病率:18.1%)中,概念模型的敏感性为76.4%,F1评分为76.7%,显著优于关键词搜索(F1: 66.7%)、文档-概念模型(F1: 73.7%)和ICD-10-CA代码(敏感性:20.0%,F1: 32.6%)。在外部验证(患病率:13.1%)中,与ICD-10-CA(灵敏度:6.1%;F1: 11.4%)相比,概念模型保持了稳健的性能(灵敏度:92.3%;F1: 80.1%)。结论:使用NLP和ML的基于emr的概念模型显著提高了住院患者对ICD编码的抑郁症病例检测。这些方法可能有助于利用真实世界的临床数据进行精神病学监测和流行病学研究。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
2.50
自引率
0.00%
发文量
386
审稿时长
20 weeks
×
引用
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学术官方微信
小红书