Association between albumin-corrected anion gap and delirium in acute pancreatitis: insights from the MIMIC-IV database
- PMID: 40764528
- PMCID: PMC12323127
- DOI: 10.1186/s12876-025-04150-0
Association between albumin-corrected anion gap and delirium in acute pancreatitis: insights from the MIMIC-IV database
Abstract
Background: Delirium frequently occurs as a severe complication among patients with acute pancreatitis (AP), contributing to extended hospital stays, higher mortality rates, and lasting cognitive deficits. The pathogenesis of delirium in this setting is strongly influenced by metabolic abnormalities, including disturbances in electrolyte balance and widespread inflammation. Although the albumin-corrected anion gap (ACAG) is a recognized indicator of metabolic dysfunction, its relevance to delirium in AP patients has not been adequately investigated.
Methods: This study utilized patient records from the MIMIC-IV database to investigate how ACAG relates to the onset of delirium in individuals with acute pancreatitis. Analytical approaches included the use of summary statistics, Kaplan-Meier survival analyses, receiver operating characteristic (ROC) curve evaluation, and both univariable and multivariable Cox proportional hazards models. To capture potential nonlinear effects, restricted cubic spline (RCS) modeling was implemented. Subgroup analyses were conducted to examine possible demographic and clinical effect modifiers. Additionally, several machine learning algorithms-such as the Random Forest-were employed to further evaluate the predictive power of ACAG.
Results: Elevated levels of ACAG were independently linked to an increased likelihood of developing delirium during both the 28-day hospitalization period and throughout the ICU stay. Results from the multivariable Cox proportional hazards analysis indicated that each incremental rise in ACAG was associated with a greater risk of delirium (hazard ratio: 1.06, 95% confidence interval: 1.02-1.10, p < 0.001). The application of restricted cubic spline modeling verified the linear nature of this association. Among the machine learning models, the Random Forest achieved superior predictive accuracy (AUC = 0.81), and SHAP analysis highlighted ACAG as a primary determinant in model prediction.
Conclusions: The ACAG emerged as an independent predictor of delirium among individuals with acute pancreatitis, displaying a linear association with the risk of delirium onset. When compared to other commonly used biomarkers, ACAG exhibited enhanced predictive capacity for identifying patients at risk. These findings suggest that ACAG could serve as a practical clinical marker for the early detection and prompt management of delirium in this patient population.
Keywords: Acute pancreatitis; Albumin-Corrected anion gap; Anion gap; Delirium; Machine learning; Risk prediction.
© 2025. The Author(s).
Conflict of interest statement
Declarations. Ethics approval and consent to participate: The MIMIC-IV database complies with the ethical guidelines outlined in the Declaration of Helsinki and received approval from the Institutional Review Board (IRB) at Beth Israel Deaconess Medical Center (protocol number 2001P-001699/14). The IRB reviewed and authorized both the data acquisition procedures and the development of the research dataset, granting permission for data sharing and waiving the requirement for individual informed consent. Consent for publication: Not applicable. Competing interests: The authors declare no competing interests.
Figures








Similar articles
-
The association between Albumin-Corrected Anion Gap (ACAG) and the risk of acute kidney injury in patients with acute pancreatitis: A retrospective analysis based on the MIMIC-IV database.PLoS One. 2025 Aug 22;20(8):e0330458. doi: 10.1371/journal.pone.0330458. eCollection 2025. PLoS One. 2025. PMID: 40844993 Free PMC article.
-
Association of albumin-corrected anion gap with mortality in ICU patients with heart failure and acute kidney injury: analysis of the MIMIC-IV database.Eur J Med Res. 2025 Aug 13;30(1):745. doi: 10.1186/s40001-025-03035-y. Eur J Med Res. 2025. PMID: 40796876 Free PMC article.
-
Association Between Albumin Corrected Anion Gap and 28-Day All-Cause Mortality in Patients With Acute Respiratory Failure in ICU: A Retrospective Study Based on the MIMIC-IV Database.Clin Respir J. 2025 Jul;19(7):e70100. doi: 10.1111/crj.70100. Clin Respir J. 2025. PMID: 40631543 Free PMC article.
-
Signs and symptoms to determine if a patient presenting in primary care or hospital outpatient settings has COVID-19.Cochrane Database Syst Rev. 2022 May 20;5(5):CD013665. doi: 10.1002/14651858.CD013665.pub3. Cochrane Database Syst Rev. 2022. PMID: 35593186 Free PMC article.
-
Intravenous magnesium sulphate and sotalol for prevention of atrial fibrillation after coronary artery bypass surgery: a systematic review and economic evaluation.Health Technol Assess. 2008 Jun;12(28):iii-iv, ix-95. doi: 10.3310/hta12280. Health Technol Assess. 2008. PMID: 18547499
References
-
- Szendi I. Delirium: a common complication of severe pathological conditions. Orv Hetil. 2014;155(48):1895. 10.1556/oh.2014.30049. - PubMed
-
- Dong Z, Song J, Ge M, Lin C, Zhang J, Chen J, et al. Effectiveness of a multidisciplinary comprehensive intervention model based on the hospital elderly life program to prevent delirium in patients with severe acute pancreatitis. Ann Palliat Med. 2020;9(4):2221–8. 10.21037/apm-20-913. - PubMed
-
- Kealy J, Murray C, Griffin EW, Lopez-Rodriguez AB, Healy D, Tortorelli LS, et al. Acute inflammation alters brain energy metabolism in mice and humans: role in suppressed spontaneous activity, impaired cognition, and delirium. J Neurosci. 2020;40(29):5681–96. 10.1523/jneurosci.2876-19.2020. - PMC - PubMed
MeSH terms
Substances
LinkOut - more resources
Full Text Sources
Medical
Miscellaneous