- 1Department of Cardiology, The Fourth Hospital of Hebei Medical University, Shijiazhuang, China
- 2Department of Cardiology, Anzhen Hospital Affiliated to Capital Medical University, Beijing, China
- 3School of Basic Medicine, Hebei Medical University, Shijiazhuang, China
Background: Hip fracture is prevalent among older adult patients, which often results in intensive care unit (ICU) admission. When complicated with atrial fibrillation (AF), older adult patients with hip fractures were observed to have a high short-term mortality. However, few studies have focused specifically on such a cohort. This study aimed to develop and validate a nomogram to evaluate the in-hospital mortality risk of such a group in the ICU.
Methods: We enrolled older adult patients with hip fractures complicated by AF in the Medical Information Mart for Intensive Care Database (MIMIC). Logistic regression (LR) and Least Absolute Shrinkage and Selection Operator (LASSO) algorithms were employed to screen features. We further used Extreme Gradient Boosting (XGBoost) based on features selected by LR and LASSO algorithms to assist in identifying the final model-established features. An Electronic Intensive Care Unit Collaborative Research Database (eICU-CRD) was utilized for external validation. The area under curves (AUC), calibration curves, Delong test, decision curve analysis (DCA), net reclassification improvement (NRI), and integrated discrimination improvement (IDI) were performed to evaluate the prediction performance. Ultimately, a visualized nomogram was constructed to provide convenient access for clinicians to evaluate mortality risk.
Results: A total of 308 patients were enrolled in this study. We employed LR and LASSO algorithms to initially screen out 15 and 20 features, respectively. Next, 10 features, which were the intersection of features selected by the above methods, were further utilized to develop an XGBoost model to obtain the rank of feature importance. Finally, eight features were ultimately selected to develop a nomogram by comparing the AUCs of LR models originating from a “feature-adding by the feature rank” strategy. The nomogram exhibited superior predictive performance (AUC:0.834) than conventional scoring systems in the training set, with an AUC of 0.715 in external validation.
Conclusion: Our study constructed a predictive model based on features selected by machine learning approaches to evaluate the in-hospital mortality risk of critically ill patients with hip fractures combined with AF. An accessible nomogram was offered to facilitate clinical decision-making.
Introduction
The rapid aging of the population has raised significant concerns about the quality of life for older adults, particularly in relation to their medical care (1). Hip fracture is typically observed in older adult patients, with a global prevalence of 681.35 per 100,000 population in patients over 55 years, which is associated with 5–8 fold increased chance of death during the first 3 months (2, 3). Approximately one-third of patients suffering from hip fractures succumb within the first postoperative year (4). Several studies have highlighted a high mortality risk among hip fracture patients and regarded those over 60 years old as a definition of older adults (5–7).
Due to a series of complications and advanced age, older people with hip fractures are prone to intensive care unit (ICU) admissions. Atrial fibrillation (AF) is the most prevalent arrhythmia among older adults, affecting 5% of those above 65 years. The prevalence of AF increases over the lifetime, peaking at 10% in older adults aged over 80 years (8). With population aging, this prevalence is expected to increase from 5.2 million in 2010 to 12.1 million in 2030 in America (9, 10). Remarkably, accumulating evidence has indicated that AF significantly contributes to adverse clinical outcomes, such as stroke, cognitive impairment, myocardial infarction (MI), and heart failure, and correlates with a 1.5 to 2.0 fold rise in risk of mortality (11). In addition, as related to aging, AF represents a frequent comorbidity for patients in an ICU. Furthermore, an international cohort study has revealed that AF is a predictor for the detrimental prognosis of senile patients in an ICU, associated with more ischemic, thromboembolic, severe bleeding events, and higher mortality (12). Previous studies suggested that AF is associated with hip fracture by raising the incidence of falls, while hip fracture correlates with a 0.4-fold increased risk of AF (13). Meanwhile, AF is also deemed an independent risk factor for mortality in patients with sustained hip fractures. The prevalence of AF in hip fracture patients was reported as 12–15% (14). Therefore, older adult patients sustaining both AF and hip fractures deserve more clinical attention. Nevertheless, there has been a paucity of studies focusing specifically on this cohort. This highlights an urgent clinical need for the development of predictive models for short-term mortality in this population.
Moreover, AF is a common arrhythmia during the perioperative period, which is related to poor outcomes. Adunsky et al. demonstrated that 1-year mortality in older adult patients undergoing hip fracture repair is significantly increased in patients with postoperative AF (15). Leibowitz et al. also demonstrated a high correlation between perioperative AF and 1-year mortality in older adult hip fracture patients. In-hospital mortality of older adult hip fracture patients has been explored in several studies, which is a critical induce reflecting the treatment effect (16, 17); for example, a recent study demonstrated the risk factors of in-hospital mortality for hip fracture patients with AF nationwide, mainly involving sepsis, respiratory failure, liver disorders, and acute kidney injury (5). In addition, the effort to develop prognostic models for older adult hip fracture groups has also been made. For example, Fu et al. developed a nomogram-based model to predict the preoperative AF among older adult patients with HF, and Lu et al. also constructed a nomogram-based model to predict the short-term mortality in older adult hip fracture patients with complicated heart failure in an ICU (18, 19). Nevertheless, few studies have identified the risk factors of in-hospital all-cause mortality for older adult patients with hip fractures complicated by AF from an ICU cohort and developed a dynamic predictive and visual tool for clinical use.
To bridge the clinical gap and enhance physicians’ understanding of risk factors associated with this population, further investigations are warranted. This study attempted to construct a user-friendly prediction model in the form of a nomogram to provide insights into individual risk evaluation and assist in developing tailored therapeutic strategies. As a consequence, we employed a nomogram approach to develop a prediction model for in-hospital mortality probability in ICU patients with hip fractures complicated by AF, using the free and open critical care databases—Medical Information Mart for Intensive Care (MIMIC) database and an Electronic Intensive Care Unit Collaborative Research Database (eICU-CRD).
Materials and methods
Data source
We extracted derivation data from MIMIC databases (III and IV), which are known as an open-sourced database with medical health records for patients who have been admitted to Beth Israel Deaconess Medical Center (20, 21). We also extracted data from eICU-CRD, which is composed of 139,367 patients admitted between 2014 and 2015, as the dataset for external validation (22). Structured Query Language (SQL) and pgAdmin4 PostgreSQL 9.6 were used to search for the required data. Moreover, before processing our study, we had completed an online course offered by the National Institutes of Health (NIH), which granted us access to the MIMIC and eICU-CRD database (certification number: 64322113). All methods were carried out in accordance with the “Declaration of Helsinki.” This retrospective study did not use personal identifying information and thus did not require informed patient consent or Institutional Ethics Committee Board approval.
Study population
As shown in Figure 1, patients from the MIMIC database and eICU-CRD were fully traversed. Initially, we included target patients who met the following criteria: (1) diagnosed with hip fracture and AF in MIMIC database by the international classification of diseases (ICD)-9 or -10 version diagnostic code (Supplementary Table S1), (2) age ≥ 60 years old, and (3) admitted to ICU during the hospitalization. Further, patients who had a stay of ≤24 h in an ICU or were not admitted to an ICU for the first time were excluded. In addition, patients selected from the eICU-CRD were regarded as an independent validation set to evaluate the generalizability of the established models, which were also identified by ICD-9 (Figure 1).

