Identifying Diagnostic Breakdowns in Patient Experience Survey Comments Using Natural Language Processing: An Evaluation Study.

BACKGROUND Patient experience surveys may contain signals of diagnostic breakdowns that are difficult to identify through conventional safety surveillance. Natural language processing (NLP) may enable these narratives to be analyzed at scale. OBJECTIVE To develop and evaluate three increasingly context-sensitive NLP approaches for identifying patient-perceived diagnostic breakdowns in ambulatory patient experience survey comments and to explore the potential of prompt-engineered large language models (LLMs) for this task. METHODS We analyzed 523 free-text comments from a 2023 ambulatory patient experience survey at a Canadian academic community hospital. Comments were manually coded using a structured framework to establish a finalized reference standard. Three sequential approaches were developed: a TF-IDF-based XGBoost classifier (Phase I), a fine-tuned Twitter-RoBERTa model (Phase II), and a locally deployed LLaMA 3.3 70B model refined through iterative expert-guided prompt development (Phase III). Phases I and II were evaluated using 5×5 nested stratified cross-validation. Phase III was refined and evaluated on the full dataset and therefore represents development-set rather than independent held-out performance. RESULTS Following expert review, 51 of 523 comments (9.8%) were classified as diagnostic breakdowns. Compared with Phase I, Phase II showed higher recall (0.767 vs 0.626), F1 score (0.620 vs 0.548), AUROC (0.921 vs 0.810), and AUPRC (0.564 vs 0.490). In Phase III, iterative prompt refinement reduced over-classification of general experiential complaints. The final prompt achieved recall of 0.961, precision of 0.803, specificity of 0.975, and an F1 score of 0.875 on the development dataset. CONCLUSIONS Patient-authored survey narratives are an underused source of information for diagnostic safety and quality improvement. Context-sensitive NLP approaches may improve detection of subtle diagnostic concerns, and the strong development-set performance of the prompt-engineered LLM supports further study. External validation and prospective evaluation within diagnostic-safety workflows are needed before broader implementation. CLINICALTRIAL

Link
https://www.semanticscholar.org/paper/38a6213abe276dbff0eb49f18670071c2b645ca4
Found by
Semantic Scholar
Authors
Yi-Yang Qu, Mary A. Hill, Azade Tabaie, Ke-Wei Ni, S. Kazi, T. Giardina, Helen Haskell, Kristen E. Miller, Kelly M. Smith
Categories
evaluation, dataset
Published
2026-10-28
Last seen by the radar
2026-10-30
Citations
0
Influential citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Matched: dataset, evaluat; Primary record: Semantic Scholar
Related links
https://doi.org/10.2196/98901
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar