Skip to main content

ORIGINAL RESEARCH article

Front. Surg., 06 January 2023
Sec. Thoracic Surgery
Volume 9 - 2022 | https://doi.org/10.3389/fsurg.2022.1060691

Predicting pneumonia during hospitalization in flail chest patients using machine learning approaches

Xiaolin Song1,2 Hui Li2 Qingsong Chen2 Tao Zhang1,2 Guangbin Huang2 Lingyun Zou3* Dingyuan Du2*
  • 1School of Medicine, Chongqing University, Chongqing, China
  • 2Department of Traumatology, Chongqing Emergency Medical Center, Chongqing University Central Hospital, Chongqing, China
  • 3Clinical Data Research Center, Chongqing Emergency Medical Center, Chongqing University Central Hospital, Chongqing, China

Objective: Pneumonia is a common pulmonary complication of flail chest, causing high morbidity and mortality rates in affected patients. The existing methods for identifying pneumonia have low accuracy, and their use may delay antimicrobial therapy. However, machine learning can be combined with electronic medical record systems to identify information and assist in quick clinical decision-making. Our study aimed to develop a novel machine-learning model to predict pneumonia risk in flail chest patients.

Methods: From January 2011 to December 2021, the electronic medical records of 169 adult patients with flail chest at a tertiary teaching hospital in an urban level I Trauma Centre in Chongqing were retrospectively analysed. Then, the patients were randomly divided into training and test sets at a ratio of 7:3. Using the Fisher score, the best subset of variables was chosen. The performance of the seven models was evaluated by computing the area under the receiver operating characteristic curve (AUC). The output of the XGBoost model was shown using the Shapley Additive exPlanation (SHAP) method.

Results: Of 802 multiple rib fracture patients, 169 flail chest patients were eventually included, and 86 (50.80%) were diagnosed with pneumonia. The XGBoost model performed the best among all seven machine-learning models. The AUC of the XGBoost model was 0.895 (sensitivity: 84.3%; specificity: 80.0%).

Pneumonia in flail chest patients was associated with several features: systolic blood pressure, pH value, blood transfusion, and ISS.

Conclusion: Our study demonstrated that the XGBoost model with 32 variables had high reliability in assessing risk indicators of pneumonia in flail chest patients. The SHAP method can identify vital pneumonia risk factors, making the XGBoost model's output clinically meaningful.

Introduction

Flail chest is the most severe type of chest trauma, is found in approximately 4% of patients with rib fractures and is defined as at least 3 or 4 consecutive rib fractures in at least two places causing paradoxical movement of the chest wall (1, 2). It has been described in 30% of patients with significant chest trauma requiring intensive care, and flail chest has an adverse impact on their respiratory function and causes several associated complications, such as pneumonia and acute respiratory distress syndrome (ARDS) (3).

Pneumonia is a common, severe, preventable complication in patients with flail chest, with an estimated incidence rate ranging from 21% to 33.5% (46). Moreover, pneumonia morbidity is an important indicator of care quality for patients with rib fractures, including risks of prolonged mechanical ventilation, increased mortality, and poor long-term outcomes (5). There are some challenges in managing pneumonia (7). Overestimating the likelihood of pneumonia can cause inappropriate use of antibiotics, leading to the emergence of multidrug-resistant and invasive fungal infections. Conversely, underestimating the likelihood of pneumonia leads to undertreatment and increased mortality from severe nosocomial infections (8, 9). Thus, to avoid possible adverse disease progression and unfavourable outcomes, it is essential that physicians accurately identify patients at high risk of pneumonia at an early stage and tailor individualised preventive treatment (e.g., enhanced monitoring, lung hygiene, pain management) (10).

The Clinical Pulmonary Infection Score (CPIS) has been proposed and used clinically for decades and has shown some shortcomings in guiding the management of pneumonia (8). Consequently, many studies have been conducted to design and construct more accurate and stable risk scores, such as the Scoring System for Pneumonia Risk in Pulmonary Contusion Patients (11) and “RibScore”, a novel radiographic score based on fracture patterns, have been performed (12). These prediction models have been developed based on a generalised linear approach; in addition, the “RibScore” only considers anatomical factors (13). However, many risk factors may exhibit a nonlinear relationship with the outcome and may not fully apply to the traditional linear regression prediction model (14).

Machine learning (ML), a branch of artificial intelligence methods, can develop models from medical data to make clinical decisions and assist doctors in their routine work (15). In previous studies, several classical machine learning algorithms have been tested to predict the risk of pneumonia, including the prediction of stroke-associated pneumonia (16), ventilator-associated pneumonia (17), and postoperative pneumonia (18). However, studies in which researchers use machine learning to predict pneumonia risk in flail chest patients are rare. Even though these algorithms have not yet become widely accepted and used in clinical decision-making, they have tremendous potential in medicine (19).

In this study, we aimed to develop an advanced machine learning model, assess how well it predicts the risk of pneumonia in flail chest patients, and provide new approaches for individualized analyses of pneumonia risk factors in hospitalized patients with flail chest.

