Skip to main content

Machine learning-derived prediction of in-hospital mortality in patients with severe acute respiratory infection: analysis of claims data from the German-wide Helios hospital network

Abstract

Background

Severe acute respiratory infections (SARI) are the most common infectious causes of death. Previous work regarding mortality prediction models for SARI using machine learning (ML) algorithms that can be useful for both individual risk stratification and quality of care assessment is scarce. We aimed to develop reliable models for mortality prediction in SARI patients utilizing ML algorithms and compare its performances with a classic regression analysis approach.

Methods

Administrative data (dataset randomly split 75%/25% for model training/testing) from years 2016–2019 of 86 German Helios hospitals was retrospectively analyzed. Inpatient SARI cases were defined by ICD-codes J09-J22. Three ML algorithms were evaluated and its performance compared to generalized linear models (GLM) by computing receiver operating characteristic area under the curve (AUC) and area under the precision-recall curve (AUPRC).

Results

The dataset contained 241,988 inpatient SARI cases (75 years or older: 49%; male 56.2%). In-hospital mortality was 11.6%. AUC and AUPRC in the testing dataset were 0.83 and 0.372 for GLM, 0.831 and 0.384 for random forest (RF), 0.834 and 0.382 for single layer neural network (NNET) and 0.834 and 0.389 for extreme gradient boosting (XGBoost). Statistical comparison of ROC AUCs revealed a better performance of NNET and XGBoost as compared to GLM.

Conclusion

ML algorithms for predicting in-hospital mortality were trained and tested on a large real-world administrative dataset of SARI patients and showed good discriminatory performances. Broad application of our models in clinical routine practice can contribute to patients’ risk assessment and quality management.

Introduction

Severe acute respiratory infection (SARI) has been defined by the World Health Organization (WHO) in 2011 and is described by the following criteria: acute respiratory illness, history of fever (or measured fever of ≥ 38 degrees Celsius) cough, dyspnea (or tachypnoea), onset within the past 10 days, required hospitalization [1, 2]. Several outbreaks of SARI in recent years were reported, mostly due to influenza viruses [3, 4]. According to the Global Burden of Diseases Study 2015, lower respiratory tract infections are the most common infectious causes of death [5]. Not only since the onset of the global SARS-CoV2 pandemic in 2019 the importance of epidemiological research on SARI-related hospital admissions was acknowledged. Large-scale prospective studies and hospital-based surveillance systems were established in the last decade as a response to past epidemics [1, 6, 7] including the German ICOSARI-sentinel, an ongoing SARI surveillance system conducted by the German federal government agency Robert-Koch-Institute (RKI) in collaboration with Helios Kliniken GmbH [8].

The capability of machine learning (ML) algorithms to predict patient outcomes has been studied among different disease entities [9]. For example, the outcome prediction in COVID-19 patients using deep learning methods was recently evaluated with promising results [10,11,12]. With respect to non-COVID SARI patients, several approaches for mortality prediction in patients with pneumonia in general and specifically with influenza-caused pneumonia were also reported. The methodology of those studies included different ML concepts [13,14,15,16] as well as logistic regression (LR) [14, 17, 18]. The authors mostly focused on developing individual risk stratification and mortality prediction models for assessing the patient’s individual risk at the time point of hospital admission. Pointing into the same direction, several well-established assessment tools exist for pneumonia to evaluate individual mortality risk and help guiding the clinicians’ decisions. Widely used scores are the CRB-65/CURB-65 [19, 20] and Pneumonia Severity Index (PSI) [21, 22]. However, predicting outcomes also on a population rather than an individual level is necessitated in context of public health interests and research as well as hospital benchmarking. Prediction tools with this purpose are lacking.

In regard of cardiovascular diseases, several studies with focus on risk stratification have been performed [23, 24] also by applicating ML approaches [25]. Our working group recently presented an analysis on in-hospital mortality in heart failure (HF) patients with implementation of ML algorithms [26]. This preliminary work on population-based risk prediction has provided us with an established methodological concept that forms the basis for this study in the scope of SARI. In a more patient-based approach, we aimed to evaluate mortality prediction models for SARI patients and in this context compare different ML algorithms with LR (generalized linear models, GLM).

Methods

Case definition

Different case definitions exist to identify SARI patients from administrative data in a hospital setting considering that not all SARI-defining conditions can be assessed by this data source. In the above mentioned ICOSARI-sentinel, one approach used SARI-specific main and secondary diagnoses of ICD-10-codes (International Statistical Classification of Diseases and Related Health Problems Version 10) J09-J22 for case definition and proved to be sensitive [8]. This method was adapted in our study. ICD-10-codes J09-J22 comprise influenza and pneumonia (J09-J18), acute bronchitis (J20.-), acute bronchiolitis (J21.-) and unspecified acute lower respiratory tract infection (J22) [27].

Data source

Our dataset included administrative data from 86 hospitals within the German Helios network. Inclusion criteria were (1) inpatient treatment and (2) SARI as main or secondary diagnosis as defined by ICD-10-codes (see above). We retrospectively analyzed urgent or regular patient admissions from January 1st 2016 to December 31st 2019. In-hospital death as the primary outcome measure of interest was identified via the type of discharge. ICD-10-GM-codes (German Modification of the ICD-10) as main and secondary diagnoses at hospital discharge were used to identify relevant comorbidities according to the Elixhauser comorbidity score without distinguishing between preexisting comorbidities and newly diagnosed conditions [28, 29]. A detailed overview of ICD-10-GM-codes and the Elixhauser comorbidity score [29] is provided in the (Additional file 1: Table S1). The analysis was carried out according to the principles outlined in the Declaration of Helsinki. Patient-related data were stored in a anonymized form. The local ethics committee (vote: AZ490/20-ek) and the Helios Kliniken GmbH data protection authority approved data use for this study.

Statistical analysis

The methodological approach presented here was successfully applied to a dataset of HF patients before and was used similarly for this analysis [26]. The initial dataset was split randomly into 75% used for model development (model training) and 25% for model testing. The dataset splits were performed so that all the cases for a given patient were in the same subset (train/tests or train/validation for cross-validation approach). The outcome probability was identical in each subset. Each variable set contained the following baseline variables: age, gender, admission year, ICU treatment (yes/no), hospital-acquired SARI (yes/no) and SARI type. For the latter, we subdivided the ICD-codes for SARI (J09-J22) to define different SARI types: influenza J09, J10; viral pneumonia other than influenza J12; bacterial pneumonia J13-J16; other pneumonia J17, J18; other lower respiratory tract infections J20-J22.

In a first step, we evaluated and cross-validated two different variable sets based on the training dataset: one contained Elixhauser comorbidities as separate variables and one contained the Elixhauser weighted comorbidity scores [29].

Variables which were highly sparse and unbalanced (near-zero variance variables [26]), were removed prior to the analysis. No variables were highly correlated. This concerned several Elixhauser comorbidities. Additionally, the SARI types “influenza” and “viral pneumonia other than influenza” were removed prior to model training because of the low case numbers (4.2% and 1.5% respectively, see Additional file 1: Table S2). All continuous variables were scaled and centered before the analyses. The dataset did not contain any missing values.

The two variable sets were evaluated using four different algorithms applied on the training dataset: GLM, random forest (RF), single layer neural network (NNET) and extreme gradient boosting (XGBoost).

Model tuning was carried out in accordance to previous descriptions [26] using a Bayesian model based optimization method with a k-folds approach using one repetition of 10-folds each. While ML approaches can implicitly account for non-linearities, these have to be explicit in GLM. Non-linearities were accounted for using a polynomial on continuous variables (age and Elixhauser score) and the number of degrees was tuned using the method described above. To evaluate the performance of the models trained, the values predicted during the cross-validation process were used to compute receiver operating characteristic (ROC) area under the curve (AUC) and area under the precision-recall curve (AUPRC). The model with the highest AUPRC was considered the best. To assess the relative importance of the variables used, we performed a Shapley Additive exPlanations (SHAP) analysis separately for each algorithm, which is an approach to explain variable importance that is agnostic to the type of model and therefore facilitates a comparison [30]. The predictive abilities of each algorithm were assessed with the ROC curve, the precision-recall curve, calibration-in-the-large, weak calibration and calibration plots, AUC and AUPRC. Calibration-in-the-large is simply a comparison of the observed vs. predicted risk, while weak calibration is the intercept and slope of the logistic regression between observed and predicted death [31]. DeLong’s test was used to perform pairwise comparisons between ROC AUCs [32]. All analyses were carried out within the R environment for statistical computing (Version 3.6.1, 64-bit built).

Results

The final dataset included 241,988 SARI cases from 86 Helios hospitals. Baseline characteristics are summarized in the (Additional file 1: Table S2). Age and sex distribution showed that 49% of the patients were 75 years or older and 56.2% were male. 20% of the SARI cases were hospital-acquired and intensive care unit (ICU) treatment was required in 14.7% of patients. Regarding SARI type, numbers of influenza (4.2%) and viral pneumonia other than influenza (1.5%) were low and “other pneumonia” (J17, J18) was the most frequently observed SARI type (56.6%). In-hospital mortality rate was 11.6% overall and 31.6% in patients requiring an ICU therapy. Univariate regression analyses revealed advanced age, ICU treatment, hospital-acquired SARI, bacterial pneumonia and several Elixhauser comorbidities (e.g., congestive HF) as the strongest predictors of in-hospital mortality (Table 1). The cohort for model training and testing comprised 181,574 and 60,414 patients, respectively. Baseline characteristics were well balanced between groups with respect to all variables (Additional file 1: Table S2).

Table 1 Univariate regression analyses, predictors of in-hospital mortality

Model training

During the training process, the hyper-parameters of each algorithm (except for GLM, where only the number of degrees in polynomial was tuned) were tuned keeping the following values (two values were specified for variable sets containing either the Elixhauser comorbidities or the Elixhauser weighted comorbidity scores):

  • GLM: number of degrees in polynomial age = 3/1, Elixhauser score = 1/na

  • RF: number of variables randomly selected at each split = 4/3, number of trees = 1062/1168, minimum number of observations in each node = 39/32

  • NNET: number of units in the hidden layer = 6/1, learning rate = 0.96/9e-6

  • XGBoost: maximum number of boosting iterations = 2487/2926, maximum depth = 11/14; learning rate = 0.003/7e-5, minimum loss reduction = 0.001/0.0001; proportion of columns sampled per tree = 1; minimum child weight = 37/17; proportion of rows sampled per tree = 0.76/0.56

The cross-validation during model training showed a slightly better performance of the ML models when compared to GLM (AUC = 0.825; AUPRC = 0.365). The best-performing algorithm was XGBoost (AUC = 0.832; AUPRC = 0.388). The models containing separate Elixhauser comorbidities turned out to be superior to the Elixhauser score model among all algorithms used and were therefore kept during model testing. Plots of the SHAP analysis depicting variable importance for each algorithm are available from the Additional file 1: Fig. S1.

Model testing

Applied to the testing cohort, the ML models did not markedly outperform GLM. Yet, a marginal better performance could be demonstrated for all three ML models, but confidence intervals (CIs) overlapped with those of GLM. AUCs and corresponding AUPRC with 95%CIs are given in Table 2. DeLong’s test[32] used for comparing ROC AUCs showed a significantly better performance of NNET and XGBoost in comparison to GLM (p < 0.001, Additional file 1: Table S3). Figures 1 and 2 show the ROC curves and corresponding precision-recall curves. Calibration metrics and calibration plots are shown in Table 3 and Fig. 3, respectively. The best calibration was observed with NNET and XGBoost models, followed by GLM, while RF displayed the worst calibration (over- as well as underestimation of mortality risk). Further performance metrics of all models can be found in the Additional file 1: Table S4.

Table 2 Model testing (Elixhauser comorbidities model)
Fig. 1
figure 1

Receiver operating characteristic (ROC) curves (model testing). GLM generalized linear models, NNET single layer neural network, RF random forest, XGBoost extreme gradient boosting

Fig. 2
figure 2

Precision-recall curves (model testing). GLM generalized linear models, NNET single layer neural network, RF random forest, XGBoost extreme gradient boosting

Table 3 Calibration metrics
Fig. 3
figure 3

Calibration plots during model testing. GLM generalized linear models, NNET single layer neural network, RF random forest, XGBoost extreme gradient boosting. The straight bold line at 45 degrees illustrates perfect calibration

Discussion

In this study, we present real-world administrative data on in-hospital mortality of 241,988 patients with SARI which is derived from a nationwide German hospital network. Different ML mortality prediction models displayed an overall good discriminatory performance with respect to AUC and AUPRC. Compared to standard statistical methods (GLM), NNET and XGBoost showed a small but statistically significant difference in ROC AUCs. However, the relevance of this marginal better performance remains unknown from a clinical perspective and warrants further evaluation. Future studies are therefore needed to explore the usefulness and advantages of ML concepts in the context of outcome prediction.

The results highlight comorbidities as important influencing factors with respect to SARI-related deaths. Implementation of our mortality prediction models, utilizing only easily and widely available variables, in clinical care can help assessing the patients’ individual mortality risks and could moreover be useful for hospital benchmarking. We chose to include patient data from 2016 to 2019 for our analysis as the COVID-19 pandemic could have been a major influencing factor with regard to SARI mortality in 2020. This assumption should be investigated in future analyses also relating to a possible scalability of our proposed mortality prediction models in view of the ongoing pandemic.

Mortality and clinical characteristics

Mortality data for SARI can be derived from large-scale prospective studies. In the globally conducted SPRINT-SARI trial, overall mortality rate is given as 9.5% and in patients > 60 years of age as 18.6% which is comparable to our findings (overall in-hospital mortality 11.6%) and may be an indicator of the good reliability of our retrospective claims-based dataset. Organ dysfunction as assessed by SOFA-scores (sequential organ failure assessment) at initial patient presentation and increased age were identified as independent predictors of in-hospital mortality in this study [1]. Higher mortality rates (ICU mortality: 20.2%; in-hospital mortality: 27.2%) among ICU-admitted patients with SARI are reported in the IC-GLOSSARI trial [7]. The higher ICU mortality that was seen in our study (20.2 vs. 31.6%, Table 1) could be attributed to a different risk profile in regard of cardiovascular and non-cardiovascular comorbidities (e.g., congestive heart failure, cardiac arrhythmias, renal failure) which were less frequently observed among patients in the IC-GLOSSARI trial.

