Leveraging LLMs for Structured Data Extraction from Unstructured Patient Records
Klusty, Mitchell A., Solie, Elizabeth C., Leach, Caroline N., Logan, W. Vaiden, Richey, Lynnet E., Gensel, John C., Szczykutowicz, David P., McLellan, Bryan C., Collier, Emily B., Armstrong, Samuel E., Bumgardner, V. K. Cody
–arXiv.org Artificial Intelligence
Manual chart review remains an extremely time-consuming and resource-intensive component of clinical research, requiring experts to extract often complex information from unstructured electronic health record (EHR) narratives. We present a secure, modular framework for automated structured feature extraction from clinical notes leveraging locally deployed large language models (LLMs) on institutionally approved, Health Insurance Portability and Accountability Act (HIPPA)-compliant compute infrastructure. This system integrates retrieval augmented generation (RAG) and structured response methods of LLMs into a widely deployable and scalable container to provide feature extraction for diverse clinical domains. In evaluation, the framework achieved high accuracy across multiple medical characteristics present in large bodies of patient notes when compared against an expertannotated dataset and identified several annotation errors missed in manual review. This framework demonstrates the potential of LLM systems to reduce the burden of manual chart review through automated extraction and increase consistency in data capture, accelerating clinical research. Introduction Electronic Health Records contain a wealth of unstructured textual data, including physician notes, discharge summaries, and consultation reports. These narrative documents are rich in clinical detail, capturing nuances of patient histories, diagnostic reasoning, treatment responses, and care planning that are often absent from structured fields. However, the unstructured nature of these records presents significant challenges for areas where they are most useful such as clinical decision support, cohort identification for research studies, quality improvement initiatives, and population health analytics. These tasks often require structured, machine-readable information, necessitating reliable extraction of relevant features from the unstructured EHRs.
arXiv.org Artificial Intelligence
Dec-17-2025
- Country:
- North America > United States > Kentucky (0.28)
- Genre:
- Research Report
- Experimental Study (0.68)
- New Finding (0.68)
- Research Report
- Industry:
- Technology: