Large language models facilitate the generation of electronic health record phenotyping algorithms

被引:11
作者
Yan, Chao [1 ]
Ong, Henry H. [1 ]
Grabowska, Monika E. [1 ]
Krantz, Matthew S. [1 ]
Su, Wu-Chen [1 ]
Dickson, Alyson L. [1 ,2 ]
Peterson, Josh F. [1 ,2 ]
Feng, QiPing [2 ]
Roden, Dan M. [1 ]
Stein, C. Michael [2 ]
Kerchberger, V. Eric [2 ]
Malin, Bradley A. [1 ,3 ,4 ]
Wei, Wei-Qi [1 ,3 ,5 ]
机构
[1] Vanderbilt Univ, Dept Biomed Informat, Med Ctr, Nashville, TN 37203 USA
[2] Vanderbilt Univ, Dept Med, Med Ctr, Nashville, TN 37203 USA
[3] Vanderbilt Univ, Dept Comp Sci, Nashville, TN 37203 USA
[4] Vanderbilt Univ, Dept Biostat, Med Ctr, Nashville, TN 37203 USA
[5] Vanderbilt Univ, Med Ctr, Dept Biomed Informat & Comp Sci, Suite 1500,2525 West End Ave, Nashville, TN 37203 USA
关键词
phenotyping; electronic health records; large language models; ChatGPT; MEDICAL-RECORDS;
D O I
10.1093/jamia/ocae072
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Objectives Phenotyping is a core task in observational health research utilizing electronic health records (EHRs). Developing an accurate algorithm demands substantial input from domain experts, involving extensive literature review and evidence synthesis. This burdensome process limits scalability and delays knowledge discovery. We investigate the potential for leveraging large language models (LLMs) to enhance the efficiency of EHR phenotyping by generating high-quality algorithm drafts.Materials and Methods We prompted four LLMs-GPT-4 and GPT-3.5 of ChatGPT, Claude 2, and Bard-in October 2023, asking them to generate executable phenotyping algorithms in the form of SQL queries adhering to a common data model (CDM) for three phenotypes (ie, type 2 diabetes mellitus, dementia, and hypothyroidism). Three phenotyping experts evaluated the returned algorithms across several critical metrics. We further implemented the top-rated algorithms and compared them against clinician-validated phenotyping algorithms from the Electronic Medical Records and Genomics (eMERGE) network.Results GPT-4 and GPT-3.5 exhibited significantly higher overall expert evaluation scores in instruction following, algorithmic logic, and SQL executability, when compared to Claude 2 and Bard. Although GPT-4 and GPT-3.5 effectively identified relevant clinical concepts, they exhibited immature capability in organizing phenotyping criteria with the proper logic, leading to phenotyping algorithms that were either excessively restrictive (with low recall) or overly broad (with low positive predictive values).Conclusion GPT versions 3.5 and 4 are capable of drafting phenotyping algorithms by identifying relevant clinical criteria aligned with a CDM. However, expertise in informatics and clinical experience is still required to assess and further refine generated algorithms.
引用
收藏
页码:1994 / 2001
页数:8
相关论文
共 34 条
[31]   Mapping ICD-10 and ICD-10-CM Codes to Phecodes: Workflow Development and Initial Evaluation [J].
Wu, Patrick ;
Gifford, Aliya ;
Meng, Xiangrui ;
Li, Xue ;
Campbell, Harry ;
Varley, Tim ;
Zhao, Juan ;
Carroll, Robert ;
Bastarache, Lisa ;
Denny, Joshua C. ;
Theodoratou, Evropi ;
Wei, Wei-Qi .
JMIR MEDICAL INFORMATICS, 2019, 7 (04) :360-372
[32]   Enhancing phenotype recognition in clinical notes using large language models: PhenoBCBERT and PhenoGPT [J].
Yang, Jingye ;
Liu, Cong ;
Deng, Wendy ;
Wu, Da ;
Weng, Chunhua ;
Zhou, Yunyun ;
Wang, Kai .
PATTERNS, 2024, 5 (01)
[33]   High-throughput phenotyping with electronic medical record data using a common semi-supervised approach (PheCAP) [J].
Zhang, Yichi ;
Cai, Tianrun ;
Yu, Sheng ;
Cho, Kelly ;
Hong, Chuan ;
Sun, Jiehuan ;
Huang, Jie ;
Ho, Yuk-Lam ;
Ananthakrishnan, Ashwin N. ;
Xia, Zongqi ;
Shaw, Stanley Y. ;
Gainer, Vivian ;
Castro, Victor ;
Link, Nicholas ;
Honerlaw, Jacqueline ;
Huang, Sicong ;
Gagnon, David ;
Karlson, Elizabeth W. ;
Plenge, Robert M. ;
Szolovits, Peter ;
Savova, Guergana ;
Churchill, Susanne ;
O'Donnell, Christopher ;
Murphy, Shawn N. ;
Gaziano, J. Michael ;
Kohane, Isaac ;
Cai, Tianxi ;
Liao, Katherine P. .
NATURE PROTOCOLS, 2019, 14 (12) :3426-3444
[34]   PheMap: a multi-resource knowledge base for high-throughput phenotyping within electronic health records [J].
Zheng, Neil S. ;
Feng, QiPing ;
Kerchberger, V. Eric ;
Zhao, Juan ;
Edwards, Todd L. ;
Cox, Nancy J. ;
Stein, C. Michael ;
Roden, Dan M. ;
Denny, Joshua C. ;
Wei, Wei-Qi .
JOURNAL OF THE AMERICAN MEDICAL INFORMATICS ASSOCIATION, 2020, 27 (11) :1675-1687