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

被引:7
|
作者
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
相关论文
共 50 条
  • [1] Large language models as synthetic electronic health record data generators
    Vardhan, Madhurima
    Nathani, Deepak
    Vardhan, Swarnima
    Aggarwal, Abhinav
    Simini, Filippo
    2024 IEEE CONFERENCE ON ARTIFICIAL INTELLIGENCE, CAI 2024, 2024, : 804 - 810
  • [2] Deep phenotyping algorithms for drug reaction with eosinophilia and systemic symptoms facilitate the identification of cases within the electronic health record
    Krantz, Matthew
    Wei, Wei-Qi
    Phillips, Elizabeth
    JOURNAL OF ALLERGY AND CLINICAL IMMUNOLOGY, 2024, 153 (02) : AB235 - AB235
  • [3] Evaluating openEHR for storing computable representations of electronic health record phenotyping algorithms
    Papez, Vaclav
    Denaxas, Spiros
    Hemingway, Harry
    2017 IEEE 30TH INTERNATIONAL SYMPOSIUM ON COMPUTER-BASED MEDICAL SYSTEMS (CBMS), 2017, : 509 - 514
  • [4] Transformers and large language models are efficient feature extractors for electronic health record studies
    Yuan, Kevin
    Yoon, Chang Ho
    Gu, Qingze
    Munby, Henry
    Walker, A. Sarah
    Zhu, Tingting
    Eyre, David W.
    COMMUNICATIONS MEDICINE, 2025, 5 (01):
  • [5] Large Language Models for Electronic Health Record De-Identification in English and German
    Sousa, Samuel
    Jantscher, Michael
    Kroell, Mark
    Kern, Roman
    INFORMATION, 2025, 16 (02)
  • [6] IDENTIFYING OVERT SIGNS OF ACUTE GASTROINTESTINAL BLEEDING IN THE ELECTRONIC HEALTH RECORD WITH LARGE LANGUAGE MODELS
    Zheng, Neil S.
    Keloth, Vipina K.
    You, Kisung
    Li, Darrick K.
    Xu, Hua
    Laine, Loren
    Shung, Dennis
    GASTROENTEROLOGY, 2024, 166 (05) : S124 - S125
  • [7] Diabetes Phenotyping Using the Electronic Health Record
    Himali M. Weerahandi
    Leora I. Horwitz
    Saul B. Blecker
    Journal of General Internal Medicine, 2020, 35 : 3716 - 3718
  • [8] Diabetes Phenotyping Using the Electronic Health Record
    Weerahandi, Himali M.
    Horwitz, Leora I.
    Blecker, Saul B.
    JOURNAL OF GENERAL INTERNAL MEDICINE, 2020, 35 (12) : 3716 - 3718
  • [9] Data augmented large language models for medical record generation
    Zhang, Xuanyi
    Zhao, Genghong
    Ren, Yi
    Wang, Weiguang
    Cai, Wei
    Zhao, Yan
    Zhang, Xia
    Liu, Jiren
    APPLIED INTELLIGENCE, 2025, 55 (02)
  • [10] USING ELECTRONIC HEALTH RECORD DATA FOR COHORT DISCOVERY AND PHENOTYPING OF DEVELOPMENTAL LANGUAGE DISORDER
    Nitin, Rachana
    Walters, Courtney
    Boorom, Olivia
    Margulis, Katherine
    Davis, Lea
    Below, Jennifer
    Camarata, Stephen
    Gordon, Reyna
    EUROPEAN NEUROPSYCHOPHARMACOLOGY, 2019, 29 : S205 - S205