Towards Visualizing Electronic Medical Records via Natural Language Queries

📅 2025-06-15
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Electronic medical records (EMRs) contain heterogeneous structured and unstructured data, posing significant challenges for visual modeling; moreover, high-quality annotated datasets for medical visualization are scarce and prohibitively expensive to construct. Method: This paper proposes a zero-annotation, large language model–driven paradigm for synthetic visual data generation, introducing MedicalVis—the first large-scale EMR text-to-visualization benchmark dataset comprising 35,374 diverse (text, chart) pairs. We further release a dedicated evaluation framework and present MedCodeT5, a specialized model fine-tuned for natural language–driven statistical chart generation. Results: MedCodeT5 substantially outperforms existing baselines on this task. MedicalVis establishes a standardized, open-source benchmark for medical visualization research, enabling rigorous evaluation and fostering the deployment of interpretable AI and clinical decision support systems in real-world healthcare settings.

Technology Category

Application Category

📝 Abstract
Electronic medical records (EMRs) contain essential data for patient care and clinical research. With the diversity of structured and unstructured data in EHR, data visualization is an invaluable tool for managing and explaining these complexities. However, the scarcity of relevant medical visualization data and the high cost of manual annotation required to develop such datasets pose significant challenges to advancing medical visualization techniques. To address this issue, we propose an innovative approach using large language models (LLMs) for generating visualization data without labor-intensive manual annotation. We introduce a new pipeline for building text-to-visualization benchmarks suitable for EMRs, enabling users to visualize EMR statistics through natural language queries (NLQs). The dataset presented in this paper primarily consists of paired text medical records, NLQs, and corresponding visualizations, forming the first large-scale text-to-visual dataset for electronic medical record information called MedicalVis with 35,374 examples. Additionally, we introduce an LLM-based approach called MedCodeT5, showcasing its viability in generating EMR visualizations from NLQs, outperforming various strong text-to-visualization baselines. Our work facilitates standardized evaluation of EMR visualization methods while providing researchers with tools to advance this influential field of application. In a nutshell, this study and dataset have the potential to promote advancements in eliciting medical insights through visualization.
Problem

Research questions and friction points this paper is trying to address.

Visualizing EMRs via natural language queries efficiently
Overcoming manual annotation costs for medical visualization data
Generating EMR visualizations using LLMs without intensive labor
Innovation

Methods, ideas, or system contributions that make the work stand out.

LLMs generate EMR visualization data automatically
Pipeline creates text-to-visual benchmarks for EMRs
MedCodeT5 model excels in NLQ-based visualization
🔎 Similar Papers
No similar papers found.
Haodi Zhang
Haodi Zhang
Associate Professor of CS, Shenzhen University, China
AIKnowledge RepresentationNLP
S
Siqi Ning
College of Computer and Software Engineering, Shenzhen University, Shenzhen, China
Q
Qiyong Zheng
School of Mathematical Sciences, Shenzhen University, Shenzhen, China
J
Jinyin Nie
College of Computer and Software Engineering, Shenzhen University, Shenzhen, China
L
Liangjie Zhang
College of Computer and Software Engineering, Shenzhen University, Shenzhen, China
Weicheng Wang
Weicheng Wang
Research assistant, Purdue University
SecurityNetwork
Yuanfeng Song
Yuanfeng Song
Unknown affiliation
NLP4DataData VisualizationText2SQLLLM