Enhanced Medical Data Extraction: Leveraging LLMs for Accurate Retrieval of Patient Information from Medical Reports
Preprint
- 12 July 2024
- preprint
- Published by MDPI AG in Preprints.org
Abstract
This study presents a strategic approach to developing applications focused on implementing Large Language Models using the Langchain framework in Python. Three language models are highlighted: GPT-3.5 (turbo mode), LLaMA 2, and Vicuna 7B, each with their distinctive features and capabilities. The methodology used is described in detail, including data extraction from medical reports using zero-shot prompting data extraction techniques, interaction with language models, and structured storage of results. The performance of the models in data extraction is evaluated, presenting metrics such as precision, recall, and F1 score. The results demonstrate high model capability in extracting information, although areas for improvement are identified, particularly in data extraction precision. In conclusion, the efficacy of the models in extracting information from medical histories is not considerably acknowledged, with an emphasis on the importance of improving precision and increasing the volume of trained data for future research in healthcare digitalization.Keywords
All Related Versions
- Version 1, 2024-07-12, Preprints
- Published version: JMIR AI, 4 (1), e68776.
This publication has 15 references indexed in Scilit:
- Large language models could change the future of behavioral healthcare: a proposal for responsible development and evaluationnpj Mental Health Research, 2024
- Large language models (LLM) and ChatGPT: what will the impact on nuclear medicine be?European Journal of Nuclear Medicine and Molecular Imaging, 2023
- Can ChatGPT pass the life support exams without entering the American heart association course?Resuscitation, 2023
- Automated Identification and Measurement Extraction of Pancreatic Cystic Lesions from Free-Text Radiology Reports Using Natural Language ProcessingRadiology: Artificial Intelligence, 2022
- Automating Stroke Data Extraction From Free-Text Radiology Reports Using Natural Language Processing: Instrument Validation StudyJMIR Medical Informatics, 2021
- Using a knowledge graph data structure to analyze text documents (VAST challenge 2014 MC1)2014
- Text Mining in Medicine2013
- Towards recurrent neural networks language models with linguistic and contextual features2012
- Information Extraction from Text2012
- Experiments on extracting structural information from paper documents using syntactic pattern analysis2002