Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Previously submitted to: JMIR Mental Health (no longer under consideration since Mar 01, 2026)

Date Submitted: Feb 28, 2026

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

Assessing the Effectiveness of Large Language Model GPT-4 Web Interface in Clinical Diagnosis: Applied Research on Mental Health Clinical Text Data

  • Jie   Min ; 
  •  Dapeng   Kuang ; 
  • Yangyang  Sun ; 
  • Miaomiao   Yao ; 
  •  Qiuying  Chen 

ABSTRACT

Background:

With large language models (LLMs) like GPT-4 now widely accessible to clinicians via public web interfaces, it is crucial to evaluate their practical utility in real-world workflows. This study presents a real-world use evaluation of the GPT-4 web interface, simulating how clinicians might use this "off-the-shelf" tool to extract key diagnostic information from complex psychiatric electronic medical records (EMRs). Our objective was to assess the fundamental capabilities of this widely available tool in a zero-code, clinically-focused scenario, rather than conducting a technical evaluation requiring API development or model fine-tuning.

Objective:

This study aimed to systematically evaluate the diagnostic performance of GPT-4 in extracting key diagnostic information from real-world mental health clinical text data. Specifically, we intended to assess its accuracy in identifying core mental health disorders and compare its performance with the diagnostic conclusions of senior psychiatrists to verify its practical utility in clinical workflows.

Methods:

We conducted a comprehensive analysis using GPT-4 to classify EMRs into schizophrenia and varying levels of depression severity (mild, moderate, severe). The model's performance was evaluated using multiple metrics including accuracy, precision, recall, F1 score, specificity, Matthews correlation coefficient, and Cohen’s kappa score. Diagnostic efficacy and reliability were assessed by comparing GPT-4’s outputs with professional physician diagnoses.

Results:

The model demonstrated high accuracy (0.911) and precision (0.930) in distinguishing schizophrenia from depressive episode. However, its performance in determining depressive episode severity was weaker, with an accuracy of 0.496. Misclassification was most prevalent in mild and severe cases, which were often categorized as moderate depressive episode. GPT-4’s diagnostic discrepancies were attributed to symptom overlap and differences in subjective interpretation.

Conclusions:

The GPT-4 web interface demonstrates significant potential as an assistive tool for clinicians, capably extracting key diagnostic information from complex, unstructured psychiatric EMRs. However, the inherent limitations of a public web interface—namely the lack of reproducibility and parameter control—mean it should not be relied upon as a standalone diagnostic instrument. Its current value lies in its role as an efficient information extraction and summarization assistant for clinical workflows. Future research should progress beyond web interfaces to utilize controlled API environments, allowing for systematic evaluation, optimization, and the development of more reliable and clinically-integrated AI applications.


 Citation

Please cite as:

 Min  J,  Kuang  Â, Sun  Y,  Yao  M, Chen  Â

Assessing the Effectiveness of Large Language Model GPT-4 Web Interface in Clinical Diagnosis: Applied Research on Mental Health Clinical Text Data

JMIR Preprints. 28/02/2026:94372

DOI: 10.2196/preprints.94372

URL: https://preprints.jmir.org/preprint/94372

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.