Saved in:
Bibliographic Details
Main Authors: Matos, João, Gallifant, Jack, Pei, Jian, Wong, A. Ian
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2407.00242
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916307424772096
author Matos, João
Gallifant, Jack
Pei, Jian
Wong, A. Ian
author_facet Matos, João
Gallifant, Jack
Pei, Jian
Wong, A. Ian
contents Electronic health records (EHRs) contain vast amounts of complex data, but harmonizing and processing this information remains a challenging and costly task requiring significant clinical expertise. While large language models (LLMs) have shown promise in various healthcare applications, their potential for abstracting medical concepts from EHRs remains largely unexplored. We introduce EHRmonize, a framework leveraging LLMs to abstract medical concepts from EHR data. Our study uses medication data from two real-world EHR databases to evaluate five LLMs on two free-text extraction and six binary classification tasks across various prompting strategies. GPT-4o's with 10-shot prompting achieved the highest performance in all tasks, accompanied by Claude-3.5-Sonnet in a subset of tasks. GPT-4o achieved an accuracy of 97% in identifying generic route names, 82% for generic drug names, and 100% in performing binary classification of antibiotics. While EHRmonize significantly enhances efficiency, reducing annotation time by an estimated 60%, we emphasize that clinician oversight remains essential. Our framework, available as a Python package, offers a promising tool to assist clinicians in EHR data abstraction, potentially accelerating healthcare research and improving data harmonization processes.
format Preprint
id arxiv_https___arxiv_org_abs_2407_00242
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle EHRmonize: A Framework for Medical Concept Abstraction from Electronic Health Records using Large Language Models
Matos, João
Gallifant, Jack
Pei, Jian
Wong, A. Ian
Computation and Language
Electronic health records (EHRs) contain vast amounts of complex data, but harmonizing and processing this information remains a challenging and costly task requiring significant clinical expertise. While large language models (LLMs) have shown promise in various healthcare applications, their potential for abstracting medical concepts from EHRs remains largely unexplored. We introduce EHRmonize, a framework leveraging LLMs to abstract medical concepts from EHR data. Our study uses medication data from two real-world EHR databases to evaluate five LLMs on two free-text extraction and six binary classification tasks across various prompting strategies. GPT-4o's with 10-shot prompting achieved the highest performance in all tasks, accompanied by Claude-3.5-Sonnet in a subset of tasks. GPT-4o achieved an accuracy of 97% in identifying generic route names, 82% for generic drug names, and 100% in performing binary classification of antibiotics. While EHRmonize significantly enhances efficiency, reducing annotation time by an estimated 60%, we emphasize that clinician oversight remains essential. Our framework, available as a Python package, offers a promising tool to assist clinicians in EHR data abstraction, potentially accelerating healthcare research and improving data harmonization processes.
title EHRmonize: A Framework for Medical Concept Abstraction from Electronic Health Records using Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2407.00242