Figure 1. Flow chart of the study design. MIMIC, Medical Information Mart for Intensive Care; eICU-CRD, eICU Collaborative Research Database; ICD, international classification of diseases; HF, hip fracture; AF, atrial fibrillation; ICU, intensive care unit; LASSO, least absolute shrinkage and selection operator; XGboost, extreme gradient boosting; LR, logistic regression; AUC, area under curve.
Predictor variables
Variables extracted from the MIMIC database included demographic characteristics, vital signs, laboratory tests, and co-existing diseases. The “hadmi_id” parameter was used to extract demographic characteristics from the MIMIC database, while “patientunitstayid” was used for those from the eICU-CRD database, including age, sex, weight, and ethnicity. In terms of comorbidities, chronic pulmonary diseases (COPD), renal disease, severe liver disease, peripheral vascular disease (PVD), myocardial infarction (MI), acute heart failure, cerebrovascular disease, dementia, and cancer-related comorbidities were mainly extracted. The vital sign values, including heart rate (HR), systolic blood pressure (SBP), respiratory rate (RR), saturation of peripheral oxygen (Spo2), temperature, and urine output (UO), were extracted (e.g., MIMIC: “first_day_vitalsign” chart) and presented in the suitable format accordingly. The laboratory results included anion gap, bicarbonate, creatinine, chloride, glucose, blood urea nitrogen, potassium, partial thromboplastin time (PTT), prothrombin time (PT), International normalized ratio (INR), hematocrit, hemoglobin, white blood cell (WBC) count, and platelets. Furthermore, Sequential Organ Failure Assessment (SOFA), Glasgow Coma Scale (GCS), and Acute Physiology Score (APS) III scores were extracted, while the CHA2DS2-VASc score and HAS-BLED score were calculated for each patient. Ventilation, vasopressin, and anticoagulant drug treatments were also included on the first day. The primary outcome of our study was all-cause mortality during hospitalization. Laboratory tests and vital signs were measured within the first 24 h after ICU admission. Variables with a missing value proportion of more than 20% were excluded, such as albumin, bilirubin, and D_dimer. The exact missing proportion of each variable can be found in Supplementary Table S2. Categorical variables and continuous variables were presented in a suitable data format accordingly.
Imputation of missing values
After extracting variables with missing value proportion less than 20%, we used the KNNImputer (KNN) method with a “n_neighbors = 5” parameter to impute the original data, which has advantages of simplicity, non-parametric nature, preservation of data structure, adaptability to numerical and categorical data, robustness to outliers, no need for model training, and customizable parameters. The above method was based on the assumption that all missing values are missing at random (MAR). This decision aligns with the suitability of KNNImputer for MAR scenarios.
Statistical analysis
Baseline data and clinical outcomes in the training and validation cohorts were expressed. Categorical variables were expressed as percentages and compared by the chi-square test or Fisher’s exact test accordingly. Continuous variables were presented as the mean with standard deviation (SD) or the median with interquartile range (IQR), according to whether a variable had a normal distribution after Shapiro–Wilk tests were used. T-test and Wilcoxon Rank-Sum Test were used to compare continuous variables. Data cleaning and transformation, variable selection, model building, performance evaluation, and validation were all conducted in R software (version 4.4.3) using appropriate R packages (e.g., “fastshap”). Logistic regression (LR) and Least Absolute Shrinkage and Selection Operator (LASSO) algorithms were employed to screen features. Extreme Gradient Boosting (XGBoost) algorithm was used to screen the most important features. The area under the curves [AUC (which is equal to concordance index in this study)], calibration curves, Delong test, decision curve analysis (DCA), net reclassification improvement (NRI), and integrated discrimination improvement (IDI) were performed to evaluate the prediction performance. All tests were two-sided, and p ≤ 0.05 was considered statistically significant.
Results
Baseline characteristics
A total of 308 patients from the MIMIC database were included for model derivation in this study. The patients were divided into training and internal validation groups using completely randomized sampling, with a ratio of 3:1. No statistically significant differences were found between the training cohort and internal validation (testing) cohort in most terms. The baseline characteristics of the patients are presented in Table 1. The baseline characteristics of these patients, comparing the survival and non-survival groups, are presented in Supplementary Table S3, where a significant difference is observed. In addition, 67 patients from eICU-CRD were extracted as the external validation cohort, with nine dead cases and 58 survivors. The baseline characteristics of the patients between the MIMIC and eICU-CRD cohorts are shown in Supplementary Table S4. The usage of anticoagulant and antiplatelet drugs among all patients in the training set is depicted in Supplementary Figure S1A. We also compared the usage of anticoagulant and antiplatelet drugs between the MI and non-MI groups in the training set (Supplementary Figure S1B).
The process of nomogram construction
Firstly, we randomly divided patients into the training cohort for model construction and another validation cohort for model validation by a ratio of 3:1. Subsequently, utilizing the training data, we processed the LR analysis and LASSO regression analysis to initially select the most relevant indicators, respectively. Fifteen features with a p value <0.05 were screened using the univariate logistic regression (Figure 2A). During the LASSO regression analysis, 20 features were identified by a Lambda.1se strategy with a tenfold cross verification (Figure 2B). In order to evaluate the importance and contribution of variables from the intersection of the 10 features selected by LR and LASSO analysis, we constructed a XGboost machine learning model using the default hyperparameters (Figures 2C,D). As shown in Figure 2D, SHAP analysis was also performed. The ten features ranked as follows: SOFA score, INR_min, congestive heart failure, PT_min, hip fracture surgery, age, anion gap_max, myocardial infarct, mild liver disease, and NOAC therapy (Figure 3A). Afterward, we employed a series of multiple multivariable LR models, which were established by consecutively adding additional one more predictor to the previous model at each time (from 1 feature to 10 features). The final number of involved features was determined by achieving the best performance in the area under the receiver operating characteristic curve (AUC), resulting from 5-fold cross-validation. As shown in Figure 3A, we arbitrarily chose the top eight predictors for further model development (AUC_mean = 0.84), as no incremental performance was observed after adding more features. With the top 8 features, we further constructed a clinical prediction model using multivariable logistic analysis using the training set and visualized it in the format of a nomogram (23) to evaluate the short-term mortality risk of such a group in an ICU (Figure 4).

