Mapping Clinical Intent in Internet Hospitals: Identifying and Profiling Patient Demand via Natural Language Processing.
Ruoxin Xu, Jing Liu, Huizi Ye, Tingting Yang, Kuanlie Jiang, Xiaojiao Zhu
Yuebei People's Hospital Affiliated to Shantou University Medical College, Shaoguan, Guangdong, China. · Hainan Medical University, Haikou, Hainan, China.
Key points
From the paper's conclusion- These findings indicate that, within the studied Chinese hospital setting, fine-tuned task-specific models may offer superior utility over general LLMs for clinical triage, with the performance gap widening under domain shift-though multicenter prospective validation is required to establish generalizability.
Abstract
Patient-generated text in internet hospitals represents a massive but unstructured source of clinical demand. Misalignment between rigid administrative menus and actual patient intent leads to triage inefficiency and resource mismatches. We developed a hybrid artificial intelligence framework to decode patient needs and optimize service allocation using real-world data from a tertiary internet hospital, with external validation on an independent multihospital dataset (N = 497). In this study, we analyzed 28,851 inquiries from a tertiary internet hospital using a 2-stage approach: (a) unsupervised K-Means clustering to discover intrinsic intent taxonomies, and (b) supervised classification using a fine-tuned MacBERT model. We benchmarked this specialized small model against traditional baselines and state-of-the-art large language models (LLMs; Qwen2.5 and HuatuoGPT-II) on a gold-standard dataset of 4,814 annotated records. Unsupervised analysis identified 8 distinct patient intents, revealing substantial semantic overlap between rehabilitation and follow-up requests. The fine-tuned MacBERT model achieved a weighted F1-score of 0.680, outperforming both the medical-specific LLM (F1 = 0.595) and the general LLM (F1 = 0.585). External validation on an independent nationwide platform dataset (N = 497) confirmed cross-platform transferability, with the hybrid learning framework achieving a weighted F1 of 0.578 versus 0.389 (Qwen2.5-7B) and 0.190 (HuatuoGPT-II). Departmental analysis exposed distinct "demand fingerprints": 39% of Neurology inquiries focused on prescription renewals, whereas 68% of Dermatology inquiries involved initial symptom consultations. These findings indicate that, within the studied Chinese hospital setting, fine-tuned task-specific models may offer superior utility over general LLMs for clinical triage, with the performance gap widening under domain shift-though multicenter prospective validation is required to establish generalizability. Mapping intent fingerprints across specialties provides a quantifiable basis for restructuring digital hospital operations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Exploring internet hospital patient demand patterns from online consultation content using text clustering.BMC health services research · 2026
- Complaint Driven Clinical Guidance and ICD Chapter Suggestion: An AI‐Based Text Classification ToolJournal of Evaluation in Clinical Practice · 2026
- MAP: evaluation and multi-agent enhancement of large language models for inpatient pathwaysnpj Health Systems · 2026
- PVminer: a domain-specific tool to detect the patient voice in patient generated dataScientific Reports · 2026
- Online physician recommendation with dynamic capacity and semantic similarity: A primal-dual optimization framework.PloS one · 2026
- Cloud vs. on-premise large language models for urgent patient-portal message screening: a comparative evaluationnpj Digital Medicine · 2026