Skip to main content
Annals of the American Thoracic Society logoLink to Annals of the American Thoracic Society
letter
. 2022 Apr 1;19(4):697–701. doi: 10.1513/AnnalsATS.202107-787RL

External Validation of a Risk Score for Daily Prediction of Atrial Fibrillation among Critically Ill Patients with Sepsis

Justin M Rucci 1,*, Nicholas A Bosch 1, Emily K Quinn 2, Ki H Chon 3, David D McManus 4, Allan J Walkey 1
PMCID: PMC8996280  PMID: 34914569

To the Editor:

Atrial fibrillation (AF) occurs frequently among patients with sepsis (13) and is associated with short- and long-term morbidity and mortality (1, 4). Predicting which patients will develop AF during sepsis can enrich trials that seek to study and prevent AF in critical illness and may aid management decisions for clinicians. One prior risk score has been developed to predict new-onset AF among critically ill patients with sepsis (5), but this has not been validated outside of the original publication. We sought to externally validate performance of AF prediction in a cohort of critically ill patients with sepsis.

Methods

The transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD) checklist was used to design and conduct this study (6). We used the Medical Information Mart for Intensive Care III data set (7), which consists of data from ∼60,000 intensive care unit (ICU) admissions at a single U.S. tertiary-care hospital. We identified adult patients (⩾18 yr) admitted to the ICU with sepsis. Sepsis was defined by an International Classification of Disease, Ninth Revision code for sepsis or a combination of International Classification of Disease, Ninth Revision codes for infection and organ dysfunction (8). The initial admission was used for patients with multiple ICU stays. Individuals with preexisting AF, or AF documented before ICU admission, were excluded.

The primary outcome of new AF occurrence was assessed by hourly nurse-charted heart rhythms (9) and defined as any occurrence of AF in the ensuing 24 hours. Definitions for model variables were similar to the original prediction model (5) with the exception of immunosuppression (unavailable data fields for administration of steroids and outpatient immunosuppressive medications). Data were collected for the first 7 days of ICU admission to harmonize with the reference study. Time-varying explanatory variables were aggregated over each 24-hour period: potassium farthest from 4 mmol/L, highest fraction of inspired oxygen, and highest degree of inflammation. The last observation carried forward was used to impute missing time-varying variables. Multiple imputation with chained equations was used to impute missing baseline covariates across 10 imputed data sets (10). Sensitivity analyses were performed using complete cases and limiting to patients aged ⩾40 years; subgroup analyses assessed performance across ICU types.

We assessed external validity of the original prediction model (5) in predicting AF occurrence in the ensuing 24 hours in a novel cohort, evaluating the same performance measures as the initial study: discrimination was assessed using C-statistic, goodness of fit with a modified Hosmer–Lemeshow (HL) test accounting for large sample size (11), and calibration by plotting the observed versus predicted risk of AF, and using an integrated calibration index (ICI) (12) that calculates the weighted difference between observed and predicted AF rate. In addition, we determined positive predictive value (PPV) for the model at the optimal cut-point of sensitivity and specificity based on Youden’s index (13). We then revised the model in a training cohort (random 75% subset of patients in our data set), and test cohort (remaining 25% of patients), using the same covariates but recalculating intercept and β estimates. All statistical analyses were performed with R version 3.6.1 in R-studio version 1.2.1355. This study was designated by the Boston University Institutional Review Board as not human subjects research.

Results

From 2007 to 2012, 12,304 adult patients were admitted with sepsis, among whom 7,844 had available nurse-charted heart rhythms and no AF before ICU admission. During the first 7 days of admission, 554 (7%) patients developed new AF. Values for pertinent covariates at time of ICU admission, compared with the reference study, are shown in Table 1. Applying the original model to the Medical Information Mart for Intensive Care III cohort demonstrated weak discrimination (C-statistic = 0.598; 95% confidence interval [CI], 0.587–0.609), poor goodness of fit (modified HL chi-square = 6,847; P < 0.001), and ICI of 0.15 for new-onset AF (Figure 1). PPV of the model determined at the optimal sensitivity and specificity (Youden’s index 0.13) was 7.6% (95% CI, 7.3–8.1%).

Table 1.

Characteristics of patients admitted to the ICU with sepsis

  External Validation Cohort
