<HashMap><database>biostudies-literature</database><scores/><additional><omics_type>Unknown</omics_type><volume>26</volume><submitter>Wang L</submitter><pubmed_abstract>&lt;h4>Background&lt;/h4>The study of disease progression relies on clinical data, including text data, and extracting valuable features from text data has been a research hot spot. With the rise of large language models (LLMs), semantic-based extraction pipelines are gaining acceptance in clinical research. However, the security and feature hallucination issues of LLMs require further attention.&lt;h4>Objective&lt;/h4>This study aimed to introduce a novel modular LLM pipeline, which could semantically extract features from textual patient admission records.&lt;h4>Methods&lt;/h4>The pipeline was designed to process a systematic succession of concept extraction, aggregation, question generation, corpus extraction, and question-and-answer scale extraction, which was tested via 2 low-parameter LLMs: Qwen-14B-Chat (QWEN) and Baichuan2-13B-Chat (BAICHUAN). A data set of 25,709 pregnancy cases from the People's Hospital of Guangxi Zhuang Autonomous Region, China, was used for evaluation with the help of a local expert's annotation. The pipeline was evaluated with the metrics of accuracy and precision, null ratio, and time consumption. Additionally, we evaluated its performance via a quantified version of Qwen-14B-Chat on a consumer-grade GPU.&lt;h4>Results&lt;/h4>The pipeline demonstrates a high level of precision in feature extraction, as evidenced by the accuracy and precision results of Qwen-14B-Chat (95.52% and 92.93%, respectively) and Baichuan2-13B-Chat (95.86% and 90.08%, respectively). Furthermore, the pipeline exhibited low null ratios and variable time consumption. The INT4-quantified version of QWEN delivered an enhanced performance with 97.28% accuracy and a 0% null ratio.&lt;h4>Conclusions&lt;/h4>The pipeline exhibited consistent performance across different LLMs and efficiently extracted clinical features from textual data. It also showed reliable performance on consumer-grade hardware. This approach offers a viable and effective solution for mining clinical research data from textual records.</pubmed_abstract><journal>Journal of medical Internet research</journal><pagination>e54580</pagination><full_dataset_link>https://www.ebi.ac.uk/biostudies/studies/S-EPMC11015372</full_dataset_link><repository>biostudies-literature</repository><pubmed_title>An Entity Extraction Pipeline for Medical Text Records Using Large Language Models: Analytical Study.</pubmed_title><pmcid>PMC11015372</pmcid><pubmed_authors>Bi W</pubmed_authors><pubmed_authors>Li Y</pubmed_authors><pubmed_authors>Lv H</pubmed_authors><pubmed_authors>Ma Y</pubmed_authors><pubmed_authors>Wang L</pubmed_authors></additional><is_claimable>false</is_claimable><name>An Entity Extraction Pipeline for Medical Text Records Using Large Language Models: Analytical Study.</name><description>&lt;h4>Background&lt;/h4>The study of disease progression relies on clinical data, including text data, and extracting valuable features from text data has been a research hot spot. With the rise of large language models (LLMs), semantic-based extraction pipelines are gaining acceptance in clinical research. However, the security and feature hallucination issues of LLMs require further attention.&lt;h4>Objective&lt;/h4>This study aimed to introduce a novel modular LLM pipeline, which could semantically extract features from textual patient admission records.&lt;h4>Methods&lt;/h4>The pipeline was designed to process a systematic succession of concept extraction, aggregation, question generation, corpus extraction, and question-and-answer scale extraction, which was tested via 2 low-parameter LLMs: Qwen-14B-Chat (QWEN) and Baichuan2-13B-Chat (BAICHUAN). A data set of 25,709 pregnancy cases from the People's Hospital of Guangxi Zhuang Autonomous Region, China, was used for evaluation with the help of a local expert's annotation. The pipeline was evaluated with the metrics of accuracy and precision, null ratio, and time consumption. Additionally, we evaluated its performance via a quantified version of Qwen-14B-Chat on a consumer-grade GPU.&lt;h4>Results&lt;/h4>The pipeline demonstrates a high level of precision in feature extraction, as evidenced by the accuracy and precision results of Qwen-14B-Chat (95.52% and 92.93%, respectively) and Baichuan2-13B-Chat (95.86% and 90.08%, respectively). Furthermore, the pipeline exhibited low null ratios and variable time consumption. The INT4-quantified version of QWEN delivered an enhanced performance with 97.28% accuracy and a 0% null ratio.&lt;h4>Conclusions&lt;/h4>The pipeline exhibited consistent performance across different LLMs and efficiently extracted clinical features from textual data. It also showed reliable performance on consumer-grade hardware. This approach offers a viable and effective solution for mining clinical research data from textual records.</description><dates><release>2024-01-01T00:00:00Z</release><publication>2024 Mar</publication><modification>2025-04-19T20:25:20.307Z</modification><creation>2025-04-19T20:25:20.307Z</creation></dates><accession>S-EPMC11015372</accession><cross_references><pubmed>38551633</pubmed><doi>10.2196/54580</doi></cross_references></HashMap>