Your browser doesn't support javascript.
loading
Large language models facilitate the generation of electronic health record phenotyping algorithms.
Yan, Chao; Ong, Henry H; Grabowska, Monika E; Krantz, Matthew S; Su, Wu-Chen; Dickson, Alyson L; Peterson, Josh F; Feng, QiPing; Roden, Dan M; Stein, C Michael; Kerchberger, V Eric; Malin, Bradley A; Wei, Wei-Qi.
Affiliation
  • Yan C; Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Ong HH; Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Grabowska ME; Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Krantz MS; Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Su WC; Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Dickson AL; Department of Medicine, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Peterson JF; Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Feng Q; Department of Medicine, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Roden DM; Department of Medicine, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Stein CM; Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Kerchberger VE; Department of Medicine, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Malin BA; Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
  • Wei WQ; Department of Medicine, Vanderbilt University Medical Center, Nashville, TN 37203, United States.
J Am Med Inform Assoc ; 31(9): 1994-2001, 2024 Sep 01.
Article in En | MEDLINE | ID: mdl-38613820
ABSTRACT

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.
Subject(s)
Key words

Full text: 1 Collection: 01-internacional Health context: 1_ASSA2030 Database: MEDLINE Main subject: Phenotype / Algorithms / Electronic Health Records Limits: Humans Language: En Journal: J Am Med Inform Assoc Year: 2024 Document type: Article

Full text: 1 Collection: 01-internacional Health context: 1_ASSA2030 Database: MEDLINE Main subject: Phenotype / Algorithms / Electronic Health Records Limits: Humans Language: En Journal: J Am Med Inform Assoc Year: 2024 Document type: Article