Figure 2. The procession of initially important features screening. (A) The result of logistic regression to find the features with a < 0.05 p value between all variables and in-hospital mortality. (B) The result of LASSO regression to shrink features. (C) The intersection of the features selected by the LR and LASSO methods. (D) The SHAP analysis based on the XGBoost algorithm. LR, logistic regression; LASSO, least absolute shrinkage and selection operator; OR, odds ratio.

Figure 3. The dynamic feature selection process and the receiver operating characteristic (ROC) analysis are used to evaluate the performance of different models. (A) The feature importance based on the XGboost algorithm and the AUCs of different LR models, ranked by the ten selected features. (B,C) The ROC analysis with 1,000 repetitions of the nomogram based on the top 8 features in both the training and internal validation cohorts. LR, logistic regression; LASSO, least absolute shrinkage and selection operator; XGboost, extreme gradient boosting; ROC, receiver operating characteristic; AUC, area under the curve.
Nomogram evaluation
Firstly, we evaluated the predictive performance of the nomogram using ROC analysis of bootstrap with 1,000 repetitions in both training and testing cohorts. It owned a favorable AUC of 0.834 (95% CI:0.772–0.892) in the training set and an acceptable AUC of 0.755 (95% CI:0.629–0.862) in the testing set (Supplementary Figures S3B, C). An AUC of 0.715 was also observed in the eICU-CRD cohort for the external validation (Supplementary Figure S3A). As shown in Supplementary Figure S1, Figure 3B, and Table 2, the metrics called AUCs, Delong tests, NRI, and IDI were further utilized to compare the nomogram’s performance with conventional scoring systems, including APS III, SOFA scores, and HAS-BLED, CHA2DS2-VASc scores. In the training cohort, the AUCs of the above existing evaluation systems for the in-hospital mortality of older adult patients with both hip fractures and AF are, respectively, 0.659, 0.723 and 0.565, 0.583 (Supplementary Figure S2). As indicated in Table 2, statistically significant differences (p < 0.05) were observed when the DeLong test was conducted to confirm the nomogram’s superiority compared with the above score systems among the training set. Moreover, in the categorical and continuous NRI analysis for the nomogram compared to other score systems, significant improvements were still displayed in the discriminative performance to correctly classify patients into risk categories [except SOFA vs. nomogram by NRI (categorical)]. Similarly, IDI values further confirmed the superior improvement of the nomogram to differentiate between survival and non-survival groups in this critically ill group.

Table 2. Comparison of the nomogram with SOFA, APS III, CHA2DS2-VASc, and HAS-BLED scoring systems in predictive efficiency in the training set.
Subsequently, we assessed the performance of the nomogram model using calibration curves. The curves closely fit the 45-degree diagonal line, whether in the training set and internal validation set, demonstrating a relatively high accuracy and reliability of the model’s predictive ability (Figure 5). Moreover, there is still a relatively good matching degree in almost every interval of predictive probability (Supplementary Figure S3B).