Materials and methods

Study design and participants

We performed a retrospective cohort study at Chongqing Emergency Medical Center, an urban teaching hospital with 1,200 beds in China, between January 2011 and December 2021. The study included patients with flail chest, defined as at least 3 or 4 consecutive rib fractures in at least two places causing paradoxical movement of the chest wall (2). We excluded patients <18 years of age, patients who died within 48 h of admission or had pneumonia before referral to our institution, and patients with rib fractures due to cardiopulmonary resuscitation (Figure 1).

FIGURE 1
www.frontiersin.org

Figure 1. Flowchart for patient selection and dataset partitioning. LR, logistic regression; SVM, support vector machine; GBDT, gradient boosting decision tree; XGBoost, extreme gradient boosting; ANN, artificial neural network; NB, naive Bayes.

Primary outcome

Pneumonia status was determined by a combination of medical record documentation and data logger verification. Pneumonia was defined as the presence of new progressive infiltrates with at least two of the following symptoms: purulent respiratory secretion; body temperature ≥38°C or ≤35°C; leukocytosis (white blood cell count of ≥10,000/mm3) or leucopoenia (white blood cell count of ≤4,500/mm3, or immature neutrophils exceeding 15%) (5).

Data collection

Data were collected from the electronic medical records:

(1) Demographics: age, sex, injury mechanism; (2) Damage level: Injury Severity Score (ISS), number of rib fractures, combined injuries, Glasgow Coma Scale (GCS), admission Revised Trauma Score (RTS), abbreviated injury scale (AIS); (3) Initial vitals: admission temperature, pulse rate, breathing rate, blood pressure; (4) Laboratory values in the first 48 h: blood gas analysis, WBC, RBC, HB, PLT, PCT, CRP, PT, APTT, INR, albumin; (5) Treatment within the first 48 h: transfer, intubation, emergency operation, closed thoracic drainage, tracheostomy, antibiotics, anticoagulants, emergency room stay time, etc.

Variable selection

Feature selection is an indispensable preprocessing step for effectively analysing high-dimensional data (20). In our study, we first removed features that had missing values in more than 20% of the samples and then interpolated the remaining missing values using the k-nearest neighbour algorithm (18) (Impute Missing Values. KNN, in the Gene Pattern software package, http://www.broad.mit.edu/genepattern/). Second, the dataset with 169 records and 59 features was normalized using the Python Sklearn library. Then, the scores of each feature were computed and ranked based on the Fisher score evaluation system (21). Finally, we put features into model training, recursively deleted unimportant parts, and selected the optimal subset of each model.

The relevant model parameters were identified and reported for the best-performing prediction model.

Statistical analysis

Demographic and clinical characteristics were analysed using descriptive statistics. Continuous variables that matched a normal distribution were expressed as the means ± SDs (standard deviations), and differences between pneumonia and nonpneumonia groups were analysed by t test or one-way ANOVA. Data that do not conform to a normal distribution are expressed as median (Interquartile range, IQR) and can be considered for logarithmic transformation. The F test was performed on the transformed data, and if normality was not achieved, the nonparametric test was applied. Categorical variables are presented as frequencies (percentages). Moreover, Fisher's exact test or chi-square test was used to compare the differences between the distributions of the two groups. P < 0.05 was considered statistically significant.

Development of machine learning models

The following seven machine learning models with different algorithms were developed and evaluated for their performance: logistic regression (LR) (22), random forest (RF) (22), support vector machine (SVM) (23), gradient boosting decision tree (GBDT) (24), backpropagation artificial neural network (ANN) (23), extreme gradient boosting (XGBoost) (25), and naive Bayes (NB) (26). These algorithms have previously been shown to be stable and suitable for clinical datasets (27). The XGBoost model was built using the xgboost package, and the scikit-learn package constructed the remaining six models.

The 169 adult patients were then randomly divided into the training and validation sets: 70% (n = 118) into the training set and 30% (n = 51) into the validation set. We performed 3-fold cross-validation and grid search on the training set to tune the model hyperparameters and avoid overfitting. The training set was randomly divided into three subsets; in each iteration, one subset was selected as the test set, and the rest was chosen as the training set (24).

Model evaluation

The hyperparameter set of each model was selected with the best model performance and was evaluated by the area under the receiver-operating curve (AUC), Matthews correlation coefficient (MCC), accuracy, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV). The best predictive model among the seven models was further used to analyse the risk factor gradient for flail chest pneumonia. Then, the calibration curve was used to evaluate the difference between the predicted and actual values.

Model interpretation

The Shapley Additive Explanations (SHAP) is a model interpretability method widely used to interpret various classification and regression models (24, 28, 29). In this way, we can rank features according to their contribution to the model and visualize the association between features and outcomes (29). The model generated a predicted value for each sample, and the SHAP value represents the value assigned to each feature in the sample (29). Its absolute value reflects the impact of the feature, and its positive or negative value reflects its positive or negative effect on the prediction of the risk of developing pneumonia. When the SHAP value is >0, this indicates that the feature contributes to the risk of developing pneumonia; in contrast, when the SHAP value is <0, this indicates that the feature contributes less to the risk of developing pneumonia (29). The models were developed, evaluated, and interpreted using Python 3.6.1.

Results

Patient characteristics

During the study period, 802 patients with multiple rib fractures who were registered in our hospital were selected, and 633 (78.9%) patients were excluded. The search process and full inclusion/exclusion criteria are shown in Figure 1. Ultimately, 169 flail chest patients were recruited and used to develop and evaluate the machine learning models. Of these, 86 (50.8%) patients with pneumonia were roughly equally represented in the training set (50.8%) and the test set (51.0%). The median age of the patients was 56 years, 81.7% were male, and more than three-quarters were injured in traffic accidents (Table 1).

TABLE 1
www.frontiersin.org

Table 1. Baseline characteristics of patients by clinical outcomes

Table 1 shows a summary of the demographic characteristics, laboratory findings, and clinical features of the patients enrolled with and without pneumonia. The demographic characteristics and comorbidities did not differ significantly between the patients with or without pneumonia (P > 0.05). Of note, respiratory rate, blood pressure, pulse, haemoglobin, c-reactive protein (CRP), prothrombin time (PT), activated partial thromboplastin time (APTT), and albumin were found to have significant differences between the patients with or without pneumonia (P < 0.05). In particular, the flail chest patients with pneumonia had higher ISS scores and more severe traumatic brain injury and were more likely to be intubated and transferred to the ICU at an early stage early (P < 0.05).

Feature subset for prediction

We performed feature selection and ranked the levels of feature importance since only partially relevant or less significant characteristics are likely to have detrimental impact on the performance of machine learning models. The optimal feature subset for different machine learning algorithms may vary. Supplementary Figure S1 shows the Fisher score values in descending order, from which we selected the optimal subset of features for the seven models. The ideal LR model contains the top 14 features, the ANN model includes the top 19 features, and the remaining five models have the top 32 features.

Prediction performance

The AUC, specificity, sensitivity, positive predictive value, negative predictive value, Matthews correlation coefficient (MCC), and accuracy of each model on the testing set are shown in Table 2 and Figure 2A. The AUC varied between 0.805 and 0.895 for different pneumonia prediction models: LR (0.818); SVM (0.831); RF (0.885), GBDT (0.880), ANN (0.805), XGBoost (0.895), and NB (0.848). The RF, NB, and XGBoost models all performed better than 80% in all metrics when using a probability cut-off value of 0.5, while the sensitivity of XGBoost (0.885) was much higher than that of RF and BN (0.808). The MCC of 0.688 and accuracy of 0.843 with XGBoost were also relatively high. Since the AUC values of the seven ML models did not differ much, we also considered the differences in other indicators, especially the sensitivity and MCC, and selected the XGBoost model as the final prediction model. The calibration curve for the XGBoost model in the test set is close to the 45 lines, which suggests that the model's predicted probability was close to the observed probability (Figure 2B). The hyperparameters of the XGBoost model were as follows: n estimators 250, learning rate 0.08, column sample by tree 0.8, minimum child weight 1, gamma 0.1, maximum depth 2, and subsample 0.72.

FIGURE 2
www.frontiersin.org

Figure 2. Discrimination and calibration performance of models. (A) ROC curves for the LR, SVM, RF, GBDT, XGBoost, ANN, and BN models in predicting pneumonia of flail chest, (B) Calibration curves for the XGBoost model. ROC, receiver operating characteristics; LR, logistic regression; SVM, support vector machine; GBDT, gradient boosting decision tree; XGBoost, extreme gradient boosting; ANN, artificial neural network; NB, naive Bayes.

TABLE 2
www.frontiersin.org

Table 2. Prediction performance of the machine learning models in the test set.

Interpretability of the prediction model

To better explain the predictive meaning of the XGBoost model to guide clinical practice, we applied the SHAP algorithm to explain how to obtain the predicted probability based on the baseline risk and patient characteristics. As seen in Figure 3A, the importance of features is ranked according to the sum of the mean absolute value of all sample SHAP values. The top 10 important variables in the pneumonia prediction model were systolic blood pressure, pH value, blood transfusion, ISS, haemoglobin, tracheotomy, rib fracture number, emergency in ICU, rib location, and limbs or pelvis AIS.

FIGURE 3
www.frontiersin.org

Figure 3. (A) the top 10 most important features indicated by XGBoost. (B) An illustrative example of the SHAP algorithm for interpreting the developed model. The bars in red and blue represent risk factors and protective factors, respectively; longer bars indicate greater feature importance. A patient with pneumonia accurately predicts the occurrence of pneumonia. (C) a patient without lung infection was accurately predicted to not suffer from pneumonia. PH, pH value; SBP, systolic blood pressure; ISS, Injury Severity Score; P, pulse.

Additionally, Figures 3B,C show the prediction results for a particular instance. Risk factors are shown in red and protective factors in blue; longer bars indicate greater importance of features. Figure 3B accurately predicts the occurrence of pneumonia in patients with pneumonia. Poor circulatory status with acidosis, requiring blood transfusion, and ICU treatment were risk factors for this patient. Figure 3C shows that a patient without lung infection was accurately predicted not to suffer from pneumonia. The XGBoost model can distinguish well between pneumonia and nonpneumonia patients and indicate different risk probabilities depending on the individuality of each hospitalized patient.

Discussion

As a severe chest trauma, flail chest not only affects the stability of the chest wall but also poses a threat to circulation and breathing, which can directly affect the clinical course and outcome of the patient (30). Furthermore, multiple rib fractures and pulmonary contusions are significant trauma factors contributing to the development of pneumonia (31). Therefore, early detection of pneumonia is critical for timely interventions to improve clinical outcomes and reduce costs (32). In our study, we evaluated the performance of seven models for the occurrence of pneumonia in flail chest using clinical data from the first 48 h. The XGBoost model with 32 clinical features showed the best prediction ability, and we had some plans to avoid overfitting, such as feature selection by Fisher score and 3-fold cross-validation in the training set.

Predictive modelling to aid clinical decision-making is not a new concept. The Scoring System for Pneumonia Risk in Pulmonary Contusion Patients, the “RibScore”, a novel radiographic score based on fracture patterns, and the Clinical Pulmonary Infection Score (CPIS) are all examples of current operational scoring tools (8, 11, 12). The CPIS tool has shown moderate reliability and accuracy in diagnosing nosocomial pneumonia (33, 34). The CPIS, however, is based on radiographic and laboratory values following symptom onset, as with other tools (22). Thus, CPIS may assist clinicians in narrowing down the identification of patients with pneumonia, but treatment becomes delayed rather than early prevention.

Artificial intelligence and electronic medical records have enabled ML algorithms to be more widely used in individualized medicine to support clinical decisions (35). XGBoost models have shown advantages in predicting pneumonia due to their impressive predictive accuracy and ease of use (14). Chen et al. (36). based on the XGBoost algorithm, developed a risk prediction model for postoperative pneumonia in patients after liver transplantation. According to Li (37), XGBoost was used to build a machine learning model for predicting stroke-associated pneumonia with a 0.84 model evaluation precision. In our study, the XGBoost model has a sensitivity of 88.5%. In contrast, the specificity is 80.0%, meaning that only 11.5% of actual patients are not identified as high-risk (false-negative rate), yet 20% of the patients who do not have pneumonia are incorrectly labelled as high-risk patients (false-positive rate). This level of exposure to unnecessary interventions may be acceptable for a safe, inexpensive, and well-tolerated intervention (e.g., enhanced surveillance or pulmonary hygiene protocols) to prevent pneumonia in high-risk patients. In contrast, high sensitivity is essential in clinical practice because of the consequences of misclassification of actual patients with pneumonia. We can combine our models’ and doctors’ opinions to further improve system performance to overcome the effects of false negatives and positives.

Given these results, it appears that not all low-risk-level patients are pneumonia free. We report low-risk groups in several patients with pneumonia (Supplementary Table S1). This result reflects the incomplete clinical presentations initially observed in some patients. In the early admission stage, false-negative patients with clear consciousness and stable vital signs did not require emergency surgery or transfusion therapy, and the model identified them as a low pneumonia risk group. However, all three patients had injuries other than chest trauma, such as lower limb fractures and abdominal organ injuries, and their subsequent treatment and long-term immobilization increased the risk of pneumonia. On the other hand, one false-positive patient who was severely injured was predicted to have a high risk of pneumonia by the XGBoost model. The patient died during the early stages of hospitalization, and the development of pneumonia may not be effectively observed during the disease. Importantly, for patients with incorrect predictions in this model, we can incorporate dynamic clinical features (e.g., 24 and 48 h of admission) into the model for multiple predictions. Three or more clinicians will also combine their clinical experience to determine the likelihood of pneumonia in patients with flail chest (38). Clinicians could identify them effectively by incorporating clinical knowledge.

In addition, a predictive model for a disease needs to be interpretable, and this interpretability can promote understanding and acceptance of the model's predictions by physicians (28). Therefore, we used SHAP values to estimate how important predictor variables were to the model to gain insight into model interpretability. By taking the average of the absolute value of each feature's SHAP value and observing the importance to the overall model, we found that the more crucial baseline variables in the pneumonia prediction model were systolic blood pressure, pH value, blood transfusion, and Injury Severity Score (ISS). The first three indicators reflect the internal environment (39). The Injury Severity Score (ISS) is a common anatomical-based trauma score that can effectively assess the injury's severity and predict clinical outcomes such as the likelihood of survival and ICU length of stay (40, 41). However, it depends exclusively on anatomical factors of injuries, not synthesizing the mechanism of injury and physiological factors (42).