In a recent analysis of the ICD-code based ICOSARI-sentinel [8], 5-year data from German hospitals of influenza waves (2015–2019; week numbers 3–11) were compared to outcomes of COVID-19 patients. Analyses of almost 70.000 patients admitted with SARI showed an overall mortality rate of 12%, ICU admissions in 32% of the cases and an ICU mortality rate of 22% [33]. The overall mortality rate that was observed in this analysis is almost similar to our data (in-hospital mortality 11.6%) while there were fewer ICU admissions (14.7%) and a higher ICU mortality rate (31.6%). The observed differences may be due to the selective choice of data from influenza wave periods in the ICOSARI-sentinel while our dataset included the whole year periods 2016–2019. Furthermore, diverging ICU admission rates could have been caused by varying definitions of ICU treatment and respective monitoring when using an administrative data source.

In another presentation of ICOSARI-data, the investigators reported unexpectedly low numbers of influenza (defined by ICD-codes) among SARI cases in general which is in accordance to our findings (only 4.2% of the cases accounted for influenza, Additional file 1: Table S2) [8].

Of note, univariate regression analyses (Table 1) revealed obesity as a rather protective factor regarding in-hospital mortality. This finding contrasts with recent experiences during the COVID-19 pandemic where obese patients display a greater risk for mortality [34]. However, it has been shown that obesity is paradoxically associated with lower mortality rates among ICU patients [35] and patients with ARDS [36] which may be explanatory for our observation.

Existing prediction models and comparison

The use of administrative data and its validity for assessing and predicting in-hospital mortality has been studied thoroughly in patients with cardiovascular diseases [26, 37,38,39,40] but previous work on respiratory tract infections in that matter is scarce. One US-study compared administrative data and electronic medical records (EMR) as data sources for developing a model to calculate hospital-specific risk-standardized 30-day mortality rates in patients with pneumonia [17]. An important finding was the good agreement between mortality estimates derived from administrative data and EMR respectively, which underlines the usefulness and reliability of claims data sets to assess clinical outcomes. However, Bratzler et al. used GLM only in their study on 224,608 pneumonia patients and the administrative data model provided an AUC of 0.72 which is considerably lower than the presented AUCs of our ML models and GLM [17]. The comorbidity variables that were included in the model by Bratzler et al. were comparable to the Elixhauser comorbidities but only age and gender were used as administrative variables in contrast to our approach where we also took for example ICU treatment and whether the SARI was hospital-acquired into account.

A Japanese working group analyzed a claims data set with 35,297 patients hospitalized for community acquired pneumonia (CAP) comparing different models with the A-DROP score, a modified version of the CURB-65 score [41], by adding and excluding specific clinical variables and applying hierarchical LR[18]. The authors pursued the objective to develop risk-adjusted prediction models to facilitate hospital benchmarking. The newly developed models performed equally or better when compared to the A-DROP score with considerably higher AUC when compared to our results in range of 0.852–0.874 [18]. However, the authors utilized clinical variables, which are very specific for CAP (e.g., presence of infiltrations on chest x-ray) or may not be available and gathered on a routine basis (e.g., specific laboratory values) which hinders scalability and may impede implementation in certain hospitals or patient cohorts due to modest data availability on a population level and in routine care.

With regard to ML application for outcome prediction in patients with respiratory diseases, Hu et al. presented a retrospective study on 336 cases with severe influenza. XGBoost and RF algorithms provided an AUC of 0.842 and 0.809 in predicting 30-day mortality and outperformed LR and certain clinical prognostic scores (PSI, APACHE II) which highlights the usefulness of ML for outcome assessment also in critically ill patients [15]. From our perspective, limitations especially regarding applicability in the study by Hu et al. arise in view of the small case number and choice of a large variable set (76 variables). In a recently published US study, ML algorithms were applied using PSI-specific and additional variables derived from electronic health records (EHR) of 297,498 CAP patients [14]. The ML methods outperformed LR among different models in predicting 30-day mortality (AUC range 0.83–0.87). These results compare well with our observations on the discriminatory performance of ML approaches whereas significant superiority to GLM could not be demonstrated. This may indicate a good consistency between administrative and EHR datasets albeit different patient populations can only be compared with each other to a limited extent.

Another interesting approach to predict patient-specific mortality in CAP was reported by Wu et al. It comprised disjunctive normal forms learning algorithms which were compared to ML with promising results [16]. However, comparability to this study is very limited as specific cytokines, cell surface markers and single nucleotide polymorphisms were used as underlying variables for the models.

We assessed the predictive abilities of our algorithms not only with ROC AUC but also with AUPRC and calibration plots. The two best performing algorithms (XGBoost and NNET) also showed very good calibration (Fig. 3, Table 3). When evaluating models trained on datasets with a high outcome imbalance, precision-recall curves are often preferred over ROC curves [42]. In our case, we observed 11.6% in-hospital mortality and therefore a relatively low rate of true positives. Hence, the AUPRC is an important metric for performance evaluation of our ML models. When interpreting AUPRC values, the true positive rate in the dataset has to be considered, meaning that a value of 0.389 (XGBoost, Table 2) suggests good discrimination. However, none of the above-discussed studies presented precision-recall curves, so models had to be compared by means of ROC AUC as the most frequently utilized metric.

