Risk Factors for Gastrointestinal Bleeding in Patients With Acute Myocardial Infarction: Multicenter Retrospective
Yanqi Kou1, Shicai Ye1, Yuan Tian1,2
1Department of Gastroenterology, Affiliated Hospital of Guangdong Medical University, Zhanjiang, China.
Insights
A machine learning model effectively predicts gastrointestinal bleeding in acute myocardial infarction patients, identifying key risk factors like red blood cell count and coronary heart disease for early intervention.
Area of Science:
- Cardiology
- Medical Informatics
- Machine Learning in Healthcare
Background:
- Gastrointestinal bleeding (GIB) is a serious complication for acute myocardial infarction (AMI) patients, impacting prognosis.
- Early identification of high-risk individuals is crucial for improved outcomes and clinical decision-making.
Purpose of the Study:
- Develop and validate a machine learning (ML) model to predict in-hospital GIB in AMI patients.
- Identify key risk factors for GIB in this population.
- Assess the model's clinical utility for risk stratification and decision support.
Main Methods:
- Retrospective cohort study of 1910 AMI patients (training/testing) and external validation using MIMIC-IV data.
- Boruta algorithm for predictor identification; 7 ML algorithms trained and evaluated.
- Model performance assessed using AUC, accuracy, sensitivity, specificity, F1-score, and decision curve analysis.
Main Results:
- Random Forest (RF) model achieved AUC of 0.77 (training/testing) and 0.75 (validation).
- Key predictors included red blood cell count, hemoglobin, maximal myoglobin, hematocrit, and coronary heart disease (CHD).
- CHD identified as an independent risk factor for GIB (OR 2.79).
Conclusions:
- The ML-based RF model offers a robust, clinically applicable tool for predicting in-hospital GIB in AMI patients.
- The model utilizes readily available data for early risk stratification and personalized prevention.
- No significant difference in short-term survival was observed between patients with and without GIB.
Background:
Gastrointestinal bleeding (GIB) is a severe and potentially life-threatening complication in patients with acute myocardial infarction (AMI), significantly affecting prognosis during hospitalization. Early identification of high-risk patients is essential to reduce complications, improve outcomes, and guide clinical decision-making.
Objective:
This study aimed to develop and validate a machine learning (ML)-based model for predicting in-hospital GIB in patients with AMI, identify key risk factors, and evaluate the clinical applicability of the model for risk stratification and decision support.
Methods:
A multicenter retrospective cohort study was conducted, including 1910 patients with AMI from the Affiliated Hospital of Guangdong Medical University (2005-2024). Patients were divided into training (n=1575) and testing (n=335) cohorts based on admission dates. For external validation, 1746 patients with AMI were included in the publicly available MIMIC-IV (Medical Information Mart for Intensive Care IV) database. Propensity score matching was adjusted for demographics, and the Boruta algorithm identified key predictors. A total of 7 ML algorithms-logistic regression, k-nearest neighbors, support vector machine, decision tree, random forest (RF), extreme gradient boosting, and neural networks-were trained using 10-fold cross-validation. The models were evaluated for the area under the receiver operating characteristic curve, accuracy, sensitivity, specificity, recall, F1-score, and decision curve analysis. Shapley additive explanations analysis ranked variable importance. Kaplan-Meier survival analysis evaluated the impact of GIB on short-term survival. Multivariate logistic regression assessed the relationship between coronary heart disease (CHD) and in-hospital GIB after adjusting for clinical variables.
Results:
The RF model outperformed other ML models, achieving an area under the receiver operating characteristic curve of 0.77 in the training cohort, 0.77 in the testing cohort, and 0.75 in the validation cohort. Key predictors included red blood cell count, hemoglobin, maximal myoglobin, hematocrit, CHD, and other variables, all of which were strongly associated with GIB risk. Decision curve analysis demonstrated the clinical use of the RF model for early risk stratification. Kaplan-Meier survival analysis showed no significant differences in 7- and 15-day survival rates between patients with AMI with and without GIB (P=.83 for 7-day survival and P=.87 for 15-day survival). Multivariate logistic regression showed that CHD was an independent risk factor for in-hospital GIB (odds ratio 2.79, 95% CI 2.09-3.74). Stratified analyses by sex, age, occupation, marital status, and other subgroups consistently showed that the association between CHD and GIB remained robust across all subgroups.
Conclusions:
The ML-based RF model provides a robust and clinically applicable tool for predicting in-hospital GIB in patients with AMI. By leveraging routinely available clinical and laboratory data, the model supports early risk stratification and personalized preventive strategies.
More Related Videos
Related Concept Videos
Gastritis-II: Pathophysiology
In acute gastritis, the gastric mucosa becomes swollen and red and undergoes superficial erosion. Superficial ulceration may lead to bleeding.
In chronic gastritis, persistent or repeated insults lead to chronic inflammatory changes and, eventually, thinning or atrophy of the gastric tissue.
Gastritis can stem from various causes, each...
Esophageal Varices-I: Introduction
Gastritis III: Clinical Manifestations and Management
Clinical manifestations of acute gastritis
The patient with acute gastritis may have a rapid onset of symptoms, such as epigastric pain or discomfort, dyspepsia, anorexia, hiccups, or nausea and vomiting, which can last from a few hours to a few days. Erosive or hemorrhagic gastritis may cause bleeding, which may manifest as blood in vomit or as...
Blood Studies for Cardiovascular System I: Cardiac Biomarkers
The essential diagnostic tools for detecting myocardial necrosis and monitoring individuals suspected of having acute coronary syndrome (ACS) include:
Troponins
Troponins, particularly cardiac troponins I and T, are the most precise and sensitive markers of myocardial injury. They are detectable within 4-6 hours of myocardial injury and remain...
Esophageal Varices-II: Clinical Features and Management
In the initial assessment, a thorough review of the patient's medical history is vital to identify risk factors such as liver disease, alcohol...
Peptic Ulcer Disease I: Introduction
An acute ulcer, marked by superficial erosion and minimal inflammation, swiftly resolves upon identifying and addressing the underlying cause. In contrast, a chronic ulcer persists, potentially eroding through the muscular wall and forming fibrous tissue.
Peptic ulcers can also be...