ML models have demonstrated outstanding performance in predicting diseases and clinical conditions, and can be used to guide treatment decisions and interventions (35). For example, a machine learning model can generate a probability for each patient based on their characteristics. We observed that more severe trauma problems, such as higher ISS, rib fracture number, or intubation, increased the risk of pneumonia, consistent with clinical experience and previous data (5, 31). Consistent with previous studies, a more unstable physiological environment, e.g., lower pH value, systolic blood pressure, and haemoglobin, also increased the risk of pneumonia (39, 40, 43). As a result, the interpretable machine learning model built demonstrates good prediction results.

The study may have several limitations. First, it was a single-centre study with a limited sample size. Given that only four percent of patients with rib fractures develop flail chest, the sample size of flail chest patients in one medical centre was small (1). To mitigate the small sample size, we performed cross-validation (k = 3) of every model. However, selection bias was inevitable, and the model's efficacy for predicting pneumonia should be verified in future studies with larger sample sizes. Second, our study was conducted retrospectively. We can only suggest associated and correlated factors, not identify the main factors contributing to pneumonia. Furthermore, there is a possibility that our findings could be biased due to the long duration of patient enrolment. Third, whereas the missing numerical variables were imputed with weighted k-nearest neighbours, essential variables such as CRP and PH value had some missing values. Additionally, the accuracy may be improved by adding more variables currently not collected, such as comorbidity (40) (e.g., COPD, type 2 diabetes mellitus) and other predictors, such as smoking, alcohol usage, aspiration, and prehospital measures (44, 45). Fourth, we used variables within 48 h as independent variables instead of time-varying variables to predict the occurrence of pneumonia that cannot reflect the dynamic changes in of hemodynamic and metabolic variables in trauma patients. Finally, further external validation is needed. Fortunately, our team will continue to collect data on a prospective multicentre cohort study to refine the model.

Conclusion

We successfully established seven ML models to predict the risk of pneumonia during hospitalization in flail chest patients. The XGBoost model has shown better performance than the LR, RF, SVM, ANN, GBDT, and NB models. We anticipate that it is a convenient risk stratification tool that clinicians can use to identify individualized treatment options for patients with multiple rib fractures. To our knowledge, this is the first machine learning based study to provide a novel approach for predicting pneumonia in flail chest patients. However, further external validation is required to test the generalization of our model.

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics statement

The studies involving human participants were reviewed and approved by Ethics Committee of Chongqing Emergency Medical Center (NO.2021-43). Written informed consent for participation was not required for this study in accordance with the national legislation and the institutional requirements.

Author contributions

HL and DD designed and developed the study, and HL developed the clinical case report form. XS, TZ, and QC were involved in the acquisition of data and cleaning of data. XS statistically analyzed and interpreted the data and drafted the initial manuscript. LZ, DD, and GH contributed to the interpretation of results for important intellectual content and critical revisions to the manuscript and approved the final version of the manuscript. All authors reviewed and approved the final draft. DD and LZ are co-guarantors of the study.

Funding

This study was funded by National Trauma Regional Medical Center Major Research Project (Co-built by the Municipal Commission) (jjzx2021-gjcsqyylzx01) and Research program of Chongqing Municipality Science and Technology (cstc2022ycjh-bgzxm0245).

Acknowledgments

We gratefully acknowledge the guidance in the statistical analysis provided by Professor Yan Zhang and the support from the Department of Traumatology, Chongqing Emergency Medical Center.

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.

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/fsurg.2022.1060691/full#supplementary-material.

References

1. Peek J, Beks RB, Hietbrink F, De Jong MB, Heng M, Beeres FJP, et al. Epidemiology and outcome of rib fractures: a nationwide study in The Netherlands. Eur J Trauma Emerg Surg. (2022) 48:265–71. doi: 10.1007/s00068-020-01412-2

PubMed Abstract | CrossRef Full Text | Google Scholar

2. Kong LW, Huang GB, Yi YF, Du DY; Consensus expert group. The Chinese consensus for surgical treatment of traumatic rib fractures 2021 (C-STTRF 2021). Chin J Traumatol. (2021) 24(06):311–9. doi: 10.1016/j.cjtee.2021.07.012

PubMed Abstract | CrossRef Full Text | Google Scholar

3. Benjamin E, Recinos G, Aiolfi A, Inaba K, Demetriades D. Flail chest: less deadly than originally thought. World J Surg. (2018) 42(12):3927–31. doi: 10.1007/s00268-018-4723-6

PubMed Abstract | CrossRef Full Text | Google Scholar

4. Dehghan N, de Mestral C, McKee MD, Schemitsch EH, Nathens A. Flail chest injuries: a review of outcomes and treatment practices from the National Trauma Data Bank. J Trauma Acute Care Surg. (2014) 76(2):462–8. doi: 10.1097/TA.0000000000000086

PubMed Abstract | CrossRef Full Text | Google Scholar

5. Wutzler S, Bläsius FM, Störmann P, Lustenberger T, Frink M, Maegele M, et al. Pneumonia in severely injured patients with thoracic trauma: results of a retrospective observational multi-centre study. Scand J Trauma Resusc Emerg Med. (2019) 27(1):31. doi: 10.1186/s13049-019-0608-4

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Beks RB, de Jong MB, Houwert RM, Sweet AAR, De Bruin IGJM, Govaert GAM, et al. Long-term follow-up after rib fixation for flail chest and multiple rib fractures. Eur J Trauma Emerg Surg. (2019) 45(4):645–54. doi: 10.1007/s00068-018-1009-5

