Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Shao, Chong, Snyder, Douglas, Li, Chiran, Gu, Bowen, Ngan, Kerry, Yang, Chun-Ting, Wu, Jiageng, Wyss, Richard, Lin, Kueiyu Joshua, Yang, Jie
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2506.11137
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909891120070656
author Shao, Chong
Snyder, Douglas
Li, Chiran
Gu, Bowen
Ngan, Kerry
Yang, Chun-Ting
Wu, Jiageng
Wyss, Richard
Lin, Kueiyu Joshua
Yang, Jie
author_facet Shao, Chong
Snyder, Douglas
Li, Chiran
Gu, Bowen
Ngan, Kerry
Yang, Chun-Ting
Wu, Jiageng
Wyss, Richard
Lin, Kueiyu Joshua
Yang, Jie
contents Identifying medication discontinuations in electronic health records (EHRs) is vital for patient safety but is often hindered by information being buried in unstructured notes. This study aims to evaluate the capabilities of advanced open-sourced and proprietary large language models (LLMs) in extracting medications and classifying their medication status from EHR notes, focusing on their scalability on medication information extraction without human annotation. We collected three EHR datasets from diverse sources to build the evaluation benchmark. We evaluated 12 advanced LLMs and explored multiple LLM prompting strategies. Performance on medication extraction, medication status classification, and their joint task (extraction then classification) was systematically compared across all experiments. We found that LLMs showed promising performance on the medication extraction and discontinuation classification from EHR notes. GPT-4o consistently achieved the highest average F1 scores in all tasks under zero-shot setting - 94.0% for medication extraction, 78.1% for discontinuation classification, and 72.7% for the joint task. Open-sourced models followed closely, Llama-3.1-70B-Instruct achieved the highest performance in medication status classification on the MIV-Med dataset (68.7%) and in the joint task on both the Re-CASI (76.2%) and MIV-Med (60.2%) datasets. Medical-specific LLMs demonstrated lower performance compared to advanced general-domain LLMs. Few-shot learning generally improved performance, while CoT reasoning showed inconsistent gains. LLMs demonstrate strong potential for medication extraction and discontinuation identification on EHR notes, with open-sourced models offering scalable alternatives to proprietary systems and few-shot can further improve LLMs' capability.
format Preprint
id arxiv_https___arxiv_org_abs_2506_11137
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Scalable Medication Extraction and Discontinuation Identification from Electronic Health Records Using Large Language Models
Shao, Chong
Snyder, Douglas
Li, Chiran
Gu, Bowen
Ngan, Kerry
Yang, Chun-Ting
Wu, Jiageng
Wyss, Richard
Lin, Kueiyu Joshua
Yang, Jie
Computation and Language
Identifying medication discontinuations in electronic health records (EHRs) is vital for patient safety but is often hindered by information being buried in unstructured notes. This study aims to evaluate the capabilities of advanced open-sourced and proprietary large language models (LLMs) in extracting medications and classifying their medication status from EHR notes, focusing on their scalability on medication information extraction without human annotation. We collected three EHR datasets from diverse sources to build the evaluation benchmark. We evaluated 12 advanced LLMs and explored multiple LLM prompting strategies. Performance on medication extraction, medication status classification, and their joint task (extraction then classification) was systematically compared across all experiments. We found that LLMs showed promising performance on the medication extraction and discontinuation classification from EHR notes. GPT-4o consistently achieved the highest average F1 scores in all tasks under zero-shot setting - 94.0% for medication extraction, 78.1% for discontinuation classification, and 72.7% for the joint task. Open-sourced models followed closely, Llama-3.1-70B-Instruct achieved the highest performance in medication status classification on the MIV-Med dataset (68.7%) and in the joint task on both the Re-CASI (76.2%) and MIV-Med (60.2%) datasets. Medical-specific LLMs demonstrated lower performance compared to advanced general-domain LLMs. Few-shot learning generally improved performance, while CoT reasoning showed inconsistent gains. LLMs demonstrate strong potential for medication extraction and discontinuation identification on EHR notes, with open-sourced models offering scalable alternatives to proprietary systems and few-shot can further improve LLMs' capability.
title Scalable Medication Extraction and Discontinuation Identification from Electronic Health Records Using Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2506.11137