arXiv:2611.00605cs.AIOct 2026

Manuscript Offprint

arXiv:2611.00605

Conversational Interaction for LLM-Based Clinical Text-to-SQL: A User Study with Healthcare Professionals

Jun-Min Lee, Suyoung Yoo, Gyubok Lee, Edward Choi, Meong Hi Son

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Conversational text-to-SQL interfaces could give healthcare professionals natural-language access to electronic health record (EHR) data, but evidence for their real-world usability remains limited: prior evaluations have relied largely on curated benchmarks with fully specified questions or on simulated users. We report a user study in which 14 physicians who regularly work with EHR data used both a single-turn and a conversational multi-turn text-to-SQL interface over the MIMIC-IV database in a within-subjects design; dialogue analyses additionally drew on interaction logs from 21 healthcare professionals across the main study and two pilot studies. The conversational interface was consistently favored: mean System Usability Scale scores rose from 68.2, near the industry average, to 85.9 (p<0.001p < 0.001), with significant advantages across technology-acceptance constructs including performance expectancy, effort expectancy, self-efficacy, and behavioral intention. In post-study forced-choice comparisons, 93% of participants reported greater overall satisfaction with the conversational interface, 86% preferred it for real-world adoption, and 71% trusted its results more; no participant preferred or trusted the single-turn interface more. Turn-level analysis of 425 logged user turns showed that freely composed queries triggered clarification requests in 24.8% of cases versus 1.8% for predefined, fully specified questions, and 64.3% of clarification episodes stemmed from EHR- or clinical-domain knowledge. Conversational interaction is a practical prerequisite, rather than a convenience, for natural-language EHR access. The frequent need for clarification in realistic clinical queries further underscores the importance of conversational interfaces, while benchmark-style evaluation can substantially underrepresent the ambiguity of real clinical use.

Keywords: text-to-SQL, electronic health records (EHR), conversational agents, large language models (LLM), usability evaluation, human-AI interaction

1 Introduction

Electronic Health Records (EHRs) hold decades of longitudinal clinical data with substantial value for clinical research, quality improvement, and decision support [1, 2]. In practice, however, these data remain difficult to access: they are distributed across complex relational schemas with numerous interconnected tables, heterogeneous structures, and incompletely standardized terminology [3, 4]. Extracting a patient cohort can require both Structured Query Language (SQL) proficiency and detailed knowledge of the underlying database, creating barriers for healthcare professionals without database expertise [3, 5]. Natural-language interfaces could reduce these barriers by allowing users to express their information needs without writing SQL directly.

As Large Language Models (LLMs) have rapidly advanced in natural language understanding, reasoning, and code generation, interest in text-to-SQL systems that translate natural language questions into executable SQL queries has grown substantially. Building on early neural semantic parsers and large-scale benchmarks [6, 7], recent LLM-based systems approach expert-level accuracy on complex database schemas [8, 9]. Alongside these advances, healthcare text-to-SQL systems have evolved from single-turn querying [10, 11] toward conversational multi-turn interaction [12], raising the prospect of natural language access to EHR data for users without database expertise [13, 14]. Despite these advances, evaluation has remained predominantly benchmark-based, with an emphasis on SQL generation and execution accuracy [11, 15]. How healthcare professionals actually experience such interfaces—whether they can express their information needs, resolve misunderstandings, trust the returned answers, and would adopt these tools in practice—remains largely unexamined, leaving a gap between benchmark performance and real-world usability [16].

This gap matters because questions posed in real use may differ substantially from the fully specified questions found in text-to-SQL benchmarks. Naturally expressed information needs are frequently ambiguous [17, 18], making clarification an important mechanism for recovering the user's true intent [19, 20]. However, existing medical text-to-SQL studies have largely evaluated systems on fully specified queries with ambiguity removed in advance [10–12]. The recently proposed EHR-ChatQA benchmark [21] takes a step toward closing this gap by evaluating agents that resolve ambiguity through dialogue, but it relies on LLM-simulated users. It therefore remains unknown how often clarification is needed when healthcare professionals formulate their own EHR questions, what triggers it, and whether conversational interaction translates into greater usability and trust in practice.

Here we report, to our knowledge, the first user study evaluating conversational text-to-SQL for EHR data with real healthcare professionals rather than simulated users. In the main study, 14 physicians who regularly work with EHR data used both a single-turn and a conversational multi-turn interface over the MIMIC-IV database [22] in a within-subjects design. For the dialogue analysis, we additionally analyzed all interaction logs from the main study and two pilot studies, comprising dialogues from 21 healthcare professionals, including physicians, nurses, and clinical data-team members. The conversational interface was consistently favored: mean System Usability Scale (SUS) [23] scores increased from 68.2 to 85.9, with significant advantages across multiple Unified Theory of Acceptance and Use of Technology (UTAUT) [24] constructs, and no participant preferred or trusted the single-turn interface more. Turn-level analysis further showed that freely composed clinician queries triggered clarification in 24.8% of cases, compared with 1.8% for predefined, fully specified questions, and that 64.3% of clarification episodes arose from EHR- or clinical-domain knowledge. Together, these findings suggest that conversational interaction is not merely a usability convenience but a core capability for natural language access to EHR data. They further indicate that benchmark-style evaluation can substantially underrepresent the ambiguity encountered in real use, and that the identified sources of clarification provide concrete targets for the design and evaluation of future clinical text-to-SQL systems.