key: cord-0740333-cb74xc6r authors: Takhar, Arunjit; Surda, Pavol; Ahmad, Imran; Amin, Nikul; Arora, Asit; Camporota, Luigi; Denniston, Poppy; El-Boghdadly, Kariem; Kvassay, Miroslav; Macekova, Denisa; Munk, Michal; Ranford, David; Rabcan, Jan; Tornari, Chysostomos; Wyncoll, Duncan; Zaitseva, Elena; Hart, Nicholas; Tricklebank, Stephen title: Timing of Tracheostomy for Prolonged Respiratory Wean in Critically Ill Coronavirus Disease 2019 Patients: A Machine Learning Approach date: 2020-11-17 journal: Crit Care Explor DOI: 10.1097/cce.0000000000000279 sha: c0660aa593abbaa7d6b444ec84998ba453daf93f doc_id: 740333 cord_uid: cb74xc6r OBJECTIVES: To propose the optimal timing to consider tracheostomy insertion for weaning of mechanically ventilated patients recovering from coronavirus disease 2019 pneumonia. We investigated the relationship between duration of mechanical ventilation prior to tracheostomy insertion and in-hospital mortality. In addition, we present a machine learning approach to facilitate decision-making. DESIGN: Prospective cohort study. SETTING: Guy’s & St Thomas’ Hospital, London, United Kingdom. PATIENTS: Consecutive patients admitted with acute respiratory failure secondary to coronavirus disease 2019 requiring mechanical ventilation between March 3, 2020, and May 5, 2020. INTERVENTIONS: Baseline characteristics and temporal trends in markers of disease severity were prospectively recorded. Tracheostomy was performed for anticipated prolonged ventilatory wean when levels of respiratory support were favorable. Decision tree was constructed using C4.5 algorithm, and its classification performance has been evaluated by a leave-one-out cross-validation technique. MEASUREMENTS AND MAIN RESULTS: One-hundred seventy-six patients required mechanical ventilation for acute respiratory failure, of which 87 patients (49.4%) underwent tracheostomy. We identified that optimal timing for tracheostomy insertion is between day 13 and day 17. Presence of fibrosis on CT scan (odds ratio, 13.26; 95% CI [3.61–48.91]; p ≤ 0.0001) and Pao(2):Fio(2) ratio (odds ratio, 0.98; 95% CI [0.95–0.99]; p = 0.008) were independently associated with tracheostomy insertion. Cox multiple regression analysis showed that chronic obstructive pulmonary disease (hazard ratio, 6.56; 95% CI [1.04–41.59]; p = 0.046), ischemic heart disease (hazard ratio, 4.62; 95% CI [1.19–17.87]; p = 0.027), positive end-expiratory pressure (hazard ratio, 1.26; 95% CI [1.02–1.57]; p = 0.034), Pao(2):Fio(2) ratio (hazard ratio, 0.98; 95% CI [0.97–0.99]; p = 0.003), and C-reactive protein (hazard ratio, 1.01; 95% CI [1–1.01]; p = 0.005) were independent late predictors of in-hospital mortality. CONCLUSIONS: We propose that the optimal window for consideration of tracheostomy for ventilatory weaning is between day 13 and 17. Late predictors of mortality may serve as adverse factors when considering tracheostomy, and our decision tree provides a degree of decision support for clinicians. Objectives: To propose the optimal timing to consider tracheostomy insertion for weaning of mechanically ventilated patients recovering from coronavirus disease 2019 pneumonia. We investigated the relationship between duration of mechanical ventilation prior to tracheostomy insertion and in-hospital mortality. In addition, we present a machine learning approach to facilitate decision-making. Design: Prospective cohort study. Setting: Guy's & St Thomas' Hospital, London, United Kingdom. Patients: Consecutive patients admitted with acute respiratory failure secondary to coronavirus disease 2019 requiring mechanical ventilation between March 3, 2020, and May 5, 2020. Interventions: Baseline characteristics and temporal trends in markers of disease severity were prospectively recorded. Tracheostomy was performed for anticipated prolonged ventilatory wean when levels of respiratory support were favorable. Decision tree was constructed using C4.5 algorithm, and its classification performance has been evaluated by a leave-one-out cross-validation technique. Measurements and Main Results: One-hundred seventy-six patients required mechanical ventilation for acute respiratory failure, of which 87 patients (49.4%) underwent tracheostomy. We identified that optimal timing for tracheostomy insertion is between day 13 and day 17. Presence of fibrosis on CT scan (odds ratio, 13.26; 95% CI [3.61-48 .91]; p ≤ 0.0001) and Pao 2 :Fio 2 ratio (odds ratio, 0.98; 95% CI [0.95-0.99]; p = 0.008) were independently associated with tracheostomy insertion. Cox multiple regression analysis showed that chronic obstructive pulmonary disease (hazard ratio, 6.56; 95% CI [1.04-41 .59]; p = 0.046), ischemic heart disease (hazard ratio, 4.62; 95% CI [1.19-17.87 ]; p = 0.027), positive end-expiratory pressure (hazard ratio, 1.26; 95% CI [1.02-1.57]; p = 0.034), Pao 2 :Fio 2 ratio (hazard ratio, 0.98; 95% CI [0.97-0.99]; p = 0.003), and C-reactive protein (hazard ratio, 1.01; 95% CI [1-1.01]; p = 0.005) were independent late predictors of in-hospital mortality. Conclusions: We propose that the optimal window for consideration of tracheostomy for ventilatory weaning is between day 13 and 17. Late predictors of mortality may serve as adverse factors when T o date, there have been 12,539 admissions to critical care in United Kingdom, Wales, and Northern Ireland with coronavirus disease 2019 (COVID- 19) pneumonia (1) . Of those requiring mechanical ventilation (MV), the time to death of nonsurvivors has been reported as 10 days (5-17 d) (1) , whereas the duration of ventilation in survivors is between 20 and 27 days (1, 2) . Tracheostomy insertion to facilitate ventilatory weaning has an established role in the ICU, reducing the frequency of ventilator-associated pneumonia, duration of sedation, duration of MV, and length of stay in critical care (3, 4) . Although the timing of tracheostomy insertion is controversial, with no survival benefit demonstrated with earlier tracheostomy insertion (5), the general clinical consensus is tracheostomy insertion for weaning should be considered between 5 and 10 days of MV (4) (5) (6) . There are currently limited data regarding tracheostomy in critically ill coronavirus disease 2019 (COVID-19) patients. Some early case series have reported mortality rates of 7-12% when performing tracheostomy between 10 and 20 days of MV (7-9); however, these reports have limited follow-up periods and lack meaningful outcomes analysis. In our institution, tracheostomy has been performed in patients with COVID-19 for weaning of ventilation according to a standardized published protocol since the start of the pandemic (10) . A number of guidelines have been published with recommendations for the timing of tracheostomy in COVID-19 patients. In the United Kingdom, 14 days has been proposed (11, 12) , whereas North American guidelines have recommended 21 days (13, 14) . Most recently, an international consensus statement suggested that tracheostomy be delayed until at least day 10 of MV and considered only when patients are showing signs of clinical improvement (15, 16) . These approaches seek to balance the potential maximizing of clinical benefit to the patient while minimizing the risk of healthcare worker transmission and futility of intervention (15) . The aim of this study was to propose the optimal timing of tracheostomy insertion to facilitate ventilatory weaning by investigating the relationship between duration of MV prior to tracheostomy insertion and in-hospital mortality. Collected data were used to produce a decision tree using a machine-learning algorithm. This is a prospective, observational cohort study. We included consecutive patients (age ≥ 18 yr old) admitted to the ICU at Guy's and St Thomas' National Health Service (NHS) Foundation Trust between March 3, 2020, and May 5, 2020. As a regional referral center for extracorporeal membrane oxygenation (ECMO), and due to the creation of additional surge capacity for the South London operational delivery network, patients included both those admitted directly from within our institution and those transferred to us for clinical or capacity reasons. All patients included were diagnosed with laboratory-confirmed COVID-19 and were critically ill with acute hypoxemic respiratory failure receiving MV, of whom some underwent tracheostomy. Exclusion criteria were as follows: 1) patients who underwent tracheostomy for indications other than prolonged respiratory wean and 2) patients in whom baseline data were unavailable. Laboratory confirmation of severe acute respiratory syndrome coronavirus-2 infection was confirmed with reverse transcriptase polymerase chain reaction of nasopharyngeal, oropharyngeal, or tracheal samples. Patients were followed up until discharge from hospital or death. For patients still receiving inpatient care at the time of reporting, only those who had at least a 28-day follow-up period were included in the study. A sample size calculation was not performed, but a convenience sample of the defined time window of the study was selected. Using the NHS Health Research Authority decision tool, this project was determined to be a service evaluation, thereby not requiring ethical approval, and was registered with the institutional review board (Audit No: 10811) on March 23, 2020. All data were collected from electronic medical records and collected in line with the severe acute respiratory infection data tool (17) . Baseline characteristics collected included age, gender, ethnicity, body mass index (BMI), comorbidities, and the Acute Physiology and Chronic Health Evaluation II (APACHE) II score. We screened past medical history for diabetes mellitus, hypertension, ischemic heart disease, chronic obstructive pulmonary disease, asthma, chronic kidney disease, and smoking status. We assessed whether the patients were diagnosed with (1) thromboembolism (pulmonary, venous, or multiple) confirmed with imaging or (2) the presence of lung fibrosis was confirmed on reports of computerized tomography (recorded as a binary measure), as these have been recognized as disease-specific sequelae that adversely affect outcomes (18, 19) . We collected vital signs, markers of acute respiratory failure, and serum-based biomarkers of disease severity that were recorded at different time points during ICU admission. These variables were recorded at baseline (within first 24 hr of critical care admission) and at days 7, 10, and 14. If the patient was successfully weaned from MV or died prior to day 14, we used the last recorded measurements prior to that event. Variables included levels of respiratory support required the following: positive endexpiratory pressure (PEEP), Fio 2 , Pao 2 , Pao 2 :Fio 2 (PF) ratio, and requirement for ECMO. Serum biomarkers and vital signs included temperature, high-sensitivity C-reactive protein (CRP), d-dimers, and ferritin. We also collected data on other organ support requirements delivered including vasopressor agents and renal replacement therapy. These variables are herein collectively referred to as "clinical course". The primary outcome measure was in-hospital mortality. Secondary outcome measures were total duration of MV, requirement for tracheostomy, and time to hospital discharge. For the purposes of analysis, we categorized the cohort into four groups: • tracheostomy/alive (TT/A), • tracheostomy/died (TT/D), • no tracheostomy/alive (nTT/A), and • no tracheostomy/dead (nTT/D). The aim of the current study was to investigate the relationship between duration of MV prior to tracheostomy insertion and inhospital mortality and to propose the optimal time window for consideration of tracheostomy. We also sought to define the optimal timing based on clinical course of the disease, identify factors associated with tracheostomy insertion, and identify late predictors of in-hospital mortality. Performing the tracheostomy was deemed unsafe in patients requiring very high levels of ventilatory support as a period of apnea, or derecruitment was likely to lead to clinical deterioration. Requirement for prone positioning was also a contraindication to tracheostomy insertion in our institution due to potential risk of tube dislodgement or blockage. Thus, patients only received a tracheostomy if: 1) they were showing signs of clinical improvement (15), 2) there was no active or anticipated requirement for proning, and 3) they were on lower levels of ventilatory support. This was defined as a PEEP of less than or equal to 10 cm H 2 O and Fio 2 of less than or equal to 0.5. Data were summarized using frequency tables and summary statistics. The preferred method of analysis for continuous variables was parametric. Nonparametric analysis methods were used only if parametric assumptions could not be satisfied, even after data transformation attempts. Parametric model assumptions were assessed using Kolmogorov test and Levene's test for verification of homogeneity of variances. Missing data were not imputed. Kaplan-Meier estimates were used to identify the optimal window for timing of tracheostomy. Limits were defined as days (since start of MV) when survival (nTT/D) and probability of not being extubated (nTT/A) reached 10%. In addition, variables associated with tracheostomy insertion were obtained at day 14. Starting with the most significant variable in univariate analysis, we used a multiple binary logistic regression model to estimate odds ratios (ORs) for associated factors. We performed a logistic regression analysis to identify early (baseline) and late factors (day 14) associated with in-hospital mortality. Starting with the most significant variable in the univariate analysis, log-likelihood ratio was used to determine whether inclusion of a new variable improved the fit of the Cox regression multiple model. We then estimated hazard ratios (HRs) for death using the Cox proportional hazards model. We confirmed the proportional hazards assumption of the Cox models using the Schoenfeld residuals test. Continuous variables representing markers of acute hypoxemic respiratory failure and disease severity were analyzed using a repeated-measures analysis of variance to test for within-subject differences for individual parameters. For variables that violated Mauchly's test for sphericity, the Greenhouse-Geisser and Huynh-Feldt adjustments corrections were applied. Where significant differences were displayed, the Scheffe multiple range test was used post hoc to identify which time points were significantly different from the others included in this comparison. In case of dichotomous variables, the Cochran Q statistic was calculated. p value of less than 0.05 was considered statistically significant. Statistical analysis was performed with SPSS v. 20.0 (IBM Corp., Armonk, NY). A machine learning analytic process was used to produce a decision tree (21) of risk factors associated with in-hospital mortality as outcome based on day 14 variables and baseline characteristics. The goal of machine learning analysis is to create a model that predicts the value of a target variable (class) by learning simple decision rules inferred from the data features. Algorithms break down a dataset into smaller and smaller subsets, whereas at the same time an associated decision tree is incrementally developed. The final result is a tree with decision nodes and leaf nodes. We applied the C4.5 algorithm, and its classification performance has been evaluated by a leave-one-out cross-validation technique (22, 23) . This dataset was split into three subsets: training subset, test subset, and validation subset. The training subset was used to build the decision trees, and the test one was used to evaluate the generated classifiers, whereas the validation subset was used to clinically validate the developed prediction system. Separately, we calculated HRs for each final outcome using Cox regression analysis for enhanced clinical relevance. A total of 263 patients with laboratory-confirmed COVID-19 patients were admitted to ICU for MV between March 3, 2020, and May 5, 2020. Eighty-seven patients were excluded from analysis; 85 due to inadequate baseline data, and two due to alternative indication for tracheostomy (neurologic wean). One-hundred seventy-six patients were subsequently included for analysis with an overall mortality rate of 25% (44 nonsurvivors). Eighty-seven (49.4%) underwent tracheostomy at a median of 16 days (13-21 d) post intubation, and there were seven deaths (8.0%). For patients undergoing tracheostomy, the total duration of MV was 30 days (25-36 d). Of the 89 patients (50.6%) who did not receive a tracheostomy, 52 (58.4%) were successfully liberated from MV by day 7 (3-10.5), and 37 (41.6%) died at day 10 (6-13). Baseline characteristics, disease-specific sequelae, and outcomes are summarized in the Table 1 . The time to successful liberation from MV in nTT/A group was 7 days (3-10.5 d), and the day of death in nTT/D group was 10 (6) (7) (8) (9) (10) (11) (12) (13) (14) . In relation to the clinical course of disease, we observed that severely unwell patients (nTT/D) deteriorate rapidly despite maximal therapy. On the contrary, patients in the nTT/A group showed rapid signs of clinical improvement, and ventilation was ceased early. Finding the time points where the majority of patients in groups nTT/A and nTT/D are off MV or did not survive, would leave a group of patients that plateaued and would be suitable for consideration of tracheostomy to facilitate ventilatory weaning. Using Kaplan-Meier estimates, we identified days (since start of MV) when survival in nTT/D group and probability of not being extubated in nTT/A group dropped to 10%. These served as lower and upper bound of optimal timing window. By these criteria, the optimal time window for consideration of tracheostomy is day 13-17 post intubation (Fig. 2) . Univariate analysis showed that PEEP, Pao 2 , PF ratio, radiological lung fibrosis, and thromboembolism were factors significantly associated with tracheostomy insertion. Multiple binary regression analysis displayed PF ratio (OR, 0.98; 95% CI [0.95-0.99]; p = 0.008) and presence of fibrosis on CT scan (OR, 13.26; 95% CI [3.61-48.91]; p ≤ 0.0001) as independently associated factors ( Table 2) . We analyzed early (baseline) and late (day 14) predictors of inhospital mortality that may serve as adverse factors when considering tracheostomy. Table 2) . A decision tree based on gain ratio variable selection is presented in Figure 3 . The dataset used for tree induction consisted of 170 samples described by 20 variables. The target of classification was survival. The analysis of classification performance of the tree was focused on precision, recall, and classification accuracy. The classification evaluation shows that the accuracy is 74.9%, precision is 85.4%, and recall is 81.0%. We decided to reduce the decision tree to its clinically relevant section that does not visualize the branching of a small subset of patients. In this study, we analyzed the characteristics and clinical course of critically ill patients receiving MV and propose that optimal timing for consideration of tracheostomy to facilitate ventilatory weaning is between day 13 and 17. Since the tracheostomy group is arbitrary, and some factors such as age or PEEP may have a bimodal effect on risk ratio, we sought to identify a predictor that would reflect the natural disease course when considering tracheostomy. As a result, we chose in-hospital mortality to serve as the primary adverse factor. At the time-point identified, clinical variables and outcomes become sufficiently divergent to enable the clinician to identify patients that are likely to benefit from tracheostomy and minimize the risk of performing futile procedures. Although independent variables associated with in-hospital mortality identified in this study were consistent with existing large studies and national reports on critically ill COVID-19 patients (1, 2, 24, 25) , analysis of temporal changes in clinical course facilitated the additional identification of PEEP, PF ratio, and CRP as late factors that are independently associated with in hospital mortality. Despite the statistical significance of PF ratio, the association is marginal; therefore, its clinical significance is low. Our analysis of the clinical course identified that those who died underwent a rapid deterioration despite maximal management. The time to death for nonsurvivors in our study was 10 days (6-14 d) which is consistent with other studies of this population (1, 25, 28) . Waiting until after day 13, when probability of being extubated reached 90% appears a pragmatic recommendation that will both minimize futility and reduce the potential of performing unnecessary procedures on patients likely to recover irrespective of intervention. Particularly interesting findings were the increased prevalence of thromboembolism in the group of patients that had a tracheostomy. Additionally, a novel factor-presence of lung fibrosis-was an independent predictor of tracheostomy insertion. CRP also emerged as an independent predictor of both early and late mortality, with late pyrexia also associated. It is recognized that some patients with COVID-19 develop a severe hyperinflammatory state that is associated with cytokine storm syndrome (29) . CRP, ferritin, and persistent pyrexia are some of the factors that can help identify patients with hyperinflammation (30) . This process may account for our findings and supports the existing evidence (18, 19, 28, 29) . These findings suggest that patients with the sequelae of hyperinflammation who survive early critical care are more likely to require tracheostomy. Treatments that improve survival, such as dexamethasone (31) , are rapidly emerging, and this may have further implications upon these findings. Decision tree algorithms are considered as one of the most methodologically accepted classification techniques (21) . In our study, we applied the C4.5 algorithm which has been used in various medical disciplines, including intensive care (22, 23, 32) . The accuracy achieved in other studies was higher compared with our decision tree, and the limiting factors specific to this analysis were a relatively small sample size and increased disease complexity. For future work, applying the model on larger database would improve the accuracy of its prediction value. Despite these limitations, the accuracy was adequate to provide decision support for clinicians or at least provide them a second opinion. The main strengths of this study were to identify and provide an evidence-base to support an optimal timeframe for consideration of tracheostomy insertion for anticipated prolonged ventilatory weaning; this was further augmented by identifying late predictors of in-hospital mortality. The analysis, therefore, can aid clinicians in predicting which patients are likely to survive but may require tracheostomy. It can in turn be hypothesized that these are likely factors associated with prolonged ventilation, given the duration of ventilation in this group was 29 days, compared with 7 days in those who did not require a tracheostomy. The general limitations of this study include the population demographics, which were younger compared with the national cohort of patients receiving critical care (1). Furthermore, it represents a single-institution experience with a high volume of tertiary and regional referrals, with access to advanced therapies such as ECMO. We are aware that there are numerous factors, both clinical and nonclinical, that may influence decision-making and timing of tracheostomy in different institutions, which may subsequently limit the application of the decision tree. These complex interactions include variation in local protocols, as well as broader disease-specific treatment approaches, and resource implications such as bed numbers and clinical skill levels. However, the largest multicenter study to date of COVID tracheostomy in the United Kingdom has highlighted that timing of tracheostomy and respiratory variables were similar to those found in this study cohort (9) . Although this limits the generalizability of our findings, it conversely improves the homogeneity of intervention and reliability of data. These data can only be interpreted as hypothesis-generating, and prospective randomized trials would be required to definitively determine the optimal time frame for tracheostomy insertion in patients with COVID-19. There is increasing evidence that tracheostomy is indicated to aid the rehabilitation of ventilated COVID-19 patients. We propose that the optimal timing for tracheostomy insertion in terms of clinical outcome is between day 13 and day 17. This hypothesis will need to be tested in prospective, randomized clinical trials should further waves of the COVID-19 pandemic ensue. Last, our decision tree analysis may provide a degree of decision support for clinicians. Drs. Takhar and Surda are joint first authors. Drs. Hart and Tricklebank are joint senior authors. Supplemental digital content is available for this article. Direct URL citations appear in the printed text and are provided in the HTML and PDF versions of this article on the journal's website (http://journals.lww.com/ccxjournal). Report on COVID-19 In Critical Care. ICNARC COVID-19 Study Case Mix Programme Database Epidemiology, clinical course, and outcomes of critically ill adults with COVID-19 in New York City: A prospective cohort study The impact of tracheotomy timing in critically ill patients undergoing mechanical ventilation: A meta-analysis of randomized controlled clinical trials with trial sequential analysis Timing of tracheostomy in patients with prolonged endotracheal intubation: A systematic review TracMan Collaborators: Effect of early vs late tracheostomy placement on survival in patients receiving mechanical ventilation: The TracMan randomized trial Laryngotracheal stenosis in early vs late tracheostomy: A systematic review Novel percutaneous tracheostomy for critically ill patients with COVID-19 Outcomes after tracheostomy in COVID-19 patients COVIDtrach: COVIDtrach; the Outcomes of Mechanically Ventilated Covid-19 Patients Undergoing Tracheostomy in The UK Recommendation of a practical guideline for safe tracheostomy during the COVID-19 pandemic COVID-19 Tracheostomy Guidance British Laryngological Society: Tracheostomy Guideline -COVID-19 Tracheotomy in ventilated patients with covid-19 Decision tree of late risk factors associated with in-hospital mortality. The outcome was survival where 1 = death and 0 = alive. Hazard ratios (HRs) were separately calculated using Cox regression analysis and are displayed for each outcome Tracheotomy Recommendations During the COVID-19 Pandemic Tracheostomy in the COVID-19 era: global and multidisciplinary guidance Walking the line between benefit and harm from tracheostomy in COVID-19 International Severe Acute Respiratory and Emerging Infection Consortium: The ISARIC-WHO Data Tools for Severe Acute Respiratory Infections Coagulation abnormalities and thrombosis in patients with COVID-19 Pulmonary fibrosis secondary to COVID-19: a call to arms? The National Heart Lung and Blood Institute ARDS Clinical Trials Network, et al: Higher versus lower positive end-expiratory pressures in patients with the acute respiratory distress syndrome Comparison analysis: Large data classification using pls-da and decision trees Evaluating a decision making system for cardiovascular dysautonomias diagnosis Detection of congestive heart failures using C4.5 Decision Tree Factors associated with intubation and prolonged intubation in hospitalized patients with COVID-19 COVID-19 Lombardy ICU Network: Baseline characteristics and outcomes of 1591 patients infected with SARS-CoV-2 admitted to ICUs of the Lombardy region Tracheostomy in the COVID-19 pandemic Indications and timing for tracheostomy in patients with SARS CoV2-related Clinical predictors of mortality due to COVID-19 based on an analysis of data of 150 patients from Wuhan, China The pathogenesis and treatment of the 'Cytokine Storm' in COVID-19 UK: COVID-19: Consider cytokine storm syndromes and immunosuppression Covid-19: Low dose steroid cuts death in ventilated patients by one third, trial finds Dynamic and explainable machine learning prediction of mortality in patients in the intensive care unit: A retrospective study of high-frequency data in electronic patient records Safety and prognosis in percutaneous vs surgical tracheostomy in 27 patients with COVID-19 The authors have disclosed that they do not have any potential conflicts of interest.For information regarding this article, E-mail: aruntakhar@doctors.org.uk