PubMed Abstract | CrossRef Full Text | Google Scholar

7. Xu E, Pérez-Torres D, Fragkou PC, Zahar JR, Koulenti D. Nosocomial pneumonia in the era of multidrug-resistance: updates in diagnosis and management. Microorganisms. (2021) 9(3):534. doi: 10.3390/microorganisms9030534

PubMed Abstract | CrossRef Full Text | Google Scholar

8. Parks NA, Magnotti LJ, Weinberg JA, Zarzaur BL, Schroeppel TJ, Swanson JM, et al. Use of the clinical pulmonary infection score to guide therapy for ventilator-associated pneumonia risks antibiotic overexposure in patients with trauma. J Trauma Acute Care Surg. (2012) 73(1):52–8. doi: 10.1097/TA.0b013e31825ac37b

PubMed Abstract | CrossRef Full Text | Google Scholar

9. Jovanovic B, Djuric O, Hadzibegovic A, Jovanovic S, Stanisavljevic J, Milenkovic M, et al. Trauma and antimicrobial resistance are independent predictors of inadequate empirical antimicrobial treatment of ventilator-associated pneumonia in critically ill patients. Surg Infect. (2021) 22(7):730–7. doi: 10.1089/sur.2020.306

CrossRef Full Text | Google Scholar

10. Dogrul BN, Kiliccalan I, Asci ES, Peker SC. Blunt trauma related chest wall and pulmonary injuries: an overview. Chin J Traumatol. (2020) 23(3):125–38. doi: 10.1016/j.cjtee.2020.04.003

PubMed Abstract | CrossRef Full Text | Google Scholar

11. Landeen C, Smith HL. Examination of pneumonia risks and risk levels in trauma patients with pulmonary contusion. J Trauma Nurs. (2014) 21(2):41–9. doi: 10.1097/JTN.0000000000000029

PubMed Abstract | CrossRef Full Text | Google Scholar

12. Chapman BC, Herbert B, Rodil M, Salotto J, Stovall RT, Biffl W, et al. Ribscore: a novel radiographic score based on fracture pattern that predicts pneumonia, respiratory failure, and tracheostomy. J Trauma Acute Care Surg. (2016) 80(1):95–101. doi: 10.1097/TA.0000000000000867

PubMed Abstract | CrossRef Full Text | Google Scholar

13. Liu NT, Salinas J. Machine learning for predicting outcomes in trauma. Shock Augusta Ga. (2017) 48(5):504–10. doi: 10.1097/SHK.0000000000000898

PubMed Abstract | CrossRef Full Text | Google Scholar

14. Wang R, Wang L, Zhang J, He M, Xu J. XGBoost machine learning algorism performed better than regression models in predicting mortality of moderate to severe traumatic brain injury. World Neurosurg. (2022) 163:e617–22. doi: 10.1016/j.wneu.2022.04.044

PubMed Abstract | CrossRef Full Text | Google Scholar

15. Hong W, Zhou X, Jin S, Lu Y, Pan J, Lin Q, et al. A comparison of XGBoost, Random Forest, and Nomograph for the prediction of disease severity in patients with COVID-19 pneumonia: implications of cytokine and immune cell profile. Front Cell Infect Microbiol. (2022) 12:819267. doi: 10.3389/fcimb.2022.819267

PubMed Abstract | CrossRef Full Text | Google Scholar

16. Abujaber A, Fadlalla A, Gammoh D, Al-Thani H, El-Menyar A. Machine learning model to predict ventilator associated pneumonia in patients with traumatic brain injury: the C.5 decision tree approach. Brain Inj. (2021) 5(9):1095–102. doi: 10.1080/02699052.2021.1959060

CrossRef Full Text | Google Scholar

17. Liang Y, Zhu C, Tian C, Lin Q, Li Z, Li Z, et al. Early prediction of ventilator-associated pneumonia in critical care patients: a machine learning model. BMC Pulm Med. (2022) 22(1):250. doi: 10.1186/s12890-022-02031-w

PubMed Abstract | CrossRef Full Text | Google Scholar

18. Xue B, Li D, Lu C, King CR, Wildes T, Avidan MS, et al. Use of machine learning to develop and evaluate models using preoperative and intraoperative data to identify risks of postoperative complications. JAMA Netw Open. (2021) 4(3):e212240. doi: 10.1001/jamanetworkopen.2021.2240

PubMed Abstract | CrossRef Full Text | Google Scholar

19. Stokes K, Castaldo R, Federici C, Pagliara S, Maccaro A, Cappuccio F, et al. The use of artificial intelligence systems in diagnosis of pneumonia via signs and symptoms: a systematic review. Biomed Signal Process Control. (2022) 72:103325. doi: 10.1016/j.bspc.2021.103325

CrossRef Full Text | Google Scholar

