Skip to content
Open access

Evaluating RAG Configurations for Clinical Information Extraction from EHR Notes: Aged Care Case Study

Sep 2026 · Journal of Healthcare Informatics Research · 0 citations · 23 references

TL;DR

Empirical evidence is provided on how retrieval, embedding, and prompting choices influence clinical information extraction performance and practical guidance is offered for researchers and healthcare informatics practitioners seeking to optimise retrieval-augmented large language model systems for extracting clinically meaningful information from unstructured aged care records.

Abstract

Clinical information extraction from unstructured electronic health records is important for supporting clinical decision making and healthcare research. However, large language models can struggle to accurately extract domain-specific information without effective adaptation. Retrieval-augmented generation offers a promising approach, but the optimal configuration for clinical information extraction remains unclear. This study evaluated different retrieval-augmented generation configurations for extracting frailty index items, malnutrition risk factors, and agitation in dementia from clinical notes collected from 40 Australian residential aged care facilities. We compared general and biomedical embedding models, LangChain and LlamaIndex retrieval frameworks, top-k values of 1, 5, 10, 15, and 20, and one to five few-shot examples using Llama-3.1-8B-Instruct. Performance was evaluated using accuracy, precision, recall, and F1 score. The best results were achieved using LangChain with the BAAI/bge-m3 embedding model, three-shot prompting, and a top-k value of five. This configuration achieved F1 scores of 97.08% for frailty index extraction, 97.14% for malnutrition risk factor extraction, and 90.52% for agitation in dementia extraction. These findings provide empirical evidence on how retrieval, embedding, and prompting choices influence clinical information extraction performance. The study offers practical guidance for researchers and healthcare informatics practitioners seeking to optimise retrieval-augmented large language model systems for extracting clinically meaningful information from unstructured aged care records.

Read PDF

Similar papers

Open access Sep 2026

A Scalable Method for Validated Data Extraction from Electronic Health Records with Large Language Models

Health care organizations increasingly require structured, patient-level clinical variables for treatment decisions, operational workflows, quality measurement, and clinical trial screening. Relevant information is often fragmented across heterogeneous electronic health record (EHR) systems, unstructured formats, a...

Timothy J. Stuhlmiller, AJ Rabe, Jeff Rapp et al. · 0 citations
#large language models Open access Sep 2026

A multi-site benchmarking framework for scalable extraction of geriatric care constructs from electronic health records

Findings highlight key trade-offs among symbolic, generative, and instruction-tuned approaches for CGA and 4Ms phenotyping, suggesting that hybrid heuristic-LLM methods offer interpretability and stability, whereas large language models provide greater adaptability for complex clinical narratives.

Sun-Yang Fu, M. J. Kwak, J. Ahn et al. · 0 citations
Review Open access Sep 2026

From electronic health records to real-world evidence: Savana Next-Generation Registry digital solution

Background The secondary use of electronic health records (EHRs) offers a major opportunity to generate real-world evidence (RWE) to complement clinical trials and support regulatory and clinical decision making. However, a large proportion of clinically relevant information remains embedded in unstructured text, limit...

J. Marin-Corral, N. Iglesias, S. Menke et al. · 0 citations
Preprint Sep 2026

A Living Benchmark for Information Retrieval from Electronic Health Records

A scalable framework that automatically generates question--answer pairs from longitudinal EHR notes that supports evaluations that static benchmarks cannot, including the generation of multiple answers that reflect variation in clinician reasoning for robust performance assessment and continuously refreshing benchmark...

J. Cahoon, C. Stanwyck, Sulaiman Somani et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.