Javascript must be enabled to continue!
Serum magnesium and adverse prognosis in acute pancreatitis with acute kidney injury: a MIMIC-IV retrospective study
View through CrossRef
Abstract
Acute pancreatitis (AP) concurrent with acute kidney injury (AKI) remarkably elevates the risk of adverse outcomes in affected individuals. Abnormal serum magnesium concentrations have been linked to AKI development across diverse patient populations; however, the prognostic significance of serum magnesium levels at multiple time points (60 days, 90 days, 180 days, and 365 days) remains inadequately explored in AP patients with AKI admitted to the intensive care unit (ICU). This study aimed to assess the dynamic prognostic value of serum magnesium at the aforementioned key time points, clarify its clinical utility for risk stratification in this specific cohort, and investigate prognostic disparities among patients stratified by gender, as well as the presence or absence of diabetes mellitus, congestive heart failure, and pre-existing kidney disease. Study data were extracted from the MIMIC-IV database, which was made publicly available in October 2024. Adult patients (≥ 18 years) diagnosed with AP, who had an ICU length of stay (LOS) exceeding 24 h and complete mortality data, were enrolled. Exclusion criteria included missing serum magnesium measurements, ICU LOS < 24 h, incomplete clinical records, and aberrant survival data. Finally, 492 data samples meeting the inclusion criteria were enrolled in the present study. Serum magnesium levels were stratified into three grades using X-tile software, with stratification thresholds determined based on 60-day survival outcomes. Clinical data were retrieved using SQL and PostgreSQL. Intergroup comparisons were performed using statistical methods including the Wilcoxon rank-sum test, chi-square test, and t-test. Survival analyses were conducted to evaluate the association between serum magnesium levels and prognosis. Univariate Cox regression models were used to initially assess the relationship, and multivariate Cox regression models were constructed to adjust for confounding factors based on key patient characteristics. Among the 492 enrolled patients, males accounted for 53.25%. No statistically significant differences were noted in gender distribution or age across the three groups stratified by serum magnesium levels (
P
> 0.05). The hypermagnesemia group had the longest median ICU length of stay (LOS) (145 h, interquartile range [IQR]: 62–274 h), with intergroup differences approaching statistical significance (H = 5.112,
P
= 0.078). The incidence rates of sepsis and hypertension increased significantly with elevated serum magnesium levels (sepsis: χ² = 11.496,
P
= 0.003; hypertension: χ² = 6.065,
P
= 0.048). Additionally, the utilization rate of continuous renal replacement therapy (CRRT) in the hypermagnesemia group (20.75%) was significantly higher than that in the hypomagnesemia group (9.15%) and normomagnesemia group (11.48%) (χ² = 6.302,
P
= 0.043). In the hypermagnesemia group, serum creatinine, potassium, sodium, and chloride levels were significantly elevated, while serum calcium levels were markedly decreased (all
P
< 0.05). Disease severity scores, including the Sequential Organ Failure Assessment (SOFA) score, Simplified Acute Physiology Score II (SAPS II), and Logistic Organ Dysfunction System (LODS) score, were significantly higher in the hypermagnesemia group compared to the other two groups (all
P
< 0.05). Regarding prognostic outcomes, the hypermagnesemia group had the shortest median survival times at 60, 180, and 365 days, with statistically significant intergroup differences (H-values: 6.75, 6.033, 9.235; all
P
< 0.049). Its 365-day mortality rate (37.74%) was more than twice that of the hypomagnesemia group (18.61%). Kaplan-Meier analysis revealed that the hypermagnesemia group had significantly lower survival rates at all time points compared to the hypomagnesemia group (log-rank test,
P
< 0.05). Multivariate Cox regression analysis indicated that the risk of death gradually increased with rising serum magnesium levels, and hypermagnesemia was associated with a 54% higher risk of 365-day mortality (HR = 1.54, 95% CI: 0.54–4.43). Restricted cubic spline (RCS) analysis demonstrated a significant increase in mortality risk when serum magnesium levels exceeded 1.9 mg/dL. Subgroup analysis confirmed that the association between serum magnesium levels and prognosis was consistent across different subgroups. Furthermore, during the 365-day follow-up, the hypermagnesemia-related mortality risk was significantly elevated in obese patients and those with sepsis (
P
< 0.05). Elevated serum magnesium levels upon ICU admission are closely correlated with increased risks of adverse events and medium- and long-term mortality in patients with acute pancreatitis complicated by acute kidney injury, and can serve as a valuable early clinical indicator for evaluating disease severity and predicting patient prognosis. Abnormally elevated serum magnesium levels effectively reflect the status of severe concomitant organ dysfunction and possess favorable clinical value for disease assessment and prognostic prediction. The stratified cut-off values of serum magnesium established in this study can be applied to early clinical risk stratification and early warning for such patients. Routine dynamic monitoring of serum magnesium is recommended to facilitate early clinical evaluation and risk assessment. Furthermore, it provides a reliable reference for subsequent mechanistic investigations and prospective clinical trials to explore targeted interventions for improving patient outcomes.
Title: Serum magnesium and adverse prognosis in acute pancreatitis with acute kidney injury: a MIMIC-IV retrospective study
Description:
Abstract
Acute pancreatitis (AP) concurrent with acute kidney injury (AKI) remarkably elevates the risk of adverse outcomes in affected individuals.
Abnormal serum magnesium concentrations have been linked to AKI development across diverse patient populations; however, the prognostic significance of serum magnesium levels at multiple time points (60 days, 90 days, 180 days, and 365 days) remains inadequately explored in AP patients with AKI admitted to the intensive care unit (ICU).
This study aimed to assess the dynamic prognostic value of serum magnesium at the aforementioned key time points, clarify its clinical utility for risk stratification in this specific cohort, and investigate prognostic disparities among patients stratified by gender, as well as the presence or absence of diabetes mellitus, congestive heart failure, and pre-existing kidney disease.
Study data were extracted from the MIMIC-IV database, which was made publicly available in October 2024.
Adult patients (≥ 18 years) diagnosed with AP, who had an ICU length of stay (LOS) exceeding 24 h and complete mortality data, were enrolled.
Exclusion criteria included missing serum magnesium measurements, ICU LOS < 24 h, incomplete clinical records, and aberrant survival data.
Finally, 492 data samples meeting the inclusion criteria were enrolled in the present study.
Serum magnesium levels were stratified into three grades using X-tile software, with stratification thresholds determined based on 60-day survival outcomes.
Clinical data were retrieved using SQL and PostgreSQL.
Intergroup comparisons were performed using statistical methods including the Wilcoxon rank-sum test, chi-square test, and t-test.
Survival analyses were conducted to evaluate the association between serum magnesium levels and prognosis.
Univariate Cox regression models were used to initially assess the relationship, and multivariate Cox regression models were constructed to adjust for confounding factors based on key patient characteristics.
Among the 492 enrolled patients, males accounted for 53.
25%.
No statistically significant differences were noted in gender distribution or age across the three groups stratified by serum magnesium levels (
P
> 0.
05).
The hypermagnesemia group had the longest median ICU length of stay (LOS) (145 h, interquartile range [IQR]: 62–274 h), with intergroup differences approaching statistical significance (H = 5.
112,
P
= 0.
078).
The incidence rates of sepsis and hypertension increased significantly with elevated serum magnesium levels (sepsis: χ² = 11.
496,
P
= 0.
003; hypertension: χ² = 6.
065,
P
= 0.
048).
Additionally, the utilization rate of continuous renal replacement therapy (CRRT) in the hypermagnesemia group (20.
75%) was significantly higher than that in the hypomagnesemia group (9.
15%) and normomagnesemia group (11.
48%) (χ² = 6.
302,
P
= 0.
043).
In the hypermagnesemia group, serum creatinine, potassium, sodium, and chloride levels were significantly elevated, while serum calcium levels were markedly decreased (all
P
< 0.
05).
Disease severity scores, including the Sequential Organ Failure Assessment (SOFA) score, Simplified Acute Physiology Score II (SAPS II), and Logistic Organ Dysfunction System (LODS) score, were significantly higher in the hypermagnesemia group compared to the other two groups (all
P
< 0.
05).
Regarding prognostic outcomes, the hypermagnesemia group had the shortest median survival times at 60, 180, and 365 days, with statistically significant intergroup differences (H-values: 6.
75, 6.
033, 9.
235; all
P
< 0.
049).
Its 365-day mortality rate (37.
74%) was more than twice that of the hypomagnesemia group (18.
61%).
Kaplan-Meier analysis revealed that the hypermagnesemia group had significantly lower survival rates at all time points compared to the hypomagnesemia group (log-rank test,
P
< 0.
05).
Multivariate Cox regression analysis indicated that the risk of death gradually increased with rising serum magnesium levels, and hypermagnesemia was associated with a 54% higher risk of 365-day mortality (HR = 1.
54, 95% CI: 0.
54–4.
43).
Restricted cubic spline (RCS) analysis demonstrated a significant increase in mortality risk when serum magnesium levels exceeded 1.
9 mg/dL.
Subgroup analysis confirmed that the association between serum magnesium levels and prognosis was consistent across different subgroups.
Furthermore, during the 365-day follow-up, the hypermagnesemia-related mortality risk was significantly elevated in obese patients and those with sepsis (
P
< 0.
05).
Elevated serum magnesium levels upon ICU admission are closely correlated with increased risks of adverse events and medium- and long-term mortality in patients with acute pancreatitis complicated by acute kidney injury, and can serve as a valuable early clinical indicator for evaluating disease severity and predicting patient prognosis.
Abnormally elevated serum magnesium levels effectively reflect the status of severe concomitant organ dysfunction and possess favorable clinical value for disease assessment and prognostic prediction.
The stratified cut-off values of serum magnesium established in this study can be applied to early clinical risk stratification and early warning for such patients.
Routine dynamic monitoring of serum magnesium is recommended to facilitate early clinical evaluation and risk assessment.
Furthermore, it provides a reliable reference for subsequent mechanistic investigations and prospective clinical trials to explore targeted interventions for improving patient outcomes.
Related Results
Emerging Evidence of IgG4-Related Disease in Pericarditis: A Systematic Review
Emerging Evidence of IgG4-Related Disease in Pericarditis: A Systematic Review
Abstract
Introduction
Immunoglobulin G4-related disease (IgG4-RD) is a recently identified immune-mediated condition that is debilitating and often overlooked. While IgG4-RD has be...
Rethinking Anticoagulation in Kidney Disease and Kidney Transplantation
Rethinking Anticoagulation in Kidney Disease and Kidney Transplantation
BackgroundA clinical dilemma exists in patients with CKD, ESKD, and after kidney transplantation, as they face concurrent risks of both thromboembolic and hemorrhagic complications...
A STUDY OF CLINICAL PROFILE OF ACUTE PANCREATITIS PATIENTS WITH EMPHASIS ON MODIFIED CT SEVERITY INDEX AND SERUM PROCALCITONIN AS MARKERS FOR ASSESING SEVERITY
A STUDY OF CLINICAL PROFILE OF ACUTE PANCREATITIS PATIENTS WITH EMPHASIS ON MODIFIED CT SEVERITY INDEX AND SERUM PROCALCITONIN AS MARKERS FOR ASSESING SEVERITY
Aim: To study the clinical prole of acute pancreatitis patients and MCTSI as an index for predicting severity, I.C.U admissions and mortality of acute pancreatitis cases and also ...
What is the Proper Composition of the Dialysate Magnesium and How Much Magnesium is Removed During Pre-Dilution Online Hemodiafiltration?
What is the Proper Composition of the Dialysate Magnesium and How Much Magnesium is Removed During Pre-Dilution Online Hemodiafiltration?
Aim: The aim of the study was to determine the ideal dialysate magnesium during hemodialysis, knowing that the
solution used is not satisfactory and is often associated with low se...
Investigating The Agreement of Hypomagnesemia Diagnosis in Three Perimeter of Serum, Urine, and Red Blood Cell in Intensive Care Unit: Pilot Study
Investigating The Agreement of Hypomagnesemia Diagnosis in Three Perimeter of Serum, Urine, and Red Blood Cell in Intensive Care Unit: Pilot Study
Background: Magnesium is a vital element in the body involved in biochemical and physiological processes. Magnesium deficiency can lead to serious consequences including cardiac, n...
THU371 Empagliflozin Associated Pancreatitis: A Case Report
THU371 Empagliflozin Associated Pancreatitis: A Case Report
Abstract
Disclosure: A. Poloju: None. P. Majety: None. A.Y. Groysman: None.
Background/Objective: Sodium glucose cotransporter 2 (SGLT2) inhibitors ar...
Resource-efficient technology for the utilization of serpentine technogenic waste with the production of magnesium oxide
Resource-efficient technology for the utilization of serpentine technogenic waste with the production of magnesium oxide
The article discusses the possibility of using serpentine and serpentine waste from Zhitikara deposit for the production of inorganic magnesium compounds: MgSO4, Mg(OH)2 and MgO. T...
CLINICAL ANALYSIS OF III ATRIOVENTRICULAR BLOCK AND SHOCK CAUSED BY ACUTE PANCREATITIS
CLINICAL ANALYSIS OF III ATRIOVENTRICULAR BLOCK AND SHOCK CAUSED BY ACUTE PANCREATITIS
Objectives
Acute pancreatitis is very common, but in this case typical symptoms such as acute and persistent abdominal pain did not occur. The first complaint was...