Initial Derivation Cohort
No AF (n = 7,290) Developed AF (n = 554) No AF (n = 1,364) Developed AF (n = 418)
Patient characteristics        
 Age, yr 67 (54–79) 76 (66–83) 57 (45–67) 66 (59–73)
 Sex, female 3,406 (47) 239 (43) 593 (43) 155 (37)
 Race/ethnicity        
  Black 677 (9) 32 (6)
  White 5,202 (71) 420 (76) 1,173 (86) 381 (91)
  Hispanic 222 (3) 8 (1)
  Asian 186 (3) 9 (2)
  Other 217 (3) 10 (2)
  Unknown 786 (11) 75 (14)
 Obesity (BMI > 30 kg/m2)* 1,746 (33) 167 (37) 214 (16) 84 (20)
Admission characteristics        
 Immunosuppressed 253 (4) 15 (3) 335 (25) 125 (30)
 Use of vasopressors or inotropes 2,501 (34) 261 (47) 787 (58) 330 (79)
 Renal failure§ 3,094 (42) 279 (50) 523 (38) 186 (44)
 Serum K+* 4.3 (3.5–5) 4.5 (3.6–5.1) 4.4 (4.1–4.9) 4.6 (4.2–5.1)
 Highest FiO2* 0.5 (0.3–0.7) 0.6 (0.4–0.9)
 Inflammation*ǁ        
  None 4,170 (58) 308 (56) 327 (24) 85 (20)
  Moderate 2,657 (37) 210 (38) 529 (39) 145 (35)
  Severe 426 (6) 30 (6) 508 (37) 188 (45)
Outcome        
 ICU mortality 1,411 (19) 185 (33) 191 (14) 120 (29)
 90-d mortality 409 (30) 195 (47)
 1-yr mortality 546 (40) 254 (61)

Definition of abbreviations: AF = atrial fibrillation; BMI = body mass index; FiO2 = fraction of inspired oxygen; ICU = intensive care unit; K+ = potassium.

Data are expressed as n (%) or median (interquartile range). Percentages may not sum to 100% because of rounding.

*

Covariate missingness in validation cohort (% missing): obesity (24%), serum K+ (6%), inflammation (5%), and FiO2 (3%).

Derivation cohort definition: prior use of corticosteroids in high doses (equivalent to prednisolone >75 mg/d for at least 1 wk), acquired immunodeficiency syndrome, current use of immunosuppressive drugs, current use of antineoplastic drugs, recent hematologic malignancy, and any documented humoral or cellular deficiency. Validation cohort definition: human immunodeficiency virus, acquired immunodeficiency syndrome, and hematologic malignancy.

Medications assessed in the derivation cohort: norepinephrine, epinephrine, dobutamine, and milrinone. Medications assessed in the validation cohort: norepinephrine, epinephrine, dobutamine, milrinone, vasopressin, phenylephrine, and dopamine.

§

Creatinine ⩾1.36 mg/dl or use of renal replacement therapy.

ǁ

Moderate inflammation: white blood cell count 15–29.9 × 109/L or C-reactive protein 70–149.9 mg/L. Severe inflammation: white blood cell count ⩾30 × 109/L or C-reactive protein ⩾150 mg/L.

Figure 1.


Figure 1.

Test performance of an existing prediction model for new-onset atrial fibrillation in an external validation cohort. (A) Receiver operating characteristic curve for prediction of new-onset atrial fibrillation in the next 24 hours. Area under the receiver operating characteristic curve = 0.598 (95% confidence interval [CI], 0.587–0.609). (B) Calibration curve for prediction of new-onset atrial fibrillation in the next 24 hours. Each circle represents a grouping of patients by predicted probability of atrial fibrillation and the corresponding observed occurrence of atrial fibrillation. Bars show 95% CIs. A rug plot along the x-axis shows the distribution of observations.

Similar results were found in sensitivity analyses using a complete case cohort (n = 3,633; C-statistic = 0.580; 95% CI, 0.562–0.598; modified HL chi-square = 956; P < 0.001; ICI = 0.03; PPV = 7%; 95% CI, 6.8–7.8%) and limiting to patients aged ⩾40 years (n = 7,225; C-statistic = 0.566; 95% CI, 0.553–0.577; modified HL chi-square = 6,842; P < 0.001; ICI = 0.16; PPV = 7.9%; 95% CI, 7.5–8.3%). We found similar model performance in medical, surgical, and cardiac ICUs, with the ranges of performance across subgroups demonstrating C-statistic: 0.571–0.638, modified HL P < 0.001 (in all subgroups), ICI: 0.12–0.16, PPV: 6.7–10.6%.

