key: cord-0898060-maguc0n6 authors: Jones, Barbara E.; Ying, Jian; Nevers, Mckenna R; Alba, Patrick R.; Patterson, Olga V.; Peterson, Kelly S; Rutter, Elizabeth; Christensen, Matthew A; Stern, Sarah; Jones, Makoto M; Gundlapalli, Adi; Dean, Nathan C; Samore, Matthew C; Greene, Tome title: Trends in Illness Severity, Hospitalization, and Mortality for Community-Onset Pneumonia at 118 US Veterans Affairs Medical Centers date: 2022-03-09 journal: J Gen Intern Med DOI: 10.1007/s11606-022-07413-8 sha: bada9180887e8953361b548c00c34b3776a840e6 doc_id: 898060 cord_uid: maguc0n6 BACKGROUND: Deaths from pneumonia were decreasing globally prior to the COVID-19 pandemic, but it is unclear whether this was due to changes in patient populations, illness severity, diagnosis, hospitalization thresholds, or treatment. Using clinical data from the electronic health record among a national cohort of patients initially diagnosed with pneumonia, we examined temporal trends in severity of illness, hospitalization, and short- and long-term deaths. DESIGN: Retrospective cohort PARTICIPANTS: All patients >18 years presenting to emergency departments (EDs) at 118 VA Medical Centers between 1/1/2006 and 12/31/2016 with an initial clinical diagnosis of pneumonia and confirmed by chest imaging report. EXPOSURES: Year of encounter. MAIN MEASURES: Hospitalization and 30-day and 90-day mortality. Illness severity was defined as the probability of each outcome predicted by machine learning predictive models using age, sex, comorbidities, vital signs, and laboratory data from encounters during years 2006–2007, and similar models trained on encounters from years 2015 to 2016. We estimated the changes in hospitalizations and 30-day and 90-day mortality between the first and the last 2 years of the study period accounted for by illness severity using time covariate decompositions with model estimates. RESULTS: Among 196,899 encounters across the study period, hospitalization decreased from 71 to 63%, 30-day mortality 10 to 7%, 90-day mortality 16 to 12%, and 1-year mortality 29 to 24%. Comorbidity risk increased, but illness severity decreased. Decreases in illness severity accounted for 21–31% of the decrease in hospitalizations, and 45–47%, 32–24%, and 17–19% of the decrease in 30-day, 90-day, and 1-year mortality. Findings were similar among underrepresented patients and those with only hospital discharge diagnosis codes. CONCLUSIONS: Outcomes for community-onset pneumonia have improved across the VA healthcare system after accounting for illness severity, despite an increase in cases and comorbidity burden. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1007/s11606-022-07413-8. Pneumonia is the leading cause of death from infectious disease in the USA. 1 While the COVID-19 pandemic saw a dramatic increase in deaths in 2020, studies prior to the pandemic had observed a decrease in pneumonia mortality over time, 2 particularly among hospitalized patients. 3 However, the cause of the observed decreases in death is unclear. Changes in patient characteristics, diagnostic labeling, 4 and care processes have all been proposed to contribute to changes in outcomes. Large population studies have previously been limited by characterizing patients with administrative claims data, which are imprecise. [5] [6] [7] The purpose of this study was to examine temporal trends in severity of illness, hospitalization, and mortality among patients initially diagnosed with pneumonia at 118 Veterans Affairs (VA) emergency departments (EDs) using clinical data from the electronic health record (EHR). We sought to determine the extent to which temporal trends in these three outcomes could be accounted by changes in illness severity between 2006-2007 and 2015-2016, and conversely. The VA network is the largest integrated healthcare network in the USA, serving nearly 8.5 million veterans at more than 1700 clinics, 152 VA Medical Centers (VAMCs), and 21 regional VA Integrated Service Networks (VISNs) with over 500,000 hospitalizations annually. 8 All health care settings in the VA share the same clinical electronic health record (EHR), Veterans Health Information Systems and Technology Architecture (VistA). All VA emergency departments have access to radiology and laboratory, and the ability to hospitalize patients to acute care beds at an adjoined VA hospital, with over 1M visits per year. Data were accessed through the Veterans Informatics and Computing Infrastructure, a computing environment that stores clinical data for research purposes. 9 The research was approved by VA and University of Utah Institutional Review Boards. We identified all patient encounters at EDs from 1 January 2006 to 31 December 2016 that underwent chest imaging, including chest X-rays or computerized tomography (CT) scans within 24 h before and after the encounter time and with at least one clinical document signed by a physician, nurse practitioner, or physician assistant associated with the ED visit. To capture only new diagnoses, we included only the first encounter for a given patient within a 3-month period. To define cases of pneumonia, we avoided hospital discharge diagnosis codes because it limits the ability to examine outpatients among patients who were not hospitalized, and can lack confirmation of pneumonia in chest imaging up to 30% of the time; 10 however, we also conducted a secondary analysis among cohorts using this definition (Appendix C). We first defined a clinical diagnosis as one with either (1) an EDassigned pneumonia diagnosis based upon established diagnostic codes 3, 4 or (2) a clinical diagnosis of pneumonia within the assessment and plan section of the ED physician document identified by natural language processing (NLP), developed in previous work. 11 We then applied NLP of chest imaging reports to include only those cases with a report containing a radiographic assertion of pneumonia. Appendix A described NLP tool development and validation. Clinical Outcomes. We identified deaths from any cause occurring within 30, 90, and 365 days from the initial encounter using the VA Vital Status file. We defined a hospitalization as admission to an acute medical, surgical, or intensive care unit (ICU) that occurred within 24 h of the ED encounter. Patient Characteristics Contributing to Illness Severity. We extracted baseline patient characteristics as well as clinical data from the EHR that have been identified as important to this construct for pneumonia by previous literature and clinical experience. We extracted demographics including age, gender, marital status, homelessness, nursing home residence, 38 comorbid conditions, 5 vital signs, and 21 laboratory values. To define each comorbidity, we extracted all International Classification of Disease (ICD)-9-CM 12 and ICD-10-CM 13 codes given to each patient within the year prior to the ED encounter. We classified them according to categories developed by the Agency for Healthcare Research and Quality. 1 4, 15 We also classified psychosocial comorbidities including psychiatric diseases, substance use, and demographics including homelessness and marital status. Each comorbidity was treated as an independent covariate in the illness severity model. We extracted the first vital sign (temperature, respiratory rate, heart rate, systolic blood pressure, diastolic blood pressure) and pulse oximetry reading recorded between 6 h before and 12 h after the initial encounter time. We extracted the first laboratory result within 6 h before and 12 h after the initial encounter time, and included laboratory values previously proposed to predict pneumonia or sepsis severity, [16] [17] [18] [19] [20] including albumin, bilirubin, blood urea nitrogen, creatinine, C-reactive peptide, glucose, hematocrit, lactic acid, arterial pH, PaO2, PaCO2, serum bicarbonate, platelet count, potassium, sodium, troponin, white blood cell count, brain natriuretic peptide, erythrocyte sedimentation rate (ESR), and liver transaminases. Temporal Trends in Patient Characteristics, Hospitalizations, and Outcomes Patient characteristics, hospitalizations, and outcomes were summarized overall, and results from the earliest 2 calendar years were compared to the latest 2 calendar years in the study period. The proportion and 95% CI of patient encounters with each comorbidity, median and interquartile range of each vital sign and laboratory result, and proportion and 95% CI of encounters meeting the criteria for systemic inflammatory response syndrome (SIRS-temperature > 100.4°F (38°C), pulse > 90 bpm, respiratory rate > 20 bpm, white blood cell count > 12 or < 4 K/μL) with the exception of mental status 21 were calculated for the combined years We explored several representations of patient illness severity, which is generally accepted as an impression composed of observable clinical manifestations, including baseline patient vulnerability as well as physiologic measures, that portend risk of an undesired event for a given patient. 22, 23 Therefore, we calculated the predicted risk for each event of interest-hospitalization and 30-day, 90-day, and 1-year mortality-based upon observable patient characteristics from the EHR for each patient. We modeled temporal trends in illness severity by using a 2-step process. In the first step, we used the Extreme Gradient Boosting algorithm (XGBoost), 24 a machine learning approach that we previously validated to be highly accurate for our population, 25 to develop cross-sectional models to predict the probabilities of hospitalization, 30-day mortality, 90-day mortality, and 1-year mortality for each encounter based on extracted patient factors during a particular index time period. In the second step, we applied the predictive models developed in the first step to data extracted from patient visits occurring during successive 1-year intervals from 2006-2007 through 2015-2016. The changes in the average predicted probabilities of the respective outcomes (hospitalization, 30-day mortality, 90-day mortality, and 1-year mortality) over the successive 1-year intervals summarize the temporal trend in predicted illness severity using the extracted patient factors under the cross-sectional models developed in step 1. For each event of interest, we developed cross-sectional predictive models using three different sets of extracted patient characteristics as predictor variables. The three sets of patient characteristics were as follows: (a) 69 extracted characteristics including demographics, comorbidities, and labs (the "complete" model); (b) a restricted set of 28 of the 69 extracted patient characteristics including age, sex, vital signs, and labs ("physiologic model"); and (c) a restricted set of 43 of the 69 extracted characteristics including demographics and comorbidities ("comorbidity model"). We considered the physiologic model to evaluate trends in predicted illness severity that are independent of drifts in coding of comorbidities over time. We considered the comorbidity model to provide predictions that do not require vitals and lab measurements, which are not always available. Because we observed changes in laboratory ordering (increase in ordering lactate, decrease in ABG ordering) and comorbidities across the time period, we explored whether the modeled trends in illness severity were robust to crosssectional models derived from the beginning versus the end of the study period by selecting two extreme index time periods: for the development of the cross-sectional models in step 1: 2006-2007 and 2015-2016 . Performance of all models is reported in Appendix C. We jointly displayed the longitudinal changes in observed versus predicted mortality based on the six models in Figs. 2 and 3, with similar displays for other outcomes. Visual comparisons of the trends in observed versus predicted mortality indicate the extent to which changes in observed mortality were accompanied by changes in comorbidities and physiologic derangements over the same period. We conducted the same analysis among different case definitions of pneumonia and underrepresented patient subgroups (> 80 years, immunocompromised, self-identifying as black, rural, female, and presenting to small hospitals) in Appendix C. We then decomposed the longitudinal change in observed mortality over the study period into two components: (1) the ratio of the change in predicted mortality to the change in observed mortality and (2) the difference between 1 and the above quantity. This decomposition was defined for each outcome (30-day mortality, 90-day mortality, 1-year mortality, and hospitalization) and for each of the six models defined by the three sets of extracted patient factors (69-variable, 28-variable, and 43-variable) With chest imaging, only first encounter in 3 months N=3.98 Million Initial diagnosis of pneumonia (Natural language processing plus diagnosis codes) N=297,498 Evidence of pneumonia on chest imaging report (Natural language processing) N=196,899 All encounters to 118 VA Emergency Departments, 2006-2016 N=24 Million Missing vital signs (occurred in <5% of all cases) were treated as missing at random and replaced with single imputation of median values; missing pulse oximetry (in 15%) and lab values (occurred in <10% for routine labs) were replaced with a normal value similar to previous work 25 and other studies, 26 since these were not missing at random and represented patients for whom providers perceived a lower illness severity. A secondary analysis using models that include an indicator variable for missing data 25 was also conducted (Appendix C). 1, Appendix B) , most notably renal disease (10% versus 16%), diabetes with (8% versus 15%) and without (27% versus 33%) complications, mood disorders (20% versus 27%), and coronary artery disease (20% versus 26%); notably, there was no change in myocardial infarction and only a slight increase in congestive heart failure. Despite the increase or stability in identified comorbidities, illness severity predicted by model estimates decreased. While most median physiologic variables were unchanged, median pulse and platelet count decreased, brain natriuretic peptide increased, and encounters meeting criteria for SIRS decreased from 54 to 39% (Table 1) . Hospitalization and mortality decreased steadily between 2006-2007 and 2015-2016 and in excess of model predictions regardless of the patient characteristics used (Table 1, Figs. 2 and 3 ). Thirty-day mortality decreased from 10 to 7%, 90-day mortality 16 to 12%, 1-year mortality 29 to 24%, and hospitalization 71 to 63%. Predicted 30-day mortality risk decreased across years for the complete model and the physiologic model but increased for the comorbidity model (Fig. 2) . This finding was similar for hospitalization as well as 90-day and 1-year mortality. The observed decreases exceeded the predicted decreases (Fig. 3) : 30-day mortality decreased by an absolute 3%, compared to predicted decrease of 1.3%; 90-day mortality decreased by 4%, compared to predicted decrease of 1.5%; 1year mortality decreased by an absolute 5%, compared to predicted decrease of 1.4-2.2%; and hospitalization decreased by an absolute 8%, compared to predicted decrease of 5.6-6.4%. Results were similar among patient subgroups, with the exception of a steeper decrease in observed mortality for patients identified by hospital discharge codes for pneumonia, smaller improvements for patients > 80 years of age and a rural address, and increases in severity of illness, hospitalization, and mortality for patients with immunocompromising comorbidities (Appendix C). Decomposition of time-varying covariates ( Table 2 ) revealed that 45-47% of the decrease in 30-day mortality was explained for by changes in patient characteristics. Meanwhile, 32-34% of the decrease in 90-day mortality, 17-19% of the decrease in 1-year mortality, and 21-31% of the decrease in hospitalizations were explained by patient characteristics. In a national cohort of Veterans presenting to emergency departments with initial diagnoses of pneumonia that were radiographically confirmed, we found a significant decrease in deaths and hospitalizations between 2006 and 2016. While illness severity, but not comorbidity burden, also decreased during this period, it accounted for less than half of the observed decrease in deaths and hospitalizations. Prior to the COVID-19 pandemic, other studies had also observed overall declines in short-term mortality attributed to pneumonia over the past 20 years, 28, 29 although the trend was not consistent for all settings. 30, 31 Without detailed clinical data, these studies were unable to explore the mechanism of the observed reduced mortality. Most population studies in pneumonia use inpatient administrative claims data to identify cases, which are codes assigned retrospectively at hospital discharge, have only moderate accuracy identifying cases [5] [6] [7] and limit the ability to examine outcomes in patients treated as outpatients. Further, increased attention to hospital performance measures has caused a shift from coding pneumonia as a principal diagnosis to sepsis or respiratory failure. 4 Our study is the first population-based study that used only information available upon initial presentation, verified the population with radiographic confirmation of pneumonia, and had sufficient clinical detail to decompose trends in outcomes that may be associated with patient comorbidity and physiologic burden. The comorbidity of the cohort increased slightly, suggesting a more chronically ill population. This is also suggested by other Veteran population studies, 32 specifically with increases in obesity and diabetes, 33 kidney disease, 34 and lung disease among younger Veterans, 35 although hospitalizations for cardiovascular events have decreased. 36 To interpret these trends, it is important to recognize that comorbidities identified in the EHR are a function of diagnosis. Certain comorbid illnesses may be increasingly identified and managed due to an increase in access and recognition. For example, coronary artery disease and congestive heart failure increased, but myocardial infarction remained stable, suggesting more diagnoses of heart disease, but not more heart attacks. Cardiovascular events are an increasingly recognized complication of pneumonia that contributes to long-term mortality. 37 Early recognition and management of heart disease could modify this risk, producing better outcomes in pneumonia. The mismatch between comorbidity-based predictions and clinical illness severity is similar to other studies 38 and has important implications for research and quality efforts: using risk predictions based only on comorbidities can lead to important inaccuracies when it comes to understanding changes in outcomes. The decreased in illness severity could be explained by several trends. First, the use of VA care has increased dramatically since 2006, due to recession, loss of private insurance, increases in Veteran enrollment, and use of outpatient services. 32,39 ED use increased accordingly, which may also be subject to shifting preferences or availability of primary care. 40 Widespread vaccination or better controlled comorbidities may manifest in milder acute disease. Adoption of childhood pneumococcal vaccines 41 and more comprehensive influenza vaccination programs for adults have previously been proposed as an important mechanism of lower severity and decreased admissions and deaths. 42 Illness severity accounted for less than half of the decrease in mortality we observed. Several improvements of care may have led to this change, including pneumonia-specific care processes, 43, 44 implementation of performance measures for sepsis, 45, 46 and bundled care including early mobilization. 47, 48 The decrease in acute hospitalization was also not explained by lower illness severity and was more dramatic than the decrease in deaths. This finding may be due to greater provider and patient preference toward outpatient management of pneumonia, possibly motivated by quantitative assessments of illness severity, 49 more out-of-hospital care support systems, 50, 51 or reduced inpatient capacity. 52 The potential consequences of this decrease are unclear, but 7-day secondary admissions were stable, suggesting that this trend toward outpatient management may be safe or even beneficial compared to hospitalization for many patients with pneumonia. We recognize several limitations to the study. It was retrospective, using clinical data from the electronic health record. While our cohort selection approach avoided the instability of discharge ICD codes, has previously demonstrated high accuracy, 11 and included chest imaging reports, our results can still be subject to sampling, measurement error, and missing data compared to a prospective study. On the other hand, prospective studies requiring consent can under-represent those patients less likely to participate. The trends in illness severity were seen using models at both ends of the study period, across multiple subgroups, leading us to conclude that the findings were not simply a function of changes in data quality, attenuation bias, or patient populations. However, our decompositions did not attempt to identify and include all confounding factors in the predictive models and are not equivalent to causal analyses. More work must be done to shed light on the mechanisms of better outcomes in pneumonia, including which patient factors are modifiable, which acute interventions are critical, and which processes of care should be more widely adopted. However, this study indicates that rates of death and hospitalization for community-onset pneumonia have decreased across the VA healthcare system after accounting for illness severity, which adds to the existing evidence that pneumonia care and outcomes have been improving. Underlying Cause Of Death 1999-2015 On Cdc Wonder Online Database Vital Statistics Jurisdictions Through The Vital Statistics Cooperative Program Advances In Community-Acquired Pneumonia Trends In Mortality And Medical Spending In Patients Hospitalized For Community-Acquired Pneumonia: 1993-2005. Med Care Association Of Diagnostic Coding With Trends In Hospitalizations And Mortality Of Patients With Pneumonia Accuracy Of Administrative Data For Identifying Patients With Pneumonia International Classification Of Diseases Codes Showed Modest Sensitivity For Detecting Community-Acquired Pneumonia Community-Acquired Pneumonia: Can It Be Defined With Claims Data? Patients Admitted To Hospital With Suspected Pneumonia And Normal Chest Radiographs: Epidemiology, Microbiology, And Outcomes Development And Validation Of A Natural Language Processing Tool To Identify Patients Treated For Pneumonia Across Va Emergency Departments Basic Tabulation List With Alphabetical Index. World Health Organization; Obtainable From Who Publications Centre World Health Organization. International Statistical Classification Of Diseases And Related Health Problems. 10th Revision, 2nd Edition. World Health Organization Adapting A Clinical Comorbidity Index For Use With Icd-9-Cm Administrative Data: Differing Perspectives The Third International Consensus Definitions For Sepsis And Septic Shock (Sepsis-3) Smart-Cop: A Tool For Predicting The Need For Intensive Respiratory Or Vasopressor Support In Community-Acquired Pneumonia The Sofa (Sepsis-Related Organ Failure Assessment) Score To Describe Organ Dysfunction/Failure. On Behalf Of The Working Group On Sepsis-Related Problems Of The European Society Of Intensive Care Medicine Epidemiology Of Severe Sepsis In The United States: Analysis Of Incidence, Outcome, And Associated Costs Of Care A Prediction Rule To Identify Low-Risk Patients With Community-Acquired Pneumonia Definitions For Sepsis And Organ Failure And Guidelines For The Use Of Innovative Therapies In Sepsis The Severity Of Illness Index As A Severity Adjustment To Diagnosis-Related Groups. Health Care Financ Rev Classifying Severity Of Illness By Using Clinical Findings. Health Care Financ Rev Xgboost: A scalable tree boosting system Computerized Mortality Prediction For Community-Acquired Pneumonia At 117 Va Medical Centers The Value Of Missing Information In Severity Of Illness Score Development Definitions For Sepsis And Organ Failure And Guidelines For The Use Of Innovative Therapies In Sepsis Trends In Mortality From Pneumonia In The Europe Union: A Temporal Analysis Of The European Detailed Mortality Database Between Decrease In Long-Term Survival For Hospitalized Patients With Community-Acquired Pneumonia Balancing Demand and Supply for Veterans' Health Care: A Summary of Three RAND Assessments Conducted Under the Veterans Choice Act Prevalence Of And Trends In Diabetes Among Veterans Prevalence Of Chronic Kidney Disease, Thrombotic Cardiovascular Events, And Use Of Oral P2y12 Inhibitors Among Veterans Increasing Prevalence Of Chronic Lung Disease In Veterans Of The Wars In Iraq And Afghanistan Leading Causes Of Cardiovascular Hospitalization In 8.45 Million Us Veterans Pneumonia As A Cardiovascular Disease Mortality Trends For Veterans Hospitalized With Heart Failure And Pneumonia Using Claims-Based Vs Clinical Risk-Adjustment Variables Trends In United States Emergency Department Visits And Associated Charges From Use Of General Primary Care, Specialized Primary Care, And Other Veterans Affairs Services Among High-Risk Veterans Hospitalizations For Pneumonia After A Decade Of Pneumococcal Vaccination Performance Measures, Vaccinations, And Pneumonia Rates Among High-Risk Patients In Veterans Administration Health Care The Epidemiology Of Sepsis In The United States From The Outcome Of Patients With Sepsis And Septic Shock Presenting To Emergency Departments In Australia And New Zealand. Crit Care Resusc The Surviving Sepsis Campaign: Results Of An International Guideline-Based Performance Improvement Program Targeting Severe Sepsis Temporal Trends And Hospital-Level Variation Of Inhospital Cardiac Arrest Incidence And Outcomes In The Veterans Health Administration Early Mobility In The Hospital: Lessons Learned From The Stride Program. Geriatrics (Basel) Improving Outcomes From Community-Acquired Pneumonia Prospective Comparison Of Three Validated Prediction Rules For Prognosis In Community-Acquired Pneumonia Program At Home: A Veterans Affairs Healthcare Program To Deliver Hospital Care In The Home Home-Based Primary Care: The Care Of The Veteran At Home. Home Healthc Nurse A Systematic Review Of The Magnitude And Cause Of Geographic Variation In Unplanned Hospital Admission Rates And Length Of Stay For Ambulatory Care Sensitive Conditions The online version contains supplementary material available at https://doi.org/10.1007/s11606-022-07413-8.Funding This work was supported by the VA HSR&D Informatics, Decision-Enhancement, and Analytic Sciences (IDEAS) Center of Innovation (CIN 13-414). BE Jones and MM Jones are supported by VA HSR&D career development awards (150HX001240 and IK2HX001165, respectively). The views expressed in this article are those of the authors and do not necessarily reflect the position or policy of the Department of Veterans Affairs or the United States government. Conflict of Interest: The authors have no conflicts of interest to disclose.