Extracting Cardiorespiratory Symptoms From Clinical Notes Using Open-Weight Large Language Models: Method Development and Validation Study

心肺适能 医学 数据提取 人工智能 临床实习 电子健康档案 自然语言处理 诊断代码 鉴定(生物学) 限制 金标准(测试) 体征和症状 计算机科学 编码(集合论) 生命体征 健康档案 预测建模 数据挖掘 机器学习 梅德林 自然史 医疗急救 临床决策 临床诊断 病历 领域(数学分析) 重症监护医学 心肺骤停 数据科学
作者
Yunbing Bai,Wanting Cui,Joseph Finkelstein
出处
期刊:JMIR cardio [JMIR Publications]
卷期号:10: e89480-e89480 被引量:3
标识
DOI:10.2196/89480
摘要

Background: Accurate identification of clinical symptoms and signs (S&S) is essential for the early detection of high-burden cardiorespiratory conditions, including lung cancer, chronic obstructive pulmonary disease, and heart failure. Although symptom data play a central role in diagnostic reasoning and predictive modeling, most S&S information remains embedded in unstructured electronic health record notes, limiting their use in automated phenotyping, surveillance, and clinical decision support. Traditional natural language processing systems struggle with domain variability and contextual nuance in clinical text. Recent advances in large language models (LLMs) offer a promising alternative, yet challenges remain in hallucinations, overinference, and safe deployment. This study evaluated whether locally deployed open-source models could reliably extract cardiorespiratory S&S and map them to ICD-10-CM (International Classification of Diseases, Tenth Revision, Clinical Modification) codes using optimized prompting strategies. Objective: This study aims to assess the accuracy of open-source LLMs in extracting explicitly stated cardiorespiratory S&S from clinical notes and mapping them to ICD-10-CM codes (R00-R09) and to compare performance across 4 prompt-engineering strategies, including a multimodule LLM framework. Methods: A total of 593 clinical notes from the MTSamples database were manually reviewed, with 93 notes used for prompt development and comparison using Llama 3.3-70B, and 500 notes used as testing data for the final best prompt setting using both Llama 3.3-70B and gpt-oss-120B. Four prompting conditions were evaluated: (1) instruction-only, (2) ICD-10-CM definition-based prompts, (3) assumption-free prompts, and (4) a multimodule LLM framework with postprocessing. Performance was measured using precision, recall, and F1-score for both S&S extraction and ICD-10-CM code generation. Results: Across all prompt strategies, model performance improved as more structure and constraints were added. Instruction-only prompting demonstrated high recall but poor precision. Incorporating ICD-10-CM definitions improved coding accuracy, and assumption-free prompting further balanced precision and recall. The multimodule approach with postprocessing achieved the highest performance during prompt development. On the independent test corpus, entity-level microaveraged evaluation showed that gpt-oss-120B outperformed Llama 3.3-70B in both tasks. For S&S extraction, Llama 3.3-70B achieved a precision of 0.63, a recall of 0.86, and an F1-score of 0.73, whereas gpt-oss-120B achieved a precision of 0.89, a recall of 0.87, and an F1-score of 0.88. For ICD-10-CM code mapping, Llama 3.3-70B achieved a precision of 0.59, a recall of 0.83, and an F1-score of 0.69, whereas gpt-oss-120B achieved a precision of 0.90, a recall of 0.84, and an F1-score of 0.87. Conclusions: Locally deployed LLMs, when paired with optimized prompting and multimodule orchestration, can accurately extract cardiorespiratory S&S and generate ICD-10-CM codes from unstructured clinical notes. This approach increases the level of data safety by enabling on-premises processing without external data transmission and demonstrates strong potential for scalable, domain-adaptive symptom extraction pipelines in biomedical informatics. Future work should expand datasets and evaluate generalizability across clinical domains.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
l6k6x6完成签到,获得积分10
刚刚
气象员发布了新的文献求助10
1秒前
1秒前
2秒前
2秒前
可耐的冰巧完成签到,获得积分10
2秒前
孤海未蓝完成签到,获得积分0
3秒前
wyuwqhjp完成签到,获得积分10
3秒前
zfg666发布了新的文献求助10
4秒前
Qin完成签到,获得积分10
4秒前
无语发布了新的文献求助10
5秒前
天天快乐的应助被lp采纳,获得10
5秒前
6秒前
闪闪寄风完成签到,获得积分10
6秒前
7秒前
刘sss发布了新的文献求助10
7秒前
诗酒发布了新的文献求助10
7秒前
8秒前
8秒前
yuki瑞发布了新的文献求助20
8秒前
9秒前
9秒前
宋十一发布了新的文献求助10
10秒前
123完成签到,获得积分10
11秒前
小二郎的应助被哆啦小孟采纳,获得10
11秒前
11秒前
淡定之玉完成签到 ,获得积分10
12秒前
小叶子完成签到 ,获得积分10
13秒前
神奇一侠发布了新的文献求助10
13秒前
14秒前
zfg666发布了新的文献求助10
14秒前
风吹麦浪的应助被初景采纳,获得10
15秒前
zkylh完成签到,获得积分10
16秒前
ming发布了新的文献求助10
17秒前
aaaa发布了新的文献求助10
17秒前
17秒前
无语完成签到,获得积分10
17秒前
玉米许徐完成签到,获得积分10
18秒前
笑得开心完成签到,获得积分10
18秒前
chenchen完成签到 ,获得积分10
19秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Sex, Aging, and Death in a Medieval Medical Compendium: Trinity College Cambridge MS R.14.52, Its Texts, Language, and Scribe 450
The Martian climate revisited : atmosphere and environment of a desert planet 400
改訂11版 化学・バイオ特許の出願戦略 全文 400
《化学系特許明細書・意見書の書き方》全文 400
Les sites de Tam Hang, Nam Lot et Tam Pà Ling au nord du Laos 300
Musizierpraxis im Biedermeier: Spezifika und Kontext einer vermeintlich vertrauten Epoche 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8210535
求助须知:如何正确求助?哪些是违规求助? 9592909
关于积分的说明 21945380
捐赠科研通 7816152
什么是DOI,文献DOI怎么找? 3443024
关于科研通互助平台的介绍 2565117
邀请新用户注册赠送积分活动 2490627