We then assessed a revised model using the same covariates but updated intercept and β-estimates in the test cohort. Notable changes in the updated model included the variables of inflammation and immunosuppression no longer showing strong associations with new-onset AF, and reversal in the direction of effect of duration of ICU stay. Evaluation of this model in the validation cohort showed improvements in performance (C-statistic = 0.755; 95% CI, 0.734–0.774; modified HL chi-square = 17; P = 0.033; ICI = 0.01; PPV = 10.7%; 95% CI, 9.1–13.9%) (Figure 2).

Figure 2.


Figure 2.

Test performance of an updated prediction model for new-onset atrial fibrillation. (A) Receiver operating characteristic curve for prediction of new-onset atrial fibrillation in the next 24 hours. Area under the receiver operating characteristic curve = 0.755 (95% confidence interval [CI], 0.734–0.774). (B) Calibration curve for prediction of new-onset atrial fibrillation in the next 24 hours. Each circle represents a grouping of patients by predicted probability of atrial fibrillation and the corresponding observed occurrence of atrial fibrillation. Bars show 95% CIs. A rug plot along the x-axis shows the distribution of observations.

Discussion

We validated a risk score designed to predict development of AF during sepsis in an external cohort. Both model discrimination (from C-statistic 0.8 in the original study to 0.598 in the current cohort) and goodness of fit (HL chi-square test 9.6 to 6,847) worsened markedly when applying an unmodified model to an external validation sample. However, model performance improved modestly (C-statistic = 0.755, HL test = 17) after revising the model estimates for performance in the new cohort, though all models had low PPV for new-onset AF. These findings have general ramifications for prediction model development and validation in the ICU setting and AF prediction in particular.

Our findings provide further examples of poor model performance in the ICU setting when applying prediction models to external cohorts (1416) and show the importance of rigorous external validation before implementation of risk prediction models. In the context of the current study, loss of predictive validity may be due to differences in case mix, small sample size in the initial derivation cohort, or differences in the rate of the outcome of interest. The proportion of patients who developed AF (7%) in our cohort was lower than the 23% reported in the reference study (5) but consistent with prior literature (1, 3) showing an incidence of new AF among 6–10% of ICU patients with sepsis.

Although external validation of the original AF prediction model in a new cohort yielded poor discrimination and goodness of fit, improved performance of a revised model showed that statistical adaptation of models to a new context can be feasible. Although the calibration of the updated model is improved overall (ICI 0.01 vs. 0.15 in our initial model), the worsening calibration at higher risk levels (e.g., >50% risk) seen in the calibration plot suggests that the model may require further improvements to provide reliable enrichment of clinical trials for patients at high risk for new-onset AF. Our findings highlight the patient factors that demonstrate consistent association with new-onset AF across ICU settings, and building models that include these elements while adding other types of data (17) may further enhance risk prediction.

There are important strengths to this study. It was based on a large cohort of 7,844 patients and more than six times the number of observations in the original derivation cohort, with comparable inclusion criteria and similar variable definitions as the original model. Potential limitations include data from a single U.S. academic center, missing data, and claims-based definitions of sepsis. However, sensitivity analyses confirmed the robustness of our findings across different means of handling missingness.

Conclusions

A previously designed prediction model that predicted daily risk of new-onset AF among ICU patients with sepsis did not perform well in an external validation cohort. Further research is needed to design tools that effectively predict AF occurrence across diverse cohorts of patients with sepsis.

Footnotes

Supported by U.S. National Heart, Lung, and Blood Institute grant R01HL136660.

Author Contributions: J.M.R., N.A.B., and A.J.W. were involved in conceptual design, data acquisition, analysis, interpretation, and manuscript preparation. E.K.Q. was involved in data acquisition. J.M.R., N.A.B., E.K.Q., K.H.C., D.D.M., and A.J.W. were involved in revising the manuscript for important intellectual content, approved the final version submitted for publication, and are in agreement with the accuracy and integrity of the submitted work.

Author disclosures are available with the text of this letter at www.atsjournals.org.

