Background: Acute kidney injury (AKI) in critically ill patients is often complicated by arrhythmias, potentially affecting outcomes. This study aimed to develop predictive models for arrhythmias in AKI patients and assess the impact of antiarrhythmic drugs on in-hospital mortality. Methods: We conducted a multi-database retrospective cohort study using MIMIC-IV and eICU databases. XGBoost and Bayesian Information Criterion (BIC) models were employed to identify key predictors of arrhythmias. Weighted log-rank and Cox analysis evaluated the effect of amiodarone and metoprolol on in-hospital mortality. Results: Among 14,035 critically ill AKI patients, 5614 individuals (40%) developed arrhythmias. Both XGBoost and BIC showed predictive power for arrhythmias. The XGBoost model identified HR_max, HR_min, and heart failure as the most important features, while the BIC model highlighted heart failure had the highest odds ratio (OR 1.18, 95% CI 1.16-1.20) as a significant predictor. Patients experiencing arrhythmia is associated with in-hospital mortality (arrhythmia group: 636 (11.3%) vs. non-arrhythmia group: 587 (7.0%), p < 0.01). Antiarrhythmic medications showed a statistically significant effect on in-hospital mortality (amiodarone: HR 0.28, 95% CI 0.19-0.41, p < 0.01). Conclusions: Our predictive models demonstrated a robust discriminatory ability for identifying arrhythmia occurrence in critically ill AKI patients, with identified risk factors showing strong clinical relevance. The significant association between arrhythmia occurrence and increased in-hospital mortality underscores the clinical importance of early identification and management. Furthermore, amiodarone therapy effectively reduced the risk of in-hospital mortality in these patients, even after accounting for time-dependent biases. The findings highlight the necessity of precise arrhythmia definition, careful consideration of time-dependent covariates, and comprehensive model validation for clinically actionable insights.
Keywords: Bayesian information criterion; XGBoost; acute kidney injury; antiarrhythmic medications; arrhythmias; in-hospital mortality.