20. Zhang J, Xu D, Hao K, Zhang Y, Chen W, Liu J, et al. FS–GBDT: identification multicancer-risk module via a feature selection algorithm by integrating Fisher score and GBDT. Brief Bioinform. (2021) 22(3):bbaa189. doi: 10.1093/bib/bbaa189

PubMed Abstract | CrossRef Full Text | Google Scholar

21. Ge C, Luo L, Zhang J, Meng X, Chen Y. FRL: an integrative feature selection algorithm based on the Fisher score, recursive feature eimination, and logistic regression to identify potential genomic biomarkers. BioMed Res Int. (2021) 2021:1–16. doi: 10.1155/2021/4312850

PubMed Abstract | CrossRef Full Text | Google Scholar

22. Bradley M, Dente C, Khatri V, Schobel S, Lisboa F, Shi A, et al. Advanced modeling to predict pneumonia in combat trauma patients. World J Surg. (2020) 44(7):2255–62. doi: 10.1007/s00268-019-05294-3

PubMed Abstract | CrossRef Full Text | Google Scholar

23. Rau CS, Wu SC, Chuang JF, Huang CY, Liu HT, Chien PC, et al. Machine learning models of survival prediction in trauma patients. J Clin Med. (2019) 8(6):799. doi: 10.3390/jcm8060799

PubMed Abstract | CrossRef Full Text | Google Scholar

24. Xie P, Li Y, Deng B, Du C, Rui S, Deng W, et al. An explainable machine learning model for predicting in-hospital amputation rate of patients with diabetic foot ulcer. Int Wound J. (2022) 19(4):910–8. doi: 10.1111/iwj.13691

PubMed Abstract | CrossRef Full Text | Google Scholar

25. Feng YN, Xu ZH, Liu JT, Sun XL, Wang DQ, Yu Y. Intelligent prediction of RBC demand in trauma patients using decision tree methods. Mil Med Res. (2021) 8(1):33. doi: 10.1186/s40779-021-00326-3

PubMed Abstract | CrossRef Full Text | Google Scholar

26. Zhao QY, Liu LP, Luo JC, Luo YW, Wang H, Zhang YJ, et al. A machine-learning approach for dynamic prediction of sepsis-induced coagulopathy in critically ill patients with sepsis. Front Med. (2020) 7:637434. doi: 10.3389/fmed.2020.637434

CrossRef Full Text | Google Scholar

27. Frondelius T, Atkova I, Miettunen J, Rello J, Jansson MM. Diagnostic and prognostic prediction models in ventilator-associated pneumonia: systematic review and meta-analysis of prediction modelling studies. J Crit Care. (2022) 67:44–56. doi: 10.1016/j.jcrc.2021.10.001

PubMed Abstract | CrossRef Full Text | Google Scholar

28. Wang K, Tian J, Zheng C, Yang H, Ren J, Liu Y, et al. Interpretable prediction of 3-year all-cause mortality in patients with heart failure caused by coronary heart disease based on machine learning and SHAP. Comput Biol Med. (2021) 137:104813. doi: 10.1016/j.compbiomed.2021.104813

PubMed Abstract | CrossRef Full Text | Google Scholar

29. Hu CA, Chen CM, Fang YC, Liang SJ, Wang HC, Fang WF, et al. Using a machine learning approach to predict mortality in critically ill influenza patients: a cross-sectional retrospective multicentre study in Taiwan. BMJ Open. (2020) 10(2):e033898. doi: 10.1136/bmjopen-2019-033898

PubMed Abstract | CrossRef Full Text | Google Scholar

30. He Z, Zhang D, Xiao H, Zhu Q, Xuan Y, Su K, et al. The ideal methods for the management of rib fractures. J Thorac Dis. (2019) 11(Suppl 8):S1078–89. doi: 10.21037/jtd.2019.04.109

PubMed Abstract | CrossRef Full Text | Google Scholar

31. Mangram AJ, Sohn J, Zhou N, Hollingworth AK, Ali-Osman FR, Sucher JF, et al. Trauma-associated pneumonia: time to redefine ventilator-associated pneumonia in trauma patients. Am J Surg. (2015) 210(6):1056–62. doi: 10.1016/j.amjsurg.2015.06.029

PubMed Abstract | CrossRef Full Text | Google Scholar

32. Brasel KJ, Moore EE, Albrecht RA, deMoya M, Schreiber M, Karmy-Jones R, et al. Western trauma association critical decisions in trauma: management of rib fractures. J Trauma Acute Care Surg. (2017) 82(1):200–3. doi: 10.1097/TA.0000000000001301

PubMed Abstract | CrossRef Full Text | Google Scholar

33. Gaudet A, Martin-Loeches I, Povoa P, Rodriguez A, Salluh J, Duhamel A, et al. Accuracy of the clinical pulmonary infection score to differentiate ventilator-associated tracheobronchitis from ventilator-associated pneumonia. Ann Intensive Care. (2020) 10(1):101. doi: 10.1186/s13613-020-00721-4

PubMed Abstract | CrossRef Full Text | Google Scholar

