Evaluating LLM Abilities to Understand Tabular Electronic Health Records: A Comprehensive Study of Patient Data Extraction and Retrieval

Jesus Lovon, Martin Mouysset, Jo Oleiwan, Jose G. Moreno, Christine Damase-Michel +1 more
1/16/2025
cs.CLcs.IR

No official code found. Best implementation: jeslev/llm-patient-ehr (3 stars, MIT, last commit 2025-04-03).

Abstract

Electronic Health Record (EHR) tables pose unique challenges among which is the presence of hidden contextual dependencies between medical features with a high level of data dimensionality and sparsity. This study presents the first investigation into the abilities of LLMs to comprehend EHRs for patient data extraction and retrieval. We conduct extensive experiments using the MIMICSQL dataset to explore the impact of the prompt structure, instruction, context, and demonstration, of two backbone LLMs, Llama2 and Meditron, based on task performance. Through quantitative and qualitative analyses, our findings show that optimal feature selection and serialization methods can enhance task performance by up to 26.79% compared to naive approaches. Similarly, in-context learning setups with relevant example selection improve data extraction performance by 5.95%. Based on our study findings, we propose guidelines that we believe would help the design of LLM-based models to support health search.

View on arXivView PDF

Code Implementations(1)

MIT
30PythonJan 14, 20251 years agoMIT

Similar Papers

Cite this paper

@article{lovon2025evaluating,
  title  = {Evaluating LLM Abilities to Understand Tabular Electronic Health Records: A Comprehensive Study of Patient Data Extraction and Retrieval},
  author = {Jesus Lovon and Martin Mouysset and Jo Oleiwan and Jose G. Moreno and Christine Damase-Michel and Lynda Tamine},
  year   = {2025},
  eprint = {2501.09384},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.09384v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.09384.svg)](https://codeofpaper.com/paper/2501.09384)

Discussion