Evaluating open-source LLMs for dental EMR generation
Electronic medical records impose significant documentation burdens. While proprietary Large Language Models (LLMs) offer automation, they raise data sovereignty and privacy concerns. This study evaluated the feasibility of using locally deployable open-source LLMs (specifically DeepSeek-V3) versus proprietary models for dental EMR generation. A dataset of 190 de-identified dental EMRs was converted into synthetic Mandarin doctor-patient dialogues, serving as a high-context linguistic stress test. Six LLMs—two open-source (DeepSeek-V3, LLaMA-3.1-405B) and four proprietary (GPT-4, GPT-4o, Claude-3.7-Sonnet, Grok-3)—were evaluated using the structured “CRISPE Framework” and a baseline “Basic Prompt”. Assessment utilized a dual-track framework: automated metrics (n = 190) and blinded expert clinical evaluation using a 7-Dimensional Index (7DI) on a stratified subset (n = 50). The CRISPE strategy significantly outperformed the basic prompt across all models (Mean 7DI: 28.86 ± 2.12 vs. 26.91 ± 2.36; p<.001). Under optimized prompting, DeepSeek-V3 achieved a mean 7DI score of 28.76 ± 2.04, and we did not detect statistically significant differences versus GPT-4o (29.22 ± 2.25; p>.05) in this expert-rated sample. One-way ANOVA similarly did not detect overall between-model differences (F = 0.54, p=.744); however, non-significance should not be interpreted as equivalence, and larger prospective evaluations are warranted. Structured prompt engineering is critical for enhancing AI-generated documentation. Open-source models demonstrated clinical performance comparable to proprietary leaders when optimally prompted, though larger validation studies are needed. These preliminary findings suggest the feasibility of privacy-preserving local deployment strategies, offering a potential pathway to democratize AI support in dental institutions without compromising data sovereignty.
Authors
- Wei Zhang (ORCID: https://orcid.org/0000-0003-0094-3722)
- Mengyu Liu (ORCID: https://orcid.org/0000-0003-4155-2189)
- Chunwei Xu
- Hao Wang
- Xin Peng
- Yao Yu
- Bo Yang
- Wenbo Zhang
- Chenfan Xu
- Leyang He
- Wen Du
- Jianan Lin
Institutions
- King University (US)
- University of Electronic Science and Technology of China (CN)
- Capital Medical University (CN)
- ShanghaiTech University (CN)
- Third People's Hospital of Chengdu (CN)
- Xinqiao Hospital (CN)
- Stomatology Hospital (CN)
Publication Details
- Journal
- BMC Oral Health
- Published
- 2026-04-17
- DOI
- https://doi.org/10.1186/s12903-026-08346-y
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00