34. Shan J, Chen HL, Zhu JH. Diagnostic accuracy of clinical pulmonary infection score for ventilator-associated pneumonia: a meta-analysis. Respir Care. (2011) 56(8):1087–94. doi: 10.4187/respcare.01097

PubMed Abstract | CrossRef Full Text | Google Scholar

35. Fröhlich H, Balling R, Beerenwinkel N, Kohlbacher O, Kumar S, Lengauer T, et al. From hype to reality: data science enabling personalized medicine. BMC Med. (2018) 16(1):150. doi: 10.1186/s12916-018-1122-7

CrossRef Full Text | Google Scholar

36. Chen C, Yang D, Gao S, Zhang Y, Chen L, Wang B, et al. Development and performance assessment of novel machine learning models to predict pneumonia after liver transplantation. Respir Res. (2021) 22(1):94. doi: 10.1186/s12931-021-01690-3

PubMed Abstract | CrossRef Full Text | Google Scholar

37. Li X, Wu M, Sun C, Zhao Z, Wang F, Zheng X, et al. Using machine learning to predict stroke-associated pneumonia in Chinese acute ischaemic stroke patients. Eur J Neurol. (2020) 27(8):1656–63. doi: 10.1111/ene.14295

PubMed Abstract | CrossRef Full Text | Google Scholar

38. Barnett ML, Boddupalli D, Nundy S, Bates DW. Comparative accuracy of diagnosis by collective intelligence of multiple physicians vs individual physicians. JAMA Netw Open. (2019) 2(3):e190096. doi: 10.1001/jamanetworkopen.2019.0096

PubMed Abstract | CrossRef Full Text | Google Scholar

39. Ley EJ, Singer MB, Clond MA, Gangi A, Mirocha J, Bukur M, et al. Elevated admission systolic blood pressure after blunt trauma predicts delayed pneumonia and mortality. J Trauma. (2011) 71(6):1689–93. doi: 10.1097/TA.0b013e31823cc5df

PubMed Abstract | CrossRef Full Text | Google Scholar

40. Kózka M, Sega A, Wojnar-Gruszka K, Tarnawska A, Gniadek A. Risk factors of pneumonia associated with mechanical ventilation. Int J Environ Res Public Health. (2020) 17(2):656. doi: 10.3390/ijerph17020656

CrossRef Full Text | Google Scholar

41. Linn S. The injury severity score–importance and uses. Ann Epidemiol. (1995) 5(6):440–6. doi: 10.1016/1047-2797(95)00059-3

PubMed Abstract | CrossRef Full Text | Google Scholar

42. Mohammed Z, Saleh Y, AbdelSalam EM, Mohammed NBB, El-Bana E, Hirshon JM. Evaluation of the Revised Trauma Score, MGAP, and GAP scoring systems in predicting mortality of adult trauma patients in a low-resource setting. BMC Emerg Med. (2022) 22(1):90. doi: 10.1186/s12873-022-00653-1

PubMed Abstract | CrossRef Full Text | Google Scholar

43. Childs BR, Verhotz DR, Moore TA, Vallier HA. Presentation coagulopathy and persistent acidosis predict complications in orthopaedic trauma patients. J Orthop Trauma. (2017) 31(12):617–23. doi: 10.1097/BOT.0000000000000957

PubMed Abstract | CrossRef Full Text | Google Scholar

44. Morrow LE, Jagan N, Walters RW, Plambeck RW, Oshiro M, Malesker MA. Prolonged prehospital time is a risk factor for pneumonia in trauma (the PRE-TRIP study): a retrospective analyysis of the United States national trauma data bank. Chest. (2020) 161(1):85–96. doi: 10.1016/j.chest.2021.06.032

CrossRef Full Text | Google Scholar

45. Evans HL, Warner K, Bulger EM, Sharar SR, Maier RV, Cuschieri J. Pre-hospital intubation factors and pneumonia in trauma patients. Surg Infect. (2011) 12(5):339–44. doi: 10.1089/sur.2010.074

CrossRef Full Text | Google Scholar

Keywords: flail chest, pneumonia, machine learning, risk factors, extreme gradient boosting

Citation: Song X, Li H, Chen Q, Zhang T, Huang G, Zou L and Du D (2023) Predicting pneumonia during hospitalization in flail chest patients using machine learning approaches. Front. Surg. 9:1060691. doi: 10.3389/fsurg.2022.1060691

Received: 3 October 2022; Accepted: 14 November 2022;
Published: 6 January 2023.

Edited by:

Marco Scarci, Hammersmith Hospital, United Kingdom

Reviewed by:

Savvas Lampridis, Hammersmith Hospital, United Kingdom
Paolo Albino Ferrari, Ospedale Oncologico Armando Businco, Italy

© 2023 Song, Li, Chen, Zhang, Huang, Zou and Du. 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: Dingyuan Du dudingyuan@qq.com Lingyun Zou lingyun.zou@gmail.com

Specialty Section: This article was submitted to Thoracic Surgery, a section of the journal Frontiers in Surgery

Download