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?

Currently submitted to: Journal of Medical Internet Research

Date Submitted: Feb 4, 2026
Open Peer Review Period: Feb 5, 2026 - Apr 2, 2026
(currently open for review)

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.

An Electronic Medical Record-Embedded Large Language Model for Acute Pancreatitis Diagnosis, Severity, and Prognosis

  • Jin-Yan Zhang; 
  • Yi-Chen Sui; 
  • Li-Ping Sheng

ABSTRACT

Background:

Early diagnosis, accurate severity assessment of acute pancreatitis (AP), and prediction of progression to severe acute pancreatitis (SAP) are critical. We evaluated an electronic medical record (EMR)-embedded large language model (LLM) for these tasks.

Methods:

The LLM reviewed earliest AP hospitalization records of 261 adults and answered three prompts (diagnosis, severity, and risk of progression to SAP).

Results:

224 (85.8%) had mild AP (MAP), 30 (11.5%) moderately SAP (MSAP), and 7 (2.7%) SAP. The LLM diagnosed AP with 89.3% sensitivity and 100.0% positive predictive value (PPV). Severity classification was inconsistent (MAP sensitivity 49.1%, MSAP 66.7%, SAP 42.9%). For progression prediction from initial MAP, the LLM showed high sensitivity (87.5%) but low accuracy (26.8%); Bedside index for severity in acute pancreatitis (BISAP) had higher accuracy (95.5%) but low sensitivity (12.5%). In MSAP, the LLM sensitivity was 85.7% versus BISAP 0%.

Conclusions:

An EMR-embedded LLM can detect AP and identify many who progress to SAP, but specificity and severity classification require improvement.


 Citation

Please cite as:

Zhang JY, Sui YC, Sheng LP

An Electronic Medical Record-Embedded Large Language Model for Acute Pancreatitis Diagnosis, Severity, and Prognosis

JMIR Preprints. 04/02/2026:92866

DOI: 10.2196/preprints.92866

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

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.