Clinical risk scores

As mentioned before, several well-established risk scores for SARI patients exist which represent important clinical tools and can help treating physicians to assess SARI severity and the individual mortality risk at the time of the patient’s hospital admission, for example in an emergency room setting. The more complex PSI which comprises comorbidities, clinical parameters and results from laboratory analyses and instrumental examinations tends to provide better accuracy in predicting 30-day mortality when compared to CURB-65 [22] and A-DROP [41] with respective AUCs for PSI in the range of 0.72–0.89 [22].

Clinical application

Our proposed mortality prediction models should be broadly applicable in clinical routine practice as administrative data is commonly available in hospital information systems (HIS). Automatic data extraction and implementation of risk score calculators in the HIS is conceivable. Individual risk prediction at the time point of the patients’ hospital admission or after a SARI diagnosis is established during a hospital stay could assist the physician in estimating disease severity. For CAP, it has been shown that this initial assessment of disease severity is crucial [43]. Differentiation between high risk and low risk patients would ultimately improve clinical decision-making and the quality of patient care.

In a population-based approach, these models can furthermore be used to calculate standardized mortality ratios for different patient cohorts, differentiated for instance according to specific geographic regions, time periods and hospitals and can hence serve as a basis for quality of care evaluation and assurance. However, external validation of our models among different patient cohorts is required to prove applicability and its benefits.

Limitations

We acknowledge several limitations in connection with this study. First, we used retrospectively collected data only which is widely seen as of inferior quality in comparison to prospective studies. However, as has been shown above, mortality rates in our dataset did not differ markedly when compared to prospective studies. Second, some limitations must be attributed to claims-based datasets in general, as the collected data is not stored for research purposes but for administrative and remuneration reasons. The validity of the datasets is dependent on correct coding and cannot always be ensured if no control variables exist (e.g., medical records) as has been stated before [44]. However, the above mentioned work by Bratzler et al. [17] showed good correlation of claims data with EMR in pneumonia patients. Additionally, we must acknowledge that this kind of correlation and validation analysis by using EMR was not performed in our study. Third, we acknowledge that no validation to an external dataset took place. However, the dataset was derived from a network consisting of 86 hospitals in different German areas and therefore reflects well the nationwide state of patient care in context of SARI. Fourth, inclusion of more specific variables like laboratory values etc. could have improved the model accuracy but as our aim was to develop easy to apply models this was not found necessary.

Conclusion

Our results show that the application of ML algorithms together with the use of routinely available administrative data is feasible for mortality prediction in SARI patients. In a large real-world multicenter cohort, ML approaches performed slightly better when compared to regression analysis. Implementation of our models into a clinical or quality management context could contribute decisively to risk stratification and hospital benchmarking respectively and ultimately could improve the quality of patient care.

Data availability

The data that support the findings of this study are not publicly available as they contain information that could compromise the privacy of research participants but are available from the corresponding author, Mr. Johannes Leiner (Johannes.leiner@helios-gesundheit.de) upon reasonable request. Same applies for the code used in development of our machine learning models.

Abbreviations

A-DROP:

Age, dehydration, respiratory failure, orientation disturbance, blood pressure

APACHE II:

Acute physiology and chronic health evaluation score II

AUC:

Receiver operating characteristic area under the curve

AUPRC:

Area under the precision-recall curve

CAP:

Community acquired pneumonia

CI:

Confidence interval

COVID-19:

Coronavirus disease 2019

CURB-65:

Confusion, urea, respiratory rate, blood pressure, age ≥ 65

EHR:

Electronic health records

EMR:

Electronic medical records

GLM:

Generalized linear models

HF:

Heart failure

HIS:

Hospital information system

HSMR:

Hospital standardized mortality ratio

ICD:

International Statistical Classification of Diseases

IC-GLOSSARI:

Intensive Care GLObal Study on Severe Acute Respiratory Infection

ICOSARI:

ICD-10-code based SARI-surveillance in Germany

NNET:

Single layer neural network

PSI:

Pneumonia Severity Index

RF:

Random forest

RKI:

Robert-Koch-Institute

ROC:

Receiver operating characteristic

SARI:

Severe acute respiratory infection

SARS-CoV2:

Severe acute respiratory syndrome coronavirus 2

SHAP:

Shapley Additive exPlanations

SOFA:

Sequential organ failure assessment

SPRINT-SARI:

Short PeRiod IncideNce sTudy of Severe Acute Respiratory Infection

WHO:

World Health Organization

XGBoost:

Extreme gradient boosting

