key: cord-0025865-tssno7ze authors: Tsai, Chu-Lin; Lu, Tsung-Chien; Wang, Chih-Hung; Fang, Cheng-Chung; Chen, Wen-Jone; Huang, Chien-Hua title: Trajectories of Vital Signs and Risk of In-Hospital Cardiac Arrest date: 2022-01-03 journal: Front Med (Lausanne) DOI: 10.3389/fmed.2021.800943 sha: cf063f6f2aef8c5d22be839eba1ca76a3ac203cc doc_id: 25865 cord_uid: tssno7ze Background: Little is known about the trajectories of vital signs prior to in-hospital cardiac arrest (IHCA), which could explain the heterogeneous processes preceding this event. We aimed to identify clinically relevant subphenotypes at high risk of IHCA in the emergency department (ED). Methods: This retrospective cohort study used electronic clinical warehouse data from a tertiary medical center. We retrieved data from 733,398 ED visits over a 7-year period. We selected one ED visit per person and retrieved patient demographics, triage data, vital signs (systolic blood pressure [SBP], heart rate [HR], body temperature, respiratory rate, oxygen saturation), selected laboratory markers, and IHCA status. Group-based trajectory modeling was performed. Results: There were 37,697 adult ED patients with a total of 1,507,121 data points across all vital-sign categories. Three to four trajectory groups per vital-sign category were identified, and the following five trajectory groups were associated with a higher rate of IHCA: low and fluctuating SBP, high and fluctuating HR, persistent hypothermia, recurring tachypnea, and low and fluctuating oxygen saturation. The IHCA-prone trajectory group was associated with a higher triage level and a higher mortality rate, compared to other trajectory groups. Except for the persistent hypothermia group, the other four trajectory groups were more likely to have higher levels of C-reactive protein, lactic acid, cardiac troponin I, and D-dimer. Multivariable analysis revealed that hypothermia (adjusted odds ratio [aOR], 2.20; 95% confidence interval [95%CI], 1.35–3.57) and recurring tachypnea (aOR 2.44; 95%CI, 1.24–4.79) were independently associated with IHCA. Conclusions: We identified five novel vital-sign sub-phenotypes associated with a higher likelihood of IHCA, with distinct patterns in clinical course and laboratory markers. A better understanding of the pre-IHCA vital-sign trajectories may help with the early identification of deteriorating patients. In-hospital cardiac arrest (IHCA) is a major problem in the hospital and is associated with high morbidity and mortality worldwide (1) . In the United States, the incidence of adult treated IHCA was about 10 per 1,000 hospital admissions (∼290,000 patients per year), about 10% of which occurred in the emergency department (ED) (2, 3) . Only about 25% of the IHCA patients survived to hospital discharge, and among them, 85% were discharged with a favorable neurological outcome (1) . Despite the catastrophic nature of IHCA, little is known about the trajectories of vital signs prior to IHCA. Early recognition and prevention have been added as the first link in the Chain of Survival for IHCA (4) . Understanding the pre-IHCA physiological derangements, particularly longitudinal dynamic changes, would help clinicians recognize the patterns and the heterogeneous processes preceding the devastating event. Previous studies have utilized a snapshot of vital-sign data to predict IHCA (5, 6) . In clinical practice, intermittently measured snapshot vital-sign data sometimes cause confusion as to appropriate responses, especially when no prior data are compared or are too late for interventions (7) . Other studies have created summary measures for longitudinal vital-sign data (8) , or have monitored early warning summary scores over time (9) . As such, information is somewhat lost in terms of the dynamic changes of each vital sign over time, which may be more intuitive and clinically useful in phenotyping and prognosticating patients with IHCA. Group-based trajectory modeling (GBTM) is an unsupervised modeling technique to identify hidden subpopulations comprising similar individuals (10) . To the best of our knowledge, no previous study has examined the latent trajectories of vital signs in patients with IHCA. Understanding the vital-sign change patterns prior to IHCA may gain lead time for appropriate interventions. In this study, we aimed to identify clinically relevant subphenotypes at high risk of IHCA in the ED using longitudinal vital-sign data. We hypothesized that certain trajectory groups would have a higher likelihood of IHCA, with distinct patterns in clinical course and laboratory findings. We conducted a retrospective cohort study using data from the integrated Medical Database (iMD) of the National Taiwan University Hospital (NTUH). This database serves as a central clinical data warehouse for all electronic health records in the healthcare system (the main hospital and six branch hospitals), including inpatient, outpatient, and ED records. The electronic database houses a variety of information, including demographics, diagnosis, treatment, imaging, laboratory, prescription, nursing, billing, and administrative data. The database is maintained and updated by dedicated research personnel and has been used for clinical research studies (11, 12) . For the current study, we retrieved 7 years of de-identified iMD data from the NTUH main hospital between January 1, 2009 and December 31, 2015. The NTUH main hospital is a tertiary academic medical center with approximately 2,400 beds and 100,000 ED visits per year. The ED also manages an observation unit (EDOU), which is staffed by ED physicians. This study was approved by the NTUH Institutional Review Board, which waived the requirement for patient informed consent. We electronically extracted data from 733,398 ED visits over the 7-year period. For repeat visits, we selected the last visit per patient to maximize statistical power for the cardiac arrest analysis. If a patient had subsequent visits, it was much less likely that he/she suffered a cardiac arrest on a prior visit. We further excluded out-of-hospital cardiac arrests (OHCAs), patients aged less than 18 years, or those who had less than three vital-sign measurements. At least three measurements would ensure the stability of longitudinal analysis, and therefore many EDOU patients were included. The subject selection process is shown in Figure 1 . ). The vital-sign measurements were from hour 0 (at ED triage) to the last measurement available or hour 191 (the timing of the last IHCA event), whichever occurred earlier. The vital-sign data were split into 1-h blocks, and if multiple measurements occurred in the 1-h block, the average value was used. The quick Sepsis-related Organ Failure Assessment (qSOFA) score at ED triage was calculated (13) . Selected laboratory test results were also retrieved, including C-reactive protein (CRP), lactic acid, cardiac Troponin I (cTnI), and D-dimer. The ED-based IHCA was identified via a cardiopulmonary resuscitation (CPR) code (i.e., treated cardiac arrest). All laboratory results were the earliest available data in the ED. For IHCA patients, laboratory data were restricted to those obtained prior to CPR. We also electronically extracted the five-level computerized Taiwan triage and acuity scale (TTAS) that contains information on a total of 179 structured chief complaints. The chief complaints included OHCA, which was used to identify the OHCA population. Based on the computerized algorithms, the TTAS classifies patients in the following order of acuity: level 1, resuscitation; level 2, emergent; level 3, urgent; level 4, less urgent; and level 5, non-urgent. The TTAS was adapted from the Canadian Triage and Acuity Scale and has been validated against hospitalization, length of ED stay, and resource utilization (14) . To study the possible causes of IHCA, the primary fields of ED discharge diagnosis codes were grouped into clinically meaningful categories using the Clinical Classification Software (CCS) (15) . The data extractors were hospital information technology engineers who were blinded to the study hypothesis. The data underwent electronic cleaning, and invalid data were set to missing values after periodic investigator meetings. The primary outcome measure, ED-based IHCA, was identified via a cardiopulmonary resuscitation (CPR) procedure code (i.e., treated cardiac arrest). Patients with do-not-resuscitate (DNR) status were not counted as treated cardiac arrests, according to consensus guidelines on reporting IHCA (16) . The secondary outcome measure was mortality in the ED. Summary statistics are presented as proportions (with 95% confidence intervals [CIs]), means (with standard deviations [SDs]), or medians (with interquartile ranges [IQRs]). Bivariate associations were examined using Student t-tests, Mann-Whitney tests, and chi-square tests, as appropriate. Patient characteristics, laboratory findings, mortality, and IHCA status were compared between the identified trajectory groups. We used available-case analysis for the laboratory analysis as not all patients had test results available. Group-based trajectory modeling (GBTM) was performed to identify trajectory groups in each of the five vital-sign categories. GBTM is an explanatory modeling technique to identify hidden groups of individuals with similar trajectories for a particular variable of interest (17) . This technique uses finite mixture modeling to identify clusters of longitudinal data (18) . We tested models of two to six groups with the inclusion of constant, linear, quadratic, or cubic terms. The Bayesian information criterion was used to choose the optimal number and form of trajectories. GBTM was performed using the traj package in Stata software (StataCorp, College Station, TX, USA). After the unsupervised identification of longitudinal trajectories, we used supervised multivariable logistic regression to examine the independent association between the trajectory group memberships and ED-based IHCA, controlling for age, sex, and triage levels. To internally validate the identified trajectory groups, we bootstrapped the model 100 times to obtain the bias-corrected confidence intervals. All odds ratios (ORs) and beta-coefficients are presented with 95% CIs. To test if the trajectory groups using the early data could also relate to the occurrence of IHCA, we conducted a sensitivity analysis by restricting vital-sign measurements from 0 to 24h. All analyses were performed using Stata 16.0 software. All P values are two-sided, with P < 0.05 considered statistically significant. Of 733,398 ED visits during the 7-year study period, 405,891 unique patient visits were included. After excluding patients aged less than 18 years or patients with out-of-hospital cardiac arrest, 325,502 adult visits were included in the analysis. We further excluded those who had vital signs measurements less than three times, leaving 37,697 patients in the analysis. The patient selection process is shown in Figure 1 . There were 145 (0.4%) patients who developed IHCA in the ED. Overall, the mean age of these patients was 63 years, and 46% were women ( Table 1) . Most patients arrived in the ED during the daytime or in the evening, and patients were evenly distributed across seasons. Most patients presented with fever, followed by dyspnea and abdominal pain, were triaged to level 3, and had a median qSOFA score of 0 (IQR, 0-1). The initial vital signs were generally acceptable, except for slightly faster HR and lower SpO 2 . The overall incidence of ED-based IHCA was 0.4%, with a median time to IHCA of 40 h. About 63% were admitted to the hospital, and 2% died in the ED. The median ED/EDOU length of stay was about 47 h. Among patients in whom laboratory tests were ordered, some laboratory abnormalities were observed (e.g., leukocytosis and elevated levels of CRP, lactic acid, cTnI, and D-dimer). The baseline clinical characteristics of the 145 IHCA patients are shown in the Supplementary Table 1. The most common discharge diagnoses/symptoms for ED/EDOU patients with IHCA were pneumonia, gastrointestinal hemorrhage, and fever (Supplementary Table 2) . Of the IHCA patients, 122 (84%) were intubated and mechanically ventilated. The 37,697 patients contributed to a total of 1,507,121 data points across all vital-sign categories. Each patient was measured multiple times, with a median measurement of 7 times (IQR, 4-13 times). Figure 2 depicts the trajectory groups in each vitalsign category. Three to four trajectory groups per vital sign were identified by the trajectory modeling. For example, in the SBP category, three distinct trajectory groups were identified, representing "normal" (44% of patients), "high, resolving" (16%), and "low, fluctuating" (40%) SBP over time. Similarly, three trajectory groups were identified for the longitudinal HR data. Notably, four trajectory groups were identified in the body temperature category, representing "hypothermia" (16%), "normal" (50%), "high, resolving" (26%), "very high, resolving" (8%) groups. For the longitudinal RR and SpO 2 data, three trajectory groups were identified for each vital-sign category. The detailed summary measurements (initial value, mean, minimum, maximum, and standard deviation) for each vital-sign category is shown in Supplementary Tables 3, 4. Tables 2, 3 show the clinical characteristics and outcomes of the trajectory groups in each vital-sign category. Across all vital-sign categories, the following five trajectory groups were associated with a higher rate of IHCA: low and fluctuating SBP, high and fluctuating HR, persistent hypothermia, initiallyresolving but recurring tachypnea, and low and fluctuating oxygen saturation. Within each vital-sign category, the IHCAprone trajectory group was associated with a higher triage level and a higher mortality rate, compared to other trajectory groups. Except for the persistent hypothermia group, the other four IHCA-prone trajectory groups were more likely to have a higher qSOFA score and higher levels of CRP, lactic acid, cTnI, and D-dimer, compared with other trajectory groups in their corresponding vital-sign category. The bootstrapped multivariable analysis showed that hypothermia (vs. normothermia) and higher RR groups (high/very high, recurring tachypnea vs. normal RR group) were independently associated with IHCA, adjusting for age, sex, triage levels, and other trajectory groups ( Table 4) . For example, hypothermia was independently associated with a 2.2-fold increased risk of IHCA (95% CI, 1.35-3.57). In the sensitivity analysis by restricting the GBTM analysis to hours 0-24, the early trajectories were quite similar to the entire trajectories, except that some fever trajectories had not fully resolved to the normal level and that recurring tachypnea had not fully appeared (Supplementary Figure 1) . The aforementioned five trajectories using early data were still associated with IHCA (P ≤ 0.001), expect for the high RR groups. In this study of 37,697 patients comprising >1 million longitudinal data points, we discovered five distinct vital-sign trajectory groups associated with a higher rate of IHCA. In contrast to other four trajectory groups, the hypothermia group appeared to have a unique pattern of suppressed laboratory markers findings. The internally validated multivariable analysis suggested hypothermia and recurring tachypnea were independently associated with IHCA. A common theme across the five IHCA-prone vital-sign trajectory groups was the initial deviation from the norm, followed by a persistent deviation without resolution. In general, within each vital-sign category, those whose vital signs resolved to near normal (e.g., initially high but resolving SBP or HR) tended to have better outcomes, compared with those with persistently deviating vital signs. The degree to which the vitals deviated and fluctuated also differed by the vital-sign category. For instance, the fluctuation of SBP and HR seemed smaller, compared to that of RR and SpO 2 . This smaller longitudinal variation might also implicate that hypotension and tachycardia in the early phase of ED stay could predict worse outcomes. Indeed, studies have shown the "shock index" at triage, defined as HR divided by SBP, predicted hospital admission and inpatient mortality among ED patients (19) . The higher levels of lactic acid, cTnI, and D-dimer may reflect the combination of various forms of shock (e.g., septic or cardiogenic) in the groups of low/fluctuating SBP and high/fluctuating HR. On the other hand, high blood pressure in the ED is common but does not seem to be associated with subsequent adverse events (20) . The hypothermia trajectory group appeared to have a relatively flat temperature course and relatively low levels of inflammatory markers. Consistent with previous studies (21) (22) (23) , we found that hypothermia was associated with a higher rate of mortality and extended this association to include IHCA. Hypothermia is known to be arrhythmogenic and could be related to sepsis, both of which may have contributed to IHCA in our study. The hypothermia group demonstrated a "hypoinflammatory" state as evidenced by a low qSOFA score and a lower level of CRP. These patients were older and were probably immunosuppressed, and therefore their immune response was insufficient to generate fever. A previous study also showed that hypothermia in sepsis patients was associated with persistent lymphopenia, a sepsis-induced immunosuppression (24) . Our study further demonstrated that the hypoinflammatory state usually persisted, at least in the ED, and predicted worse outcomes. On the other hand, a study has reported that hyperthermic patients in the ED received more antibiotic therapy, and thus had lower mortality compared with normothermic patients (25) . Multivariable analysis suggested that, besides hypothermia, an initially resolving but recurring tachypnea was independently associated with IHCA. Many IHCA events are caused by respiratory failure, such as acidosis and pneumonia, and cardiac causes (26) . Prior to IHCA, tachypnea is often present as a compensatory response to shock-induced metabolic acidosis. A previous ward study also reported RR was the most important vital sign in predicting critical events (8) . In our study, the degree of fluctuation of RR and SpO 2 over time was quite large, indicating dynamic changes between treatment response and failure and a strong terminal deviation from the norm. Among various diseases, pneumonia may particularly alter the longitudinal patterns of RR and SpO 2 . A previous study has shown that deteriorating pneumonia demonstrated rapidly-worsening respiratory failure, with high RR and low SpO 2 , but only minor changes in other vital signs (27) . Our study also suggested that, unlike the evolution of SBP and HR, the changes in RR and SpO 2 could be drastic just prior to IHCA. As shown in the sensitivity analysis, the early RR trajectory was not reliable to detect imminent IHCAs. Recognizing these late changing respiratory trajectories, along with various important clinical and social factors, might prompt an early discussion of the risks and benefits of airway interventions or do-notresuscitate orders if not already available. This study has some potential limitations. First, this was a single-center study at a tertiary medical center, and our findings may not be generalizable to hospitals of different settings. Second, our study population was restricted to those who underwent at least three measurements of vital signs to ensure the stability of statistical analysis. As such, less ill patients were excluded, and the findings may not be applied to them. At the other end, our study population included EDOU patients potentially awaiting an inpatient bed, and our results may be potentially useful for EDOU and hospitalized patients. Third, we did not control for the medication effects (e.g., inotropes and antipyretics), which may have altered the trajectories. However, this rendered our results more reflective of a real-world situation. Finally, although we performed bootstrapping to internally validate our results, the identified trajectories and their relationships with IHCA still need to be externally validated in future large studies. In summary, in this large study of 37,697 patients with about 1.5 million longitudinal data points, we identified five novel vitalsign sub-phenotypes associated with a higher likelihood of IHCA, with distinct patterns in clinical course and laboratory markers. A better understanding of the pre-IHCA vital-sign trajectories may help with the early identification of deteriorating patients and has potential implications for personalized prevention of IHCA. The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author/s. The studies involving human participants were reviewed and approved by NTUH Institutional Review Board. Written informed consent for participation was not required for this study in accordance with the national legislation and the institutional requirements. C-LT and T-CL: study concept and design, acquisition of data, and statistical analysis. C-LT: first drafting of the manuscript, had access to all the data in the study, takes responsibility for the integrity of the data, and the accuracy of the data analysis. C-LT and C-HH: obtained funding and study supervision. All authors: analysis and interpretation of data, critical revision of the manuscript for important intellectual content, administrative, technical, and material support. In-hospital cardiac arrest: a review Annual incidence of adult and pediatric in-hospital cardiac arrest in the United States Cardiac arrest in the emergency department: a report from the national registry of cardiopulmonary resuscitation Executive summary: 2020 American heart association guidelines for cardiopulmonary resuscitation and emergency cardiovascular care CC F Development and validation of a triage tool in predicting cardiac arrest in the emergency department Emergency Department Triage Early Warning Score (TREWS) predicts in-hospital mortality in the emergency department The value of vital sign trends in predicting and monitoring clinical deterioration: A systematic review The value of vital sign trends for detecting clinical deterioration on the wards Multicenter development and validation of a risk stratification tool for ward patients Group-based multi-trajectory modeling Kidney outcomes associated with use of SGLT2 inhibitors in real-world clinical practice (CVD-REAL 3): a multinational observational cohort study Using text mining to extract depressive symptoms and to validate the diagnosis of major depressive disorder from electronic health records The Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3) Validation of the Taiwan triage and acuity scale: a new computerised five-level triage system The Clinical Classifications Software (CCS) for ICD-9-CM by the Agency for Healthcare Research and Quality Strategies for improving survival after in-hospital cardiac arrest in the United States: 2013 consensus recommendations: a consensus statement from the Using latent class analysis to identify hidden clinical phenotypes Note on a stata plugin for estimating group-based trajectory models Shock index as a predictor of hospital admission and inpatient mortality in a US national database of emergency departments Elevated blood pressures are common in the emergency department but are they important? A retrospective cohort study of 30,278 Early peak temperature and mortality in critically ill patients with or without infection Body temperature alterations in the critically ill Identifying Novel Sepsis Subphenotypes Using Temperature Trajectories The presence of hypothermia within 24 hours of sepsis diagnosis predicts persistent lymphopenia The association of body temperature with antibiotic therapy and mortality in patients attending the emergency department with suspected infection Causes of in-hospital cardiac arrest and influence on outcome Trajectories of vital signs in patients with COVID-19 We would like to thank the staff of Department of Medical Research for providing clinical data from the National Taiwan University Hospital-integrated Medical Database (NTUH-iMD). 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.