Visual abstractsVisuals
ResearchJournal of Medical Internet Research · Jul 9, 2026

Generating Question Prompt Lists From Electronic Health Record Data Using Large Language Models: Iterative Evaluation Study

He Z, Bhasuran B, Lustria MLA, Hanna K, Killian M, Shavor C, et al
Digital Health & AIAdult
Read the full paper free at PubMed Central ↗

Abstract

Background Patients frequently access laboratory results through patient portals, but many struggle to interpret these values and formulate relevant questions for their clinicians. Question prompt lists (QPLs) can enhance communication but are rarely tailored to individual clinical contexts. Objective This study evaluated the feasibility of using large language models (LLMs) to generate patient-friendly, clinically relevant questions grounded in electronic health record (EHR) laboratory data. Methods We extracted deidentified clinical profiles, including laboratory results, diagnoses, and medications, from patients with chronic conditions (eg, diabetes and chronic kidney disease). Using 9 deidentified clinical profiles from the OneFlorida Data Trust, we generated 486 questions across all rounds: 126 with GPT-4o in round 1, 120 with GPT-4o in round 2, 180 with GPT-4o in round 3, and 60 with LLaMA 3.2 in round 3. Prompt refinements were informed by clinician ratings consisting of 2 binary questions (ie, clear phrasing and clinical validity) and 3 Likert-scale questions (ie, significance for the patient's health; clinical appropriateness, that is, the likelihood of being asked in primary care setting; and willingness to answer). Refinements were incorporated after each round. Patient participants then evaluated selected questions for understandability, perceived usefulness, and intention to use. Readability was assessed with standard indices. Results Iterative clinician feedback improved question clarity and reduced clinically irrelevant suggestions. Across rounds, GPT-4o consistently produced more coherent and patient-friendly questions, while LLaMA 3.2 demonstrated competitive performance on Likert-scale metrics. It exhibited greater variability in clinical appropriateness as noted by clinicians. In round 3, the binary metric "clear phrasing" reached a ceiling effect for both models, while clinical validity ratings showed greater variability, particularly from one clinician. Likert-scale evaluations tended to favor LLaMA 3.2 across all 3 clinicians for clinical appropriateness (3.37-4.82 vs 3.02-4.67), significance for the patient's health (3.38-4.28 vs 2.97-3.83), and willingness to answer (3.17-4.70 vs 2.82-4.47), with multiple comparisons reaching statistical significance after Bonferroni correction. Patient evaluation (N=134) of GPT-4o-generated questions showed that 25 of 30 questions had moderate to high understandability (average Likert score ≥3.5), and 19 of 30 questions had moderate to high usefulness (average Likert score ≥3.5). Conclusions This study supports the feasibility of using LLMs with structured EHR-derived laboratory data to generate contextualized QPLs, but model outputs varied in clinical appropriateness and readability. Clinician-in-the-loop review remains necessary before patient-facing use.

Topics

Electronic Health Records; Large Language Models; Humans

DOI: 10.2196/87280 · PubMed: 42424593

Spotted a mistake? Suggest a correction

More in Digital Health & AI

ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI

ClinicalAge biomarker associated with mortality and disease risk in UK datasets

ClinicalAge, a framework for modelling ageing trajectories from longitudinal electronic health records in the UK: a model development and validation study

ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI

Facial photographs used to estimate age and predict survival in cancer patients

Foundation artificial intelligence models for health recognition by use of face photographs (FAHR-Face): a model development and validation study

ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI

New model predicts severe fetal compromise risk at birth with 33.4% sensitivity

A prognostic model for use at labour onset to estimate the risk of severe fetal compromise at birth: a retrospective, model development and validation study

ResearchNPJ Digit Med · Nov 21, 2026 · Digital Health & AI

ECG foundation models performed well on general data but less so on athletes' data

ECG foundation models for cardiovascular screening in a cohort of young competitive athletes

ResearchJ Med Internet Res · Nov 20, 2026 · Digital Health & AI

Six large language models showed similar question-answering accuracy on medical exam questions

Medical Reasoning in Large Language Models: Development and Evaluation of the MedEvalArena Benchmark