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
相关论文
共 34 条
  • [1] Achiam J., 2023, arXiv
  • [2] Zero-shot interpretable phenotyping of postpartum hemorrhage using large language models
    Alsentzer, Emily
    Rasmussen, Matthew J.
    Fontoura, Romy
    Cull, Alexis L.
    Beaulieu-Jones, Brett
    Gray, Kathryn J.
    Bates, David W.
    Kovacheva, Vesela P.
    [J]. NPJ DIGITAL MEDICINE, 2023, 6 (01)
  • [3] [Anonymous], 2012, Type 2 Diabetes Mellitus
  • [4] Anthropic, 2023, Claude
  • [5] Advances in Electronic Phenotyping: From Rule-Based Definitions to Machine Learning Models
    Banda, Juan M.
    Seneviratne, Martin
    Hernandez-Boussard, Tina
    Shah, Nigam H.
    [J]. ANNUAL REVIEW OF BIOMEDICAL DATA SCIENCE, VOL 1, 2018, 1 : 53 - 68
  • [6] Carlson C., 2012, DEMENTIA
  • [7] The future landscape of large language models in medicine
    Clusmann, Jan
    Kolbinger, Fiona R.
    Muti, Hannah Sophie
    Carrero, Zunamys I.
    Eckardt, Jan-Niklas
    Laleh, Narmin Ghaffari
    Loeffler, Chiara Maria Lavinia
    Schwarzkopf, Sophie-Caroline
    Unger, Michaela
    Veldhuizen, Gregory P.
    Wagner, Sophia J.
    Kather, Jakob Nikolas
    [J]. COMMUNICATIONS MEDICINE, 2023, 3 (01):
  • [8] Denny J., 2012, PHEKB
  • [9] Variants Near FOXE1 Are Associated with Hypothyroidism and Other Thyroid Conditions: Using Electronic Medical Records for Genome- and Phenome-wide Studies
    Denny, Joshua C.
    Crawford, Dana C.
    Ritchie, Marylyn D.
    Bielinski, Suzette J.
    Basford, Melissa A.
    Bradford, Yuki
    Chai, High Seng
    Bastarache, Lisa
    Zuvich, Rebecca
    Peissig, Peggy
    Carrell, David
    Ramirez, Andrea H.
    Pathak, Jyotishman
    Wilke, Russell A.
    Rasmussen, Luke
    Wang, Xiaoming
    Pacheco, Jennifer A.
    Kho, Abel N.
    Hayes, M. Geoffrey
    Weston, Noah
    Matsumoto, Martha
    Kopp, Peter A.
    Newton, Katherine M.
    Jarvik, Gail P.
    Li, Rongling
    Manolio, Teri A.
    Kullo, Iftikhar J.
    Chute, Christopher G.
    Chisholm, Rex L.
    Larson, Eric B.
    McCarty, Catherine A.
    Masys, Daniel R.
    Roden, Dan M.
    de Andrade, Mariza
    [J]. AMERICAN JOURNAL OF HUMAN GENETICS, 2011, 89 (04) : 529 - 542
  • [10] Gemini, 2023, GOOGLE DEEPMIND