References

  1. SPRINT-SARI-Investigators: For the SPRINT-SARI-Investigators: using research to prepare for outbreaks of severe acute respiratory infection. BMJ Global Health 2019, 4:e001061.

  2. Fitzner J, Qasmieh S, Mounts AW, Alexander B, Besselaar T, Briand S, Brown C, Clark S, Dueger E, Gross D, et al. Revision of clinical case definitions: influenza-like illness and severe acute respiratory infection. Bull World Health Organ. 2018;96:122–8.

    Article  Google Scholar 

  3. Kumar A. Critically Ill patients with 2009 influenza A(H1N1) infection in Canada. JAMA. 1872;2009:302.

    Google Scholar 

  4. Martirosyan L, Paget WJ, Jorgensen P, Brown CS, Meerhoff TJ, Pereyaslov D, Mott JA. The community impact of the 2009 influenza pandemic in the WHO European Region: a comparison with historical seasonal data from 28 countries. BMC Infect Dis. 2012;12:36.

    Article  Google Scholar 

  5. Troeger C, Forouzanfar M, Rao PC, Khalil I, Brown A, Swartz S, Fullman N, Mosser J, Thompson RL, Reiner RC, et al. Estimates of the global, regional, and national morbidity, mortality, and aetiologies of lower respiratory tract infections in 195 countries: a systematic analysis for the Global Burden of Disease Study 2015. Lancet Infect Dis. 2017;17:1133–61.

    Article  Google Scholar 

  6. Murthy S, Archambault PM, Atique A, Carrier FM, Cheng MP, Codan C, Daneman N, Dechert W, Douglas S, Fiest KM, et al. Characteristics and outcomes of patients with COVID-19 admitted to hospital and intensive care in the first phase of the pandemic in Canada: a national cohort study. CMAJ Open. 2021;9:E181–8.

    Article  Google Scholar 

  7. Sakr Y, Ferrer R, Reinhart K, Beale R, Rhodes A, Moreno R, Timsit JF, Brochard L, Thompson BT, Rezende E, Chiche JD. The Intensive Care Global Study on Severe Acute Respiratory Infection (IC-GLOSSARI): a multicenter, multinational, 14-day inception cohort study. Intensive Care Med. 2016;42:817–28.

    Article  Google Scholar 

  8. Buda S, Tolksdorf K, Schuler E, Kuhlen R, Haas W. Establishing an ICD-10 code based SARI-surveillance in Germany – description of the system and first results from five recent influenza seasons. BMC Public Health. 2017. https://doi.org/10.1186/s12889-017-4515-1.

    Article  PubMed  PubMed Central  Google Scholar 

  9. Shamout F, Zhu T, Clifton DA. Machine learning for clinical outcome prediction. IEEE Rev Biomed Eng. 2021;14:116–26.

    Article  Google Scholar 

  10. Abdulaal A, Patel A, Charani E, Denny S, Alqahtani SA, Davies GW, Mughal N, Moore LSP. Comparison of deep learning with regression analysis in creating predictive models for SARS-CoV-2 outcomes. BMC Med Inform Decis Mak. 2020. https://doi.org/10.1186/s12911-020-01316-6.

    Article  PubMed  PubMed Central  Google Scholar 

  11. Ning W, Lei S, Yang J, Cao Y, Jiang P, Yang Q, Zhang J, Wang X, Chen F, Geng Z, et al. Open resource of clinical data from patients with pneumonia for the prediction of COVID-19 outcomes via deep learning. Nat Biomed Eng. 2020;4:1197–207.

    Article  CAS  Google Scholar 

  12. Zhu JS, Ge P, Jiang C, Zhang Y, Li X, Zhao Z, Zhang L, Duong TQ. Deep-learning artificial intelligence analysis of clinical variables predicts mortality in COVID-19 patients. J Am Coll Emerg Physicians Open. 2020. https://doi.org/10.1002/emp2.12205.

    Article  PubMed  PubMed Central  Google Scholar 

  13. Cooper GF, Abraham V, Aliferis CF, Aronis JM, Buchanan BG, Caruana R, Fine MJ, Janosky JE, Livingston G, Mitchell T, et al. Predicting dire outcomes of patients with community acquired pneumonia. J Biomed Inform. 2005;38:347–66.

    Article  Google Scholar 

  14. Jones BE, Ying J, Nevers M, Alba PR, He T, Patterson OV, Jones MM, Stevens V, Shen J, Humpherys J, et al. Computerized mortality prediction for community-acquired pneumonia at 117 VA medical centers. Ann Am Thorac Soc. 2021. https://doi.org/10.1513/AnnalsATS.202011-1372OC.

    Article  PubMed  PubMed Central  Google Scholar 

  15. Hu C-A, Chen C-M, Fang Y-C, Liang S-J, Wang H-C, Fang W-F, Sheu C-C, Perng W-C, Yang K-Y, Kao K-C, 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: e033898.

    Article  Google Scholar 

  16. Wu C, Rosenfeld R, Clermont G. Using data-driven rules to predict mortality in severe community acquired pneumonia. PLoS ONE. 2014;9: e89053.

    Article  Google Scholar 

  17. Bratzler DW, Normand S-LT, Wang Y, O'Donnell WJ, Metersky M, Han LF, Rapp MT, Krumholz HM: An Administrative Claims Model for Profiling Hospital 30-Day Mortality Rates for Pneumonia Patients. PLoS ONE 2011, 6:e17401.

  18. Uematsu H, Kunisawa S, Sasaki N, Ikai H, Imanaka Y. Development of a risk-adjusted in-hospital mortality prediction model for community-acquired pneumonia: a retrospective analysis using a Japanese administrative database. BMC Pulm Med. 2014;14:203.

    Article  Google Scholar 

  19. Lim WS. Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study. Thorax. 2003;58:377–82.

    Article  CAS  Google Scholar 

  20. Bauer TT, Ewig S, Marre R, Suttorp N, Welte T. CRB-65 predicts death from community-acquired pneumonia*. J Intern Med. 2006;260:93–101.

    Article  CAS  Google Scholar 

  21. Fine MJ, Auble TE, Yealy DM, Hanusa BH, Weissfeld LA, Singer DE, Coley CM, Marrie TJ, Kapoor WN. A Prediction rule to identify low-risk patients with community-acquired pneumonia. N Engl J Med. 1997;336:243–50.

    Article  CAS  Google Scholar 

  22. Aujesky D, Fine MJ. The pneumonia severity index: a decade after the initial derivation and validation. Clin Infect Dis. 2008;47(Suppl 3):S133-139.

    Article  Google Scholar 

  23. Di Tanna GL, Wirtz H, Burrows KL, Globe G. Evaluating risk prediction models for adults with heart failure: A systematic literature review. PLoS ONE. 2020;15: e0224135.

    Article  Google Scholar 

  24. Rahimi K, Bennett D, Conrad N, Williams TM, Basu J, Dwight J, Woodward M, Patel A, McMurray J, MacMahon S. Risk prediction in patients with heart failure: a systematic review and analysis. JACC Heart Fail. 2014;2:440–6.

    Article  Google Scholar 

  25. Adler ED, Voors AA, Klein L, Macheret F, Braun OO, Urey MA, Zhu W, Sama I, Tadel M, Campagnari C, et al. Improving risk prediction in heart failure using machine learning. Eur J Heart Fail. 2020;22:139–47.

    Article  Google Scholar 

  26. König S, Pellissier V, Hohenstein S, Bernal A, Ueberham L, Meier-Hellmann A, Kuhlen R, Hindricks G, Bollmann A. Machine ​learning algorithms for claims data-based prediction of in-hospital mortality in patients with heart failure. ESC Heart Fail. 2021. https://doi.org/10.1002/ehf2.13398.

    Article  PubMed  PubMed Central  Google Scholar 

  27. Bundesinstitut für Arzneimittel und Medizinprodukte (Federal Institute for Drugs and Medical Devices): International Statistical Classification of Diseases and Related Health Problems, 10. Revision, German Modification, Version 2021. https://www.dimdi.de/static/de/klassifikationen/icd/icd-10-gm/kode-suche/htmlgm2021/#X. Accessed 22 March 2022.

  28. Quan H, Sundararajan V, Halfon P, Fong A, Burnand B, Luthi JC, Saunders LD, Beck CA, Feasby TE, Ghali WA. Coding algorithms for defining comorbidities in ICD-9-CM and ICD-10 administrative data. Med Care. 2005;43:1130–9.

    Article  Google Scholar 

  29. Moore BJ, White S, Washington R, Coenen N, Elixhauser A. Identifying increased risk of readmission and in-hospital mortality using hospital administrative data: the AHRQ Elixhauser comorbidity index. Med Care. 2017;55:698–705.

    Article  Google Scholar 

  30. Lundberg SM, Lee S-I: A unified approach to interpreting model predictions. In: Proceedings of the 31st International Conference on Neural Information Processing Systems. pp. 4768-4777. Long Beach, California, USA: Curran Associates Inc.; 2017:4768-4777.

  31. Huang Y, Li W, Macheret F, Gabriel RA, Ohno-Machado L. A tutorial on calibration measurements and calibration models for clinical prediction models. J Am Med Inform Assoc. 2020;27:621–33.

    Article  Google Scholar 

  32. DeLong ER, DeLong DM, Clarke-Pearson DL. Comparing the areas under two or more correlated receiver operating characteristic curves: a nonparametric approach. Biometrics. 1988;44:837–45.

    Article  CAS  Google Scholar 

  33. Tolksdorf KBS, Schuler E, Wieler LH, Haas W. Eine höhere Letalität und lange Beatmungsdauer unterscheiden COVID-19 von schwer verlaufenden Atemwegsinfektionen in Grippewellen. Epid Bull. 2020;2020(41):3–10.

    Google Scholar 

  34. Kompaniyets L, Goodman AB, Belay B, Freedman DS, Sucosky MS, Lange SJ, Gundlapalli AV, Boehmer TK, Blanck HM. Body mass index and risk for COVID-19-related hospitalization, intensive care unit admission, invasive mechanical ventilation, and death—United States, March-December 2020. Morb Mortal Wkly Rep. 2021;70:355–61.

    Article  CAS  Google Scholar 

  35. Sakr Y, Alhussami I, Nanchal R, Wunderink RG, Pellis T, Wittebole X, Martin-Loeches I, François B, Leone M, Vincent JL. Being overweight is associated with greater survival in ICU patients: results from the intensive care over nations audit. Crit Care Med. 2015;43:2623–32.

    Article  Google Scholar 

  36. Ni Y-N, Luo J, Yu H, Wang Y-W, Hu Y-H, Liu D, Liang B-M, Liang Z-A. Can body mass index predict clinical outcomes for patients with acute lung injury/acute respiratory distress syndrome? A meta-analysis. Crit Care. 2017. https://doi.org/10.1186/s13054-017-1615-3.

    Article  PubMed  PubMed Central  Google Scholar 

  37. Krumholz HM, Wang Y, Mattera JA, Wang Y, Han LF, Ingber MJ, Roman S, Normand S-LT. An administrative claims model suitable for profiling hospital performance based on 30-day mortality rates among patients with an acute myocardial infarction. Circulation. 2006;113:1683–92.

    Article  Google Scholar 

  38. Krumholz HM, Wang Y, Mattera JA, Wang Y, Han LF, Ingber MJ, Roman S, Normand S-LT. An administrative claims model suitable for profiling hospital performance based on 30-day mortality rates among patients with heart failure. Circulation. 2006;113:1693–701.

    Article  Google Scholar 

  39. Khera R, Krumholz HM. With great power comes great responsibility. Circulation. 2017;10:e003846.

    PubMed  Google Scholar 

  40. Konig S, Ueberham L, Schuler E, Wiedemann M, Reithmann C, Seyfarth M, Sause A, Tebbenjohanns J, Schade A, Shin DI, et al. In-hospital mortality of patients with atrial arrhythmias: insights from the German-wide Helios hospital network of 161,502 patients and 34,025 arrhythmia-related procedures. Eur Heart J. 2018;39:3947–57.

    Article  Google Scholar 

  41. Ahn JH, Choi EY. Expanded A-DROP score: a new scoring system for the prediction of mortality in hospitalized patients with community-acquired pneumonia. Sci Rep. 2018. https://doi.org/10.1038/s41598-018-32750-2.

    Article  PubMed  PubMed Central  Google Scholar 

  42. Davis J, Goadrich M. The relationship between Precision-Recall and ROC curves. In: Proceedings of the 23rd international conference on Machine learning. Pittsburgh, Pennsylvania, USA: Association for Computing Machinery; 2006; pp. 233-240.

  43. Mandell LA, Wunderink RG, Anzueto A, Bartlett JG, Campbell GD, Dean NC, Dowell SF, File TM, Musher DM, Niederman MS, et al. Infectious diseases Society of America/American Thoracic Society consensus guidelines on the management of community-acquired pneumonia in adults. Clin Infect Dis. 2007;44:S27–72.

    Article  CAS  Google Scholar 

  44. Johnson EK, Nelson CP. Values and pitfalls of the use of administrative databases for outcomes assessment. J Urol. 2013;190:17–8.

    Article  Google Scholar 

Download references

Acknowledgements

Not applicable.

Funding

Open Access funding enabled and organized by Projekt DEAL. This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Author information

Authors and Affiliations

Authors

Contributions

JL and VP contributed equally to this manuscript in view of study design, data analysis and interpretation and the writing of the manuscript (joint first-authorship). SK, SH, LU, IN, AMH, RK, GH, AB contributed substantially to the study design, data analysis and interpretation and revision of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Johannes Leiner.

Ethics declarations

Ethics approval and consent to participate

The analysis was carried out according to the principles outlined in the Declaration of Helsinki. Patient-related data were stored in a anonymized form. The local ethics committee (vote: AZ490/20-ek) and the Helios Kliniken GmbH data protection authority approved data use for this study. Due to the retrospective study of anonymized data, informed consent has not been obtained.

Consent for publication

Not applicable.

Competing interests

We declare no conflicts of interest associated with this publication.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1: Table S1.

ICD-10-GM-codes used to calculate Elixhauser comorbidity score (according to Moore et al. [29]). Table S2. Baseline characteristics total dataset, training and testing cohort. Table S3. DeLong’s test for pairwise comparison of ROC AUCs. Table S4. Performance metrics (model testing). Figure S1. SHAP (SHapley Additive exPlanations) analysis for variable importance

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Leiner, J., Pellissier, V., König, S. et al. Machine learning-derived prediction of in-hospital mortality in patients with severe acute respiratory infection: analysis of claims data from the German-wide Helios hospital network. Respir Res 23, 264 (2022). https://doi.org/10.1186/s12931-022-02180-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12931-022-02180-w

Keywords