Figure 5. The evaluation of the performance of the nomogram based on the simplified model. (A,B) The calibration curves of the training and internal validation cohorts. (C) The clinical decision curves in the training and internal validation cohorts.
Clinical application
When assessing the nomogram from a clinical perspective, we used DCA curves to evaluate the clinical benefits of the nomogram in the training set and internal validation set. As shown in Figure 5C, the nomogram model obtains clinical benefit within the threshold probabilities ranging of 5–100% in the training set and 10–80% (except 20–25%) in the internal validation set. When it comes to the external validation set, a risk threshold (5–100%) for obtaining clinical benefit was also observed (Supplementary Figure S3C). Finally, in order to facilitate the clinical application and promotion of the construct nomogram, we have built a web app based on the constructed nomogram simultaneously on https://fkd9fq-zhenli-li.shinyapps.io/1234/, which can output prediction probabilities of all-cause in-hospital death after ICU admissions (Supplementary Figure S4). In the user-friendly interface, clinicians can assess mortality risk using baseline information from critically ill patients and incorporate additional covariates to evaluate how mortality risk varies according to clinical demands.
Discussion
The feasibility of the present study
AF is often deemed as a marker of disease severity rather than a direct contributor to mortality (24). Zhang et al. demonstrated that new-onset AF was associated with an increased risk of mortality among ICU patients (25). As common geriatric comorbidities, hip fracture and AF represent significant risk factors associated with mortality (2, 8). To our knowledge, although the relationship between hip fractures and incident AF remains controversial, it displays a higher morbidity in older patients with hip fractures. Moreover, hip fracture patients complicated by AF are more likely to encounter terrible clinical outcomes. Consequently, early evaluation of prognostic hazard for this population, especially in an ICU, is beneficial in guiding clinical practice. Nevertheless, existing prediction models and scoring systems primarily focus on patients with hip fractures or AF, respectively. There remains an urgent need for a risk predictive model tailored for the hip fracture population with concomitant AF.
In this study, based on MIMIC databases, LR and LASSO algorithms were implemented to select significant predictors. Moreover, machine learning, a data-driven tool, offers significant advantages in constructing predictive models due to its excellent ability to handle complex, high-dimensional data and identify intricate patterns that traditional statistical approaches may overlook (26, 27). Thus, we employed the XGBoost algorithm to assist in ranking the top 10 important features and used the SHAP method to overcome the “black box” attribute of the ML method. Finally, a visualized multivariable LR-based nomogram for in-hospital mortality, utilizing eight easily accessible clinical features at admission, was successfully developed, which demonstrated a relatively good predictive performance, achieving a favorable ROC of 0.755 in internal validation. Further, DCA curves suggested great clinical applicability of the LR-based nomogram in both the training set and internal validation set. Several retrospective studies have utilized critical illness scoring systems (e.g., SOFA score) to predict the in-hospital mortality risk of patients with hip fractures, which were also included in the nomogram in the present study (28–30). CHA2DS2-VASc and HAS-BLED scores were also used to identify their predictive ability for the in-hospital mortality in the present study. However, in the training set, the nomogram outperformed APS III, SOFA score, CHA2DS2-VASc score, and HAS-BLED score when compared by the means of NRI, IDI, and the DeLong test (Table 2).
The clinical perspectives about the selected features
This is the first study to focus on the in-hospital mortality prediction of the hip fracture population complicated by AF, in which we revealed eight features of the most importance associated with in-hospital mortality in this population, including SOFA score, age, undergoing hip fracture surgery, congestive heart failure (CHF), myocardial infarct (MI), aniongap_min, PT_min, and INR_max. Among these features, the MI history overwhelmed others in aspect of feature importance (Figure 3A). As for MI, it has been demonstrated as the complication most associated with 1-year mortality for patients with hip fracture, which is common and has a poor prognosis after hip fracture (31, 32). Actually, the most common perioperative complication associated with a hip fracture is myocardial injury, which is seen in at least 20% of patients at hospital presentation (33, 34). Ran et al. observed that the incidence of post operative acute myocardial infarct (AMI) in older adult hip fracture patients combined with coronary heart disease is 11.1%, which may be associated with anesthesia type, intraoperative bleeding, and intraoperative hypotension (35). In the present study, the history of the MI serves as a risk factor for the in-hospital mortality of hip fracture patients with AF. Perhaps, the perioperative AMI may partly contribute to such high mortality for patients with a poor coronary artery condition, especially for those who have suffered from MI previously and unstable perioperative vital signs. CHF is also known as a key risk factor for the in-hospital mortality among critical patients (36). In older adult patients with hip fractures, it was an independent factor of short and long-term mortality (37). Moreover, CHF greatly affects the patient’s cardiac function and predisposes them to cardiac accidents, which may result in reduced physical activity, longer postoperative recovery times, and higher rates of deterioration. All the above demonstrate that CHF is really a dangerous complication for critically ill patients with hip fractures.
Although proposed to primarily evaluate organ dysfunction, the SOFA score has been considered a significant predictor of in-hospital mortality in different clinical scenarios (38, 39), such as sepsis, myocardial infarction, and heart failure. For hip fracture or AF patients, the SOFA score also worked as a key indicator to predict the mortality risk, which further validates the present study (40, 41). In the present study, several biochemical indicators have been identified as being associated with the in-hospital mortality of these patients. Firstly, in this study, the INR was the second-highest risk factor after the SOFA score. The INR serves as a critical biomarker for assessing the coagulation status in patients. Perioperative thromboprophylaxis is now a routine practice in the management of older adult patients undergoing treatment for hip fractures (42). Meanwhile, regarding patients with combined AF, oral anticoagulants are used to keep INR levels between 2.0 and 3.0. Elevated INR has been demonstrated to be relevant with increased mortality in an ICU (43). Varady et al. observed that elevated INR was associated with an increased risk of reoperations, readmissions, and death (p < 0.001 for all) after hip fracture surgery, with the most pronounced effects observed at INRs >1.5 (44). PT is a common coagulation laboratory indicator, which holds the third rank of importance and displayed a positive effect in our study. In a previous study, it was deemed an indicator associated with prognosis among critically ill patients (45, 46). Moreover, a machine learning-based prediction model for long-term mortality in hip fracture patients enrolled PT as a risk factor (47). Prolonged PT may increase the risk of death in hip fracture patients with AF, which reflects the absence of normal coagulation ability related to a high bleeding risk.
Additionally, anion gap denotes the difference between the concentration of unmeasured anions and cations in plasma, which helps evaluate acid–base disorders. Previous studies have discovered a relationship between anion gap and mortality in clinically ill patients in an ICU. Wang et al. (48) found that in patients with cerebral infarction, an early post-rtPA increase in anion gap (>14 mmol/L within 48 h) predicted significantly elevated mortality rates over the short and long term (overall, 1-year, and 4-year). Besides, a large-scale cohort study suggested a positive association between postoperative anion gap levels and short- and long-term mortality among patients after cardiac surgery (49). In this study, high levels of anion gap remain used to identify hip fracture patients combined with AF at risk of hospital mortality in an ICU. Hip fracture Surgery is the only protective factor for the target population in our study. Existing evidence has shown that earlier surgery is linked to improved outcomes (50, 51). All the above support our study to regard these risk factors in the final model.
The clinical prospect of the present study
This is the first nomogram-based prediction model for in-hospital mortality in hip fracture patients with AF, in which XGBoost ML model was utilized to assist in selecting features. The final model of the top 8 features screened by the XGBoost algorithm presents a favorable predictive performance and has the potential to guide clinical decision-making to obtain clinical benefit. To better meet clinical demands, we further developed an online application on https://fkd9fq-zhenli-li.shinyapps.io/1234/ (Supplementary Figure S3). However, our study also has several limitations. Firstly, the number of patients with hip fractures and AF in the MIMIC database is relatively small in the training set. Secondly, an AUC of 0.715 was observed in external validation, which is relatively lower than our expectation. The difference in predictive performance between internal and external validation may be partially attributed to the differences in basic patient information in MIMIC and eICU databases, which remains to be further analyzed. However, the DCA curve performed well in the range of 5 to 100% of the risk threshold to obtain the clinical benefit. The prediction model should be further trained and validated in a larger cohort of patients with both hip fractures and AF to increase generalizability. Thirdly, there is quite limited surgery information in the used databases. Thus, we cannot discuss the impact of surgical information on the prognosis of hip fractures, including surgery timing, and postoperative management may vary significantly across different cases, directly influencing fracture healing and patient recovery. Finally, potential bias may be observed due to the fact that the majority of patients were white. Collectively, further supplementation and validation are warranted to improve the predictive performance and generalizability of the ML model.
Conclusion
In the present study, we developed and validated a predictive nomogram for in-hospital mortality in hip fracture patients complicated by AF in an ICU, employing the ML method to select the important features. It provided a robust and accessible method for evaluating the mortality risk, thereby facilitating effective clinical decision-making for such patients. Moreover, it was also validated by the eICU-CRD database and showed a relatively good performance. However, other external validation is still needed to further validate the model and explore its applicability across broader patient populations.
Data availability statement
The original contributions presented in the study are included in the article/Supplementary material, further inquiries can be directed to the corresponding author.
Ethics statement
The requirement of ethical approval was waived by the ethics committee of the fourth hospital of medical university for the studies on humans because this retrospective study did not use personal identifying information and thus did not require informed patient consent or Institutional Ethics Committee Board approval. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants’ legal guardians/next of kin in accordance with the national legislation and institutional requirements. The human samples used in this study were acquired from Mimic-iv (version 3.1). Mimic-iii clinical database carevue subset (version 1.4). eicu collaborative research database (version 2.0).
Author contributions
ZL: Investigation, Writing – review & editing, Methodology, Supervision, Software, Data curation, Conceptualization, Writing – original draft. JH: Conceptualization, Investigation, Writing – original draft, Software. TY: Supervision, Software, Writing – review & editing. GL: Methodology, Investigation, Writing – review & editing. JL: Conceptualization, Writing – review & editing. LG: Writing – review & editing, Methodology, Project administration. ML: Validation, Formal analysis, Writing – review & editing. ZG: Writing – review & editing, Software, Methodology. RG: Writing – review & editing, Software, Investigation. JM: Conceptualization, Software, Investigation, Writing – review & editing, Writing – original draft, Data curation, Supervision, Methodology.
Funding
The author(s) declare that financial support was received for the research and/or publication of this article. This study was supported by the Foundation of Hebei Provincial Department of Science and Technology (Grant Numbers 223777114D) and the Government clinical medical talent program (Grant Numbers ZF2024106).
Acknowledgments
We would like to thank all authors contributing to this manuscript.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The authors declare that no Gen AI was used in the creation of this manuscript.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fmed.2025.1605437/full#supplementary-material
References
1. Yuan, Y, Tian, W, Deng, X, Yue, R, Ge, X, Wu, X, et al. Elderly patients with concurrent hip fracture and lower respiratory tract infection: the pathogens and prognosis over different bedridden periods. J. Orthop. Surg. Res. (2021) 16:246. doi: 10.1186/s13018-021-02399-1
2. Feng, JN, Zhang, CG, Li, BH, Zhan, SY, Wang, SF, and Song, CL. Global burden of hip fracture: the global burden of disease study. Osteoporos Int. (2024) 35:41–52. doi: 10.1007/s00198-023-06907-3
3. Phy, MP, Vanness, DJ, Melton, LJ, Long, KH, Schleck, CD, Larson, DR, et al. Effects of a hospitalist model on elderly patients with hip fracture. Arch Int Med. (2005) 165:796–801. doi: 10.1001/archinte.165.7.796
4. Pedersen, AB, Ehrenstein, V, Szepligeti, SK, Lunde, A, Lagerros, YT, Westerlund, A, et al. Thirty-five-year trends in first-time hospitalization for hip fracture, 1-year mortality, and the prognostic impact of comorbidity: a Danish nationwide cohort study, 1980-2014. Epidemiol (Cambridge, Mass). (2017) 28:898–905. doi: 10.1097/EDE.0000000000000729
5. Chen, K-J, and Chen, J-K. Predictors for in-hospital outcomes in older patients with hip fracture and atrial fibrillation: a nationwide inpatient sample analysis. Arch Gerontol Geriatr. (2025) 137:105916. doi: 10.1016/j.archger.2025.105916
6. Adesina, SA, Amole, IO, Adefokun, IG, Adegoke, AO, Ekunnrin, OT, Akinwumi, AI, et al. Fragility hip fractures among Nigerian older adults: a retrospective study of epidemiology, mobility and mortality outcomes at 3 and 12 months post-hospital discharge. Arch Osteoporos. (2025) 20:61. doi: 10.1007/s11657-025-01553-0
7. Germon, V, Le Baron, M, Volpi, R, Maman, P, and Flecher, X. Use of dual-mobility cups reduce dislocation risk after internal fixation for acetabular fracture concomitant with total hip arthroplasty in patients who are over 60 years old. J Arthroplast. (2025) 40:1258–64. doi: 10.1016/j.arth.2024.10.101
8. Murphy, NF, Simpson, CR, Jhund, PS, Stewart, S, Kirkpatrick, M, Chalmers, J, et al. A national survey of the prevalence, incidence, primary care burden and treatment of atrial fibrillation in Scotland. Hear (British Cardiac Soc). (2007) 93:606–12. doi: 10.1136/hrt.2006.107573
9. Colilla, S, Crow, A, Petkun, W, Singer, DE, Simon, T, and Liu, X. Estimates of current and future incidence and prevalence of atrial fibrillation in the U.S. adult population. Am J Cardiol. (2013) 112:1142–7. doi: 10.1016/j.amjcard.2013.05.063
10. Odutayo, A, Wong, CX, Hsiao, AJ, Hopewell, S, Altman, DG, and Emdin, CA. Atrial fibrillation and risks of cardiovascular disease, renal disease, and death: systematic review and meta-analysis. BMJ (Clin Res Ed.). (2016) 354, i4482. doi: 10.1136/bmj.i4482
11. Emdin, CA, Wong, CX, Hsiao, AJ, Altman, DG, Peters, SAE, Woodward, M, et al. Atrial fibrillation as risk factor for cardiovascular disease and death in women compared with men: systematic review and meta-analysis of cohort studies. BMJ (Clin Res Ed). (2016) 532. doi: 10.1136/bmj.h7013
12. Wetterslev, M, Hylander Møller, M, Granholm, A, Hassager, C, Haase, N, Lange, T, et al. Atrial fibrillation (afib) in the icu: incidence, risk factors, and outcomes: the international afib-icu cohort study. Crit Care Med. (2023) 51:1124–37. doi: 10.1097/CCM.0000000000005883
13. Greve, K, Ek, S, Bartha, E, Modig, K, and Hedström, M. Waiting more than 24 hours for hip fracture surgery is associated with increased risk of adverse outcomes for sicker patients: a nationwide cohort study of 63,998 patients using the Swedish hip fracture register. Acta Orthop. (2023) 94:87–96. doi: 10.2340/17453674.2023.9595
14. Abu-Assi, R, Campbell, J, Bacchi, S, Gill, TK, George, D, and Chehade, M. Association between atrial fibrillation and hip fractures and the implications for hip fracture patients: a systematic review. ANZ J Surg. (2020) 90:448–53. doi: 10.1111/ans.15460
15. Leibowitz, D, Abitbol, C, Alcalai, R, Rivkin, G, and Kandel, L. Perioperative atrial fibrillation is associated with increased one-year mortality in elderly patients after repair of hip fracture. Int J Cardiol. (2017) 227:58–60. doi: 10.1016/j.ijcard.2016.11.067
16. Passini-Sánchez, J, Gómez-Palomo, JM, Martínez-Crespo, A, and Zamora-Navas, P. Factors associated with in-hospital and 12-month mortality in patients undergoing hip arthroplasty for femoral neck fracture. Med Clin. (2025) 165:107021. doi: 10.1016/j.medcli.2025.107021
17. Çelen, ZE, Özkurt, B, Kurt, M, and Utkan, A. Perioperative risk factors for postoperative delirium after hemiarthroplasty in geriatric hip fractures: a prospective observational study. Medicine. (2025) 104:e42025. doi: 10.1097/MD.0000000000042025
18. Fu, M, Zhang, Y, Zhao, Y, Guo, J, Hou, Z, Zhang, Y, et al. Characteristics of preoperative atrial fibrillation in geriatric patients with hip fracture and construction of a clinical prediction model: a retrospective cohort study. BMC Geriatr. (2023) 23:310. doi: 10.1186/s12877-023-03936-9
19. Lu, Y, Chen, W, Guo, Y, Wang, Y, Wang, L, and Zhang, Y. Risk factors for short-term mortality in elderly hip fracture patients with complicated heart failure in the icu: a mimic-iv database analysis using nomogram. J Orthop Surg Res. (2023) 18:829. doi: 10.1186/s13018-023-04258-7
20. Johnson, A, Bulgarelli, L, Pollard, T, Gow, B, Moody, B, Horng, S, et al. Mimic-iv (version 3.1). physionet. doi: 10.13026/kpb9-mt58 (2024).
21. Johnson, A., Pollard, T., and Mark, R. Mimic-iii clinical database carevue subset (version 1.4). physionet. doi: 10.13026/8a4q-w170(2022).
22. Pollard, T, Johnson, A, Raffa, J, Celi, LA, Badawi, O, and Mark, R. Eicu collaborative research database (version 2.0). physionet. (2019). doi: 10.13026/C2WM1R
23. Li, D, Yang, M, Zhang, J, Zhong, J, Ding, H, Chen, W, et al. Development and validation of nomogram for predicting the risk of community-acquired pneumonia after kidney transplantation of deceased donors. Life Conflux. (2025) 1:e115–5. doi: 10.71321/kbfm1398
24. Zakynthinos, GE, Tsolaki, V, Xanthopoulos, A, Karavidas, N, Vazgiourakis, V, Bardaka, F, et al. Prevalence, risk factors, and mortality of new-onset atrial fibrillation in mechanically ventilated critically ill patients. J Clin Med. (2024) 13:6750. doi: 10.3390/jcm13226750
25. Zhang, H-D, Ding, L, Mi, LJ, Zhang, AK, Liu, YD, Li, XN, et al. Impact of new-onset atrial fibrillation on mortality in critically ill patients. Clin Epidemiol. (2024) 16:811–22. doi: 10.2147/CLEP.S485411
26. Luo, Y, Dong, R, Liu, J, and Wu, B. A machine learning-based predictive model for the in-hospital mortality of critically ill patients with atrial fibrillation. Int J Med Inform. (2024) 191:105585. doi: 10.1016/j.ijmedinf.2024.105585
27. Huang, W, Wang, J, Xu, J, Guo, G, Chen, Z, and Xue, H. Multivariable machine learning models for clinical prediction of subsequent hip fractures in older people using the Chinese population database. Age Ageing. (2024) 53. doi: 10.1093/ageing/afae045
28. Hjelholt, TJ, Johnsen, SP, Brynningsen, PK, Knudsen, JS, Prieto-Alhambra, D, and Pedersen, AB. Development and validation of a model for predicting mortality in patients with hip fracture. Age Ageing. (2022) 51. doi: 10.1093/ageing/afab233
29. Feller, K, Abdel-Jalil, N, Blockhaus, C, Kröger, K, Kowall, B, and Stang, A. Impact of oral anticoagulation on in hospital mortality of patients with hip fracture – analysis of nationwide hospitalization data. Injury. (2023) 54:110829. doi: 10.1016/j.injury.2023.05.060
30. Zheng, JY, Li, DT, Qiu, YG, Huang, YX, Xu, ZM, Zhao, L, et al. Cha2ds2-vasc score as a prognostic indicator in patients with atrial fibrillation undergoing coronary stenting. Turk J Med Sci. (2022) 52:1103–10. doi: 10.55730/1300-0144.5413
31. Pettit, CJ, Herbosa, CF, Ganta, A, Rivero, S, Tejwani, N, Leucht, P, et al. Evaluating the severity spectrum: a hierarchical analysis of complications during hip fracture admission associated with mortality. J Orthop Trauma. (2024) 39:8–13. doi: 10.1097/BOT.0000000000002909
32. Borges, FK, Guerra-Farfan, E, Bhandari, M, Patel, A, Slobogean, G, Feibel, RJ, et al. Myocardial injury in patients with hip fracture: a hip attack randomized trial substudy. J Bone Joint Surgery Am. (2024) 106:2303–12. doi: 10.2106/JBJS.23.01459
33. Hietala, P, Strandberg, M, Kiviniemi, T, Strandberg, N, and Airaksinen, KEJ. Usefulness of troponin T to predict short-term and long-term mortality in patients after hip fracture. Am J Cardiol. (2014) 114:193–7. doi: 10.1016/j.amjcard.2014.04.026
34. Chiang, C-H, Liu, CJ, Chen, PJ, Huang, CC, Hsu, CY, Chen, ZY, et al. Hip fracture and risk of acute myocardial infarction: a nationwide study. J Bone Miner Res. (2013) 28:404–11. doi: 10.1002/jbmr.1714
35. Ran, S, Yu, Q, Fu, M, Hou, Z, and Wang, Z. Risk factors and prognosis of postoperative acute myocardial infarction in elderly hip fracture patients combined with coronary heart disease. J Orthop Surg Res. (2024) 19:306. doi: 10.1186/s13018-024-04757-1
36. Cha, Y-H, Ha, YC, Ryu, HJ, Lee, YK, Park, SH, Lee, KJ, et al. Effect of heart failure on postoperative short and long-term mortality in elderly patients with hip fracture. Injury. (2020) 51:694–8. doi: 10.1016/j.injury.2020.01.004
37. Li, J, Liu, S, Hu, Y, Zhu, L, Mao, Y, and Liu, J. Predicting mortality in intensive care unit patients with heart failure using an interpretable machine learning model: retrospective cohort study. J Med Internet Res. (2022) 24:e38082. doi: 10.2196/38082
38. Freund, Y, Cancella de Abreu, M, Lebal, S, Rousseau, A, Lafon, T, Yordanov, Y, et al. Effect of the 1-h bundle on mortality in patients with suspected sepsis in the emergency department: a stepped wedge cluster randomized clinical trial. Intensive Care Med. (2024) 50:1086–95. doi: 10.1007/s00134-024-07509-1
39. Liu, R, Liu, H, Li, L, Wang, Z, and Li, Y. Predicting in-hospital mortality for mimic-iii patients: a nomogram combined with sofa score. Medicine (Baltimore). (2022) 101:e31251. doi: 10.1097/MD.0000000000031251
40. Yuan, W, Xiao, M, Wang, R, Liu, G, Wu, J, and Wang, X. Xgboost in the prediction of 28-day mortality in critical elderly patients with hip fracture: a mimic-iv cohort study. Altern Ther Health Med. (2024) 30:432–6.
41. Honorato, MO, Sousa, JT Filho, Honorato, LFB Junior, Watanabe, N, Goulart, GM, and Prado, RR. Atrial fibrillation and sepsis in elderly patients and their associaton with in-hospital mortality. Arq Bras Cardiol. (2023) 120:e20220295. doi: 10.36660/abc.20220295
42. Wendl-Soeldner, MA, Moll, CWI, Kammerlander, C, Gosch, M, and Roth, T. Algorithm for anticoagulation management in geriatric hip fracture patients–surgeons save blood. Z Gerontol Geriatr. (2014) 47:95–104. doi: 10.1007/s00391-013-0595-4
43. Srichawla, BS, Quast, J, Pacut, P, Sivakumar, S, Garcia-Dominguez, MA, Belgrad, J, et al. Covid-19 in the intensive care unit: unmasking the critical factors impacting patient survival. J Investig Med. (2023) 71:907–16. doi: 10.1177/10815589231191813
44. Varady, NH, Yeung, CM, Amen, TB, Schwab, P-E, and Chen, AF. Preoperative platelet and international normalized ratio thresholds and risk of complications after primary hip fracture surgery. J Am Acad Orthop Surg. (2021) 29:e396–403. doi: 10.5435/JAAOS-D-19-00793
45. Tao, M, Wen, Z, Liu, J, Zhu, W, Fu, J, and Wu, X. Establishing a predictive nomogram for 21-day transplant-free survival in drug-induced liver failure. Ann Med. (2024) 56:2425828. doi: 10.1080/07853890.2024.2425828
46. Lu, Y, Guo, H, and Wu, C. A nomogram for predicting early mortality in patients with traumatic brain injury requiring mechanical ventilation based on clinical laboratory data. Sci Rep. (2024) 14:29312. doi: 10.1038/s41598-024-80968-0
47. Asrian, G, Suri, A, and Rajapakse, C. Machine learning-based mortality prediction in hip fracture patients using biomarkers. J Orthop Res. (2024) 42:395–403. doi: 10.1002/jor.25675
48. Wang, H, Liu, C, Xu, H, Zhang, Y, Gao, P, Geng, S, et al. The association between serum anion gap and all-cause mortality in cerebral infarction patients after treatment with rtpa: a retrospective analysis. Dis Markers. (2022) 2022:1931818. doi: 10.1155/2022/1931818
49. Li, J, Tian, Y, Wang, L, Chen, J, Chen, X, Huang, H, et al. Postoperative anion gap associates with short- and long-term mortality after cardiac surgery: a large-scale cohort study. Front Cardiovasc Med. (2022) 9:1024484. doi: 10.3389/fcvm.2022.1024484
50. O’Connor, MI, and Switzer, JA. Aaos clinical practice guideline summary: management of hip fractures in older adults. J Am Acad Orthop Surg. (2022) 30:e1291–6. doi: 10.5435/JAAOS-D-22-00125
Keywords: intensive care unit, hip fractures, atrial fibrillation, mortality, nomogram, machine learning
Citation: Li Z, He J, Yao T, Liu G, Liu J, Guo L, Li M, Guan Z, Gao R and Ma J (2025) Development and validation of a nomogram for predicting in-hospital mortality in older adult hip fracture patients with atrial fibrillation: a retrospective study. Front. Med. 12:1605437. doi: 10.3389/fmed.2025.1605437
Edited by:
Ling Sun, Nanjing Medical University, ChinaCopyright © 2025 Li, He, Yao, Liu, Liu, Guo, Li, Guan, Gao and Ma. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Jingtao Ma, amluZ3Rhb20wNTAyQDE2My5jb20=; NDcxMDAyMjRAaGVibXUuZWR1LmNu
†These authors have contributed equally to this work and share first authorship