References

  • 1. Walkey AJ, Wiener RS, Ghobrial JM, Curtis LH, Benjamin EJ. Incident stroke and mortality associated with new-onset atrial fibrillation in patients hospitalized with severe sepsis. JAMA . 2011;306:2248–2254. doi: 10.1001/jama.2011.1615. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Meierhenrich R, Steinhilber E, Eggermann C, Weiss M, Voglic S, Bögelein D, et al. Incidence and prognostic impact of new-onset atrial fibrillation in patients with septic shock: a prospective observational study. Crit Care . 2010;14:R108. doi: 10.1186/cc9057. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Walkey AJ, Greiner MA, Heckbert SR, Jensen PN, Piccini JP, Sinner MF, et al. Atrial fibrillation among Medicare beneficiaries hospitalized with sepsis: incidence and risk factors. Am Heart J . 2013;165:949–955.e3. doi: 10.1016/j.ahj.2013.03.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Walkey AJ, Hammill BG, Curtis LH, Benjamin EJ. Long-term outcomes following development of new-onset atrial fibrillation during sepsis. Chest . 2014;146:1187–1195. doi: 10.1378/chest.14-0003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Klein Klouwenberg PM, Frencken JF, Kuipers S, Ong DS, Peelen LM, van Vught LA, et al. MARS Consortium* Incidence, predictors, and outcomes of new-onset atrial fibrillation in critically ill patients with sepsis. A cohort study. Am J Respir Crit Care Med . 2017;195:205–211. doi: 10.1164/rccm.201603-0618OC. [DOI] [PubMed] [Google Scholar]
  • 6. Moons KG, Altman DG, Reitsma JB, Ioannidis JP, Macaskill P, Steyerberg EW, et al. Transparent Reporting of a multivariable prediction model for Individual Prognosis or Diagnosis (TRIPOD): explanation and elaboration. Ann Intern Med . 2015;162:W1–W73. doi: 10.7326/M14-0698. [DOI] [PubMed] [Google Scholar]
  • 7. Johnson AE, Pollard TJ, Shen L, Lehman LW, Feng M, Ghassemi M, et al. MIMIC-III, a freely accessible critical care database. Sci Data . 2016;3:160035. doi: 10.1038/sdata.2016.35. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Angus DC, Linde-Zwirble WT, Lidicker J, Clermont G, Carcillo J, Pinsky MR. Epidemiology of severe sepsis in the United States: analysis of incidence, outcome, and associated costs of care. Crit Care Med . 2001;29:1303–1310. doi: 10.1097/00003246-200107000-00002. [DOI] [PubMed] [Google Scholar]
  • 9. Ding EY, Albuquerque D, Winter M, Binici S, Piche J, Bashar SK, et al. Novel method of atrial fibrillation case identification and burden estimation using the MIMIC-III electronic health data set. J Intensive Care Med . 2019;34:851–857. doi: 10.1177/0885066619866172. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Zhang Z. Multiple imputation with multivariate imputation by chained equation (MICE) package. Ann Transl Med . 2016;4:30. doi: 10.3978/j.issn.2305-5839.2015.12.63. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Nattino G, Pennell ML, Lemeshow S. Assessing the goodness of fit of logistic regression models in large samples: a modification of the Hosmer-Lemeshow test. Biometrics . 2020;76:549–560. doi: 10.1111/biom.13249. [DOI] [PubMed] [Google Scholar]
  • 12. Austin PC, Steyerberg EW. The Integrated Calibration Index (ICI) and related metrics for quantifying the calibration of logistic regression models. Stat Med . 2019;38:4051–4065. doi: 10.1002/sim.8281. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Youden WJ. Index for rating diagnostic tests. Cancer . 1950;3:32–35. doi: 10.1002/1097-0142(1950)3:1<32::aid-cncr2820030106>3.0.co;2-3. [DOI] [PubMed] [Google Scholar]
  • 14. Damluji A, Colantuoni E, Mendez-Tellez PA, Sevransky JE, Fan E, Shanholtz C, et al. Short-term mortality prediction for acute lung injury patients: external validation of the Acute Respiratory Distress Syndrome Network prediction model. Crit Care Med . 2011;39:1023–1028. doi: 10.1097/CCM.0b013e31820ead31. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Görges M, Peters C, Murthy S, Pi S, Kissoon N. External validation of the “quick” Pediatric Logistic Organ Dysfunction-2 score using a large North American cohort of critically ill children with suspected infection. Pediatr Crit Care Med . 2018;19:1114–1119. doi: 10.1097/PCC.0000000000001729. [DOI] [PubMed] [Google Scholar]
  • 16. Witteveen E, Wieske L, Sommers J, Spijkstra JJ, de Waard MC, Endeman H, et al. Early prediction of intensive care unit-acquired weakness: a multicenter external validation study. J Intensive Care Med . 2020;35:595–605. doi: 10.1177/0885066618771001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Bashar SK, Ding EY, Walkey AJ, McManus DD, Chon KH. Atrial fibrillation prediction from critically ill sepsis patients. Biosensors (Basel) . 2021;11:269. doi: 10.3390/bios11080269. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from Annals of the American Thoracic Society are provided here courtesy of American Thoracic Society

RESOURCES