CCBYNC Open access
Research

Postoperative pneumonia in elderly patients receiving acid suppressants: a retrospective cohort analysis

BMJ 2010; 340 doi: https://doi.org/10.1136/bmj.c2608 (Published 21 June 2010) Cite this as: BMJ 2010;340:c2608
  1. Donald A Redelmeier, professor of medicine1234,
  2. Finlay A McAlister, professor5,
  3. Christopher E Kandel, medical student1,
  4. Hong Lu, statistical analyst3,
  5. Nick Daneman, assistant professor123
  1. 1Department of Medicine, University of Toronto, Toronto, Canada
  2. 2Clinical Epidemiology Program, Sunnybrook Health Sciences Centre, Ontario, Canada
  3. 3Institute for Clinical Evaluative Sciences in Ontario, Ontario, Canada
  4. 4Patient Safety Service, Sunnybrook Health Sciences Centre
  5. 5Department of Medicine, University of Alberta, Edmonton, Canada
  1. Correspondence to: D A Redelmeier, Sunnybrook Health Sciences Centre, G-151, 2075 Bayview Ave, Ontario, Canada M4N 3M5 dar{at}ices.on.ca
  • Accepted 25 March 2010

Abstract

Objective To test whether gastric acid suppressants are associated with an increased risk of postoperative pneumonia in patients undergoing elective surgery.

Design Population-wide retrospective cohort analysis.

Setting Canadian acute care hospitals between 1 April 1992 and 31 March 2008.

Patients Consecutive patients aged >65 years admitted for an elective operation.

Outcome measure Postoperative pneumonia recorded in inpatient postoperative notes.

Results A total of 593 265 patients were included, of whom about 21% were taking an acid suppressant (most commonly omeprazole or ranitidine). Overall, 6389 patients developed postoperative pneumonia, with a rate significantly higher for those taking acid suppressants (13 per 1000) than controls (10 per 1000), equivalent to a 30% increase in frequency (odds ratio 1.30 (95% confidence interval 1.23 to 1.38), P<0.001). However, no increase in risk was observed after adjustment for duration of surgery, site of surgery, and other confounders (odds ratio 1.02 (0.96 to 1.09), P=0.48). The general safety of acid suppressants extended to those patients prescribed proton pump inhibitors, experiencing long term treatment, receiving high doses, and undergoing high risk procedures.

Conclusion After adjustment for patient and surgical characteristics, acid suppressants are not associated with an increased risk of postoperative pneumonia among elderly patients admitted for elective surgery.

Introduction

Pneumonia is a common, serious, and potentially lethal complication following elective surgery. The incidence varies between 2% and 20% (depending on the patient population and the strategy used to diagnose pneumonia), is more common than cardiac complications in most settings, and collectively affects about a million surgical patients each year in North America.1 2 Multiple clinical prediction rules have consistently identified several risk factors including patient age, duration of surgery, and site of surgery.3 Overall, the case fatality rate is about 10% and the mean attributable increased length of hospital stay is about eight days.4

Gastric acid suppressants have become a focus of concern given their trade-off between reducing acid related upper gastrointestinal diseases yet inducing bacterial overgrowth of the stomach and oesophagus,5 6 and therefore raising the risk of aspiration pneumonia.7 Two large randomised trials in intensive care units observed that gastric acid suppressants led to a twofold to threefold increase in the incidence of ventilator associated pneumonia.8 9 In contrast, recent analyses of outpatients yielded conflicting results about a potential increase in the incidence of community acquired pneumonia.10 11 12 13 14 15 No large study has compared rates of postoperative pneumonia in patients receiving chronic gastric acid suppressants and in those not taking such medications.16

Published guidelines have called for more research on such potential risks since gastric acid suppressants are among the world’s most commonly used medications and are sometimes available without prescription.17 18 19 The purpose of this study was to test whether acid suppressants are associated with an increased risk of postoperative pneumonia. We examined acid suppressants as an entire group as well as distinguished by class (proton pump inhibitors, H2 antihistamines, and miscellaneous agents). We focused on older patients because this group accounts for most major operative procedures, cases of postoperative pneumonia, and surgical deaths.

Methods

Patient selection

We identified consecutive patients older than 65 years admitted for elective surgery in all Ontario hospitals between 1 April 1992 and 31 March 2008 through the Canadian Institutes for Health Information databases. These databases have been validated previously, and we used all 16 years available for analysis.20 21 22 We did not include outpatients, those who had day surgery, or younger patients because of the low rate of pneumonia in these groups and the lack of available prescribing data. Patients who underwent multiple procedures were analysed according to first presentation so that each patient counted only once in each analysis. Our focus was on elective operations to ensure a cohort free of active pneumonia at the time of inception. The study design was approved by the Sunnybrook Research Ethics Committee.

Acid suppressants

For each patient, we searched prescription records from the universal drug database for the year before admission, reasoning that these drugs would customarily be continued perioperatively. This assumption is in line with standard practices that recommend continuing acid suppressants (for those already receiving them) but not initiating acid suppressants prophylactically (for those not already receiving them).23 We classified patients who received two or more prescriptions for an acid suppressant in the year before surgery (including at least one prescription in the 90 days before surgery) as receiving this drug on a chronic basis. Otherwise, we classified the patient as a control. This strategy assured that ascertainment was blinded, free of reverse causality bias, conservative in design, and congruent with prior research.24

Specific medications

We distinguished prescriptions according to drug, dose, and duration. The specific drugs were lansoprazole, omeprazole, pantoprazole, rabeprazole (proton pump inhibitors); cimetidine, famotidine, nizatidine, ranitidine (H2 antihistamines); and aluminium hydroxide, misoprostol, and sucralfate (miscellaneous group). The dose was classified by separating those prescribed the median amount or less of each drug (such as omeprazole 20 mg) from those prescribed higher doses (such as omeprazole 40 mg). The duration of therapy was calculated from the date of the initial prescription and allowing up to a 120 day supply (based on prescribing practices in this region and uncertain patient adherence).25 These methods were similar to those in recent studies linking acid suppressants to community acquired pneumonia.

Validating medications—Acid suppressants were generally available only by prescription in Canada during the study interval (oral antacids being the main exception). A prior validation study indicated that the prescription drug database has an accuracy rate of 99% when compared with pharmacy records.26 Additionally, we tested for misclassification by using more expansive and restrictive definitions of medication exposure. The expansive definition included patients who had any prescription for an acid suppressant in the year before surgery. The restricted definition required four or more prescriptions for an acid suppressant in the year before surgery (with at least one in the 90 days before surgery). We also developed a “clearest case” analysis by analysing patients who stayed consistent with both expansive and restrictive definitions of medication use.

Pneumonia outcomes

The primary outcome was the development of pneumonia during a patient’s hospital stay based on the full inpatient record and coded according to the international classification of diseases (ICD-9 codes 480.0 to 487.9 for years 1992 to 2002, and ICD-10 codes J10.0 to J18.9 for years 2002 to 2008). Surgical complications such as pneumonia are not always identified by clinicians, rigorously recorded in a patient’s chart, or entered into databases. Hence, the codes are specific (about 98%) but not sensitive (about 35%).27 28 29 30 We also conducted alternative analyses with wider and narrower codes for pneumonia. To validate our results and examine the more severe spectrum, we also considered complex combinations of outcomes—namely, patients who experienced postoperative pneumonia and had a prolonged stay in hospital (≥7 days), required admission to an intensive care unit, or died in hospital after surgery.

Risk factors

We measured the major predictors of postoperative pneumonia established in systematic reviews—namely, patient age, chronic obstructive lung disease, surgical site, duration of anaesthesia, ASA (American Society of Anesthesia) score, and use of a nasogastric tube. We estimated the duration of surgery from anaesthesia billing logs reported in 15 minute intervals using methods validated elsewhere.31 Estimates of ASA scores that classify patients before surgery reflected anaesthesia billing and diagnoses in the year before surgery in accord with past research.32 Use of a nasogastric tube was based on physician fee codes (G322, G355, G356, G357). The available databases did not contain reliable information on obesity, spirometry, radiology, current smoking status, or functional dependence.

Additional risk factors—We also gathered data on other factors associated with postoperative pneumonia in some studies.33 34 We derived the patients’ age, sex, and income quintile from the Ontario Registered Persons Database.35 We identified drug therapy for lung disease at baseline by assessing prescriptions for an inhaled bronchodilator in the year before admission. We determined the use of other chronic treatments by searching for prescriptions for systemic corticosteroids, benzodiazepines, opioid analgesics, antipsychotics, antidepressants, and gastric motility agents in accord with prior research.36 Comorbidities were based on the Charlson index.37 Global counts of prior outpatient and inpatient care were based on measures under universal insurance.38 We did not account for geographical location or characteristics of the hospital.

Statistical analysis

For the crude comparison, we used the χ2 test to compare the frequency of postoperative pneumonia in those patients taking acid suppressants with those who were not taking acid suppressants. In the primary analysis we used multivariable logistic regression to adjust this comparison for patient and procedure factors, since the time of onset of pneumonia was not recorded. Propensity score matched analyses yielded nearly identical results to regression analysis and are not reported. We tested for selection bias through a secondary analysis of patients who had received an acid suppressant in the past year but not in the 90 days before surgery. We tested further for hidden confounders in stratified analyses accounting for duration of use, specific medication, and relative dose.

Results

During the 16 year interval a total of 955 914 elective operations were conducted on 593 265 patients involving 269 hospitals and 4195 surgeons. We observed no major trends over the years. The typical patient was 74 years old; underwent an abdominal, musculoskeletal, or lower urogenital operation; and had an average duration of anaesthesia of 132 minutes. Neurosurgical and retroperitoneal operations were the least common surgeries, yet still amounted to thousands of patients (9754 and 7911, respectively). The median length of stay was four days, about a quarter of patients (n=152 998) stayed in hospital more than a week, and 13% (n=74 222) were admitted to a critical care unit. Relatively few patients were hospitalised for pneumonia during the year before surgery (n=4812).

About 21% of patients (n=121 850) were taking an acid suppressant, and 79% (n=471 415) were not taking an acid suppressant before surgery. The two groups were similar in mean age, duration of surgery, and ASA scores (table 1). Multiple other risk factors for postoperative pneumonia were imbalanced against the acid suppressant group, including a history of chronic lung disease and prior pneumonia. Acute gastrointestinal bleeding was rarely diagnosed in the postoperative setting (n=226), particularly among patients receiving acid suppressants (odds ratio 0.73 (95% confidence interval 0.51 to 1.05)). The most commonly used acid suppressants were omeprazole (n=25 948) and ranitidine (n=45 531), and most patients (74%) had received treatment for several years before surgery.

Table 1

Characteristics of patients aged >65 years admitted for elective surgery categorised by treatment with gastric acid suppressants (cases). Values are percentages unless specified otherwise

View this table:

Postoperative pneumonia was diagnosed in 6389 patients after surgery (roughly 11 per 1000). The frequency of this outcome was about a third higher among patients taking acid suppressants before surgery (13 per 1000) than among controls (10 per 1000) (odds ratio 1.30 (1.23 to 1.38), P<0.001). Accounting for age, sex, type of surgery, and duration of anaesthesia yielded a smaller increase in risk (odds ratio 1.20 (1.13 to 1.28)). Accounting for chronic lung disease, prior pneumonia, and hypoalbuminaemia yielded further attenuation (odds ratio 1.12 (1.05 to 1.19)). The final multivariable model, which adjusted for all baseline characteristics, showed no significant increase in the risk of postoperative pneumonia associated with acid suppressants (adjusted odds ratio 1.02 (0.96 to 1.09)).

The apparent safety of acid suppressants was evident across a variety of patient and procedure factors. Each analysis yielded no major increase in the risk of postoperative pneumonia, although the confidence intervals were broad in a few subgroups (figure). Overall, 11 of the 29 prespecified subgroups indicated a point estimate below 1.00, and 27 of the 29 prespecified subgroups showed a nominal P value >0.05. The findings were highly consistent among patients with different ages, durations of surgery, and ASA scores, as well as those with a history of lung disease or prior pneumonia. All of the prespecified subgroups overlapped the 95% confidence interval of the main analysis, as did a post hoc subgroup analysis restricted to patients undergoing thoracic surgery (odds ratio 1.06 (0.88 to 1. 28)).

Figure1

Association of postoperative pneumonia with taking acid suppressants in patients aged >65 years admitted for elective surgery, analyses for total cohort and subgroups. Odds ratios from adjusted multivariable analysis using logarithmic scale: result for total cohort is 1.02 (95% CI 0.96 to 1.09). (COPD=chronic obstructive pulmonary disease, ASA=American Society of Anesthesia)

Our findings were consistent across different drug classes and doses of acid suppressants. Proton pump inhibitors (the most potent acid suppressants) were associated with no significant risk of postoperative pneumonia (adjusted odds ratio 0.97 (0.88 to 1.06)). Similarly, H2 antihistamines also appeared safe (adjusted odds ratio 1.07 (0.98 to 1.17)), as did miscellaneous acid suppressants (adjusted odds ratio 1.13 (0.93 to 1.37)). Patients prescribed doses at or below the median showed no increase in the risk of postoperative pneumonia (adjusted odds ratio 1.03 (0.94 to 1.13)), nor did patients prescribed higher doses (adjusted odds ratio 1.01 (0.93 to 1.10)).

We found no major anomalies related to duration of treatment. Patients treated for multiple years showed no significant increase in risk (adjusted odds ratio 1.01 (0.93 to 1.08)). Similarly, patients treated for a single year showed no significant increase (adjusted odds ratio 1.07 (0.96 to 1.19)). Patients (n=79 517) who were former users and had received an acid suppressant in the past (but none within the 90 days before surgery) showed no significant increase or decrease (adjusted odds ratio 1.01 (0.93 to 1.10)). Patients (n=28 975) who started an acid suppressant acutely before surgery (one prescription within 30 days of surgery and none earlier) showed no significant increase in risk (adjusted odds ratio 1.08 (0.97 to 1.20)).

We explored whether pneumonia was any more severe for patients receiving acid suppressants compared with those patients not receiving acid suppressants. For example, patients who developed pneumonia were about four times more likely than those who did not develop pneumonia to be admitted to an intensive care unit after surgery (54% v 12%, P<0.001). Similarly, patients who developed pneumonia were more likely than patients who did not develop pneumonia to stay in hospital more than a week (89% v 32%, P<0.001) or die during hospitalisation (18% v 1%, P<0.001). Acid suppressants were not associated with a significant increase in any of these severe forms of pneumonia (table 2). Overall, we observed a 12 day absolute increase in median length of stay for all patients who developed postoperative pneumonia (16 days v 4 days, P<0.001) and no differential increase for those receiving acid suppressants compared with controls.

Table 2

Association of pneumonia with taking gastric acid suppressants among patients aged >65 years admitted for elective surgery

View this table:

As expected, other factors were significant predictors of postoperative pneumonia. The type of surgery was extremely important (table 3), with the highest risks observed for thoracic procedures and lowest risks for ophthalmological procedures. Duration of surgery was also important, equivalent to about a 1% relative increase in risk for each 2 minutes of time. Age, sex, insertion of a nasogastric tube, postoperative hypoalbuminaemia, and various comorbidities were each independent predictors (in accord with past research). The overall predictive accuracy of the 10 factors was strong (C statistic 0.81). All other baseline characteristics (listed in table 1) were not associated with a significant independent increase in risk, including gastric motility agents (adjusted odds ratio 1.07 (0.92 to 1.25)).

Table 3

Potential predictors of postoperative pneumonia among 593 265 patients aged >65 years admitted for elective surgery

View this table:

Discussion

Overview

We studied elderly patients undergoing elective surgery over a 16 year interval. We found that pneumonia was a common complication, with more events in the few days after the operation than in the full year before the operation. The average case increased the length of hospital stay by more than 10 days and increased the patient’s risk of death more than 10-fold. We also found that the type of patient prone to receive a gastric acid suppressant was also the type of patient predisposed to pneumonia. After accounting for patient and surgical risk factors, we found the risk of postoperative pneumonia was no higher with an acid suppressant compared with no acid suppressant. The apparent safety of acid suppressants was particularly evident for patients treated for multiple years, receiving proton pump inhibitors, prescribed high doses, and undergoing high risk surgical procedures.

Future research

The upper bound of almost all observed confidence intervals suggests that our study excludes a clinically important increase in risk with acid suppressants (estimated 1000 patients needed to be treated to potentially add one postoperative pneumonia case). Trial data are unlikely to overturn this result given the difficulties of recruiting patients into randomised studies in surgery and the obstacles of funding research on generic drugs. Moreover, our data imply that other risk factors are a greater priority for targeting interventions to reduce postoperative pneumonia risk; in particular, duration of surgery, antipsychotic medications, nasogastric tubes, and postoperative hypoalbuminaemia. Indirectly, our study also contrasts with recent research on the association between acid suppressants and pneumonia observed in non-surgical settings.39 40 41

Main limitation

The most important limitation of our study is that it is not a randomised trial that eliminates all confounding. However, the controlled nature of inpatient elective surgical services argues against major confounding from active smoking, ongoing alcohol consumption, reverse causality, or other confounders relevant to community acquired pneumonia.42 The analyses, in addition, provided data on almost all major clinical predictors, and the results (tables 2 and 3) yield a pattern that is difficult to attribute to misclassification of pneumonia outcomes or medication exposures.43 The main advantage of a randomised trial would be in prospective data collection to obtain more information about microbiology, radiology, medication compliance, clinical course, long term outcomes, milder cases, and other evidence lacking in administrative databases.

Further limitations

Negative studies are sometimes prone to biases that differ from those in studies that report significant differences. Over-adjustment bias, for example, sometimes causes adjusted analyses to be less valid than crude analyses. This bias occurs if an event downstream in the course of a disease is mistakenly considered a baseline characteristic. Outcome heterogeneity can be a second potential bias if, for example, acid suppressants were to increase the risk of Gram positive bacterial pneumonia and decrease the risk of Gram negative pneumonia. In such circumstances, a comprehensive analysis might fail to detect either finding. Similarly, patient diversity can be a third bias if the same exposure is helpful to some patients and harmful to other patients, and the patient groups are hard to distinguish. We do not believe these three issues biased our results.

Relative advantages

One strength of our research relates to its statistical power, with a sample size almost double that of the US National Veterans Affairs Surgical Quality Improvement Program. The design allows the analyses to address the vagaries of ascertaining patient compliance since acid suppressants are not usually changed around elective surgical procedures.44 The multicentred sampling provides a rigorous test free of referral bias or selective recruitment. The data also show that postoperative pneumonia diagnostic codes are specific (but not sensitive) given that our crude analysis yielded significant increase in risk similar to recent reports (and a base rate lower than surveillance reports). In addition, the statistical power corroborates other predictors of pneumonia reported in other studies, including use of benzodiazepines and nasogastric tubes.

Clinical relevance

The implication of our research is that the bacterial colonisation induced by gastric acid suppressants may be a major finding in laboratory experiments but may have little clinical importance for postoperative pneumonia,45 46 47 48 49 so that concerns over the safety of acid suppressant therapy in the perioperative setting are perhaps misplaced. Minimising a patient’s risk of postoperative pneumonia might be better prioritised through focusing on smoking cessation, optimising nutrition, reducing any psychoactive medications, prompt discontinuation of nasogastric tubes, chest expansion manoeuvres, and other opportunities for protecting the respiratory tract around the time of an operation.

What is already known on this topic

  • Postoperative pneumonia is a common and serious complication after major surgery in elderly patients

  • Several randomised trials have reported that gastric acid suppressants sometimes increase the risk of ventilator associated pneumonia in critical care unit patients

What this study adds

  • Patients who received gastric acid suppressants were predisposed to postoperative pneumonia but were also prone to independent risk factors for postoperative pneumonia

  • Some of the most important risk factors for postoperative pneumonia include a history of chronic obstructive pulmonary disease, heart failure, Parkinson’s disease, or pneumonia; nasogastric tubes; and prescriptions of antipsychotics

  • Accounting for such differences in other risk factors reveals no direct association between gastric acid suppressants and a patient’s risk of postoperative pneumonia

Notes

Cite this as: BMJ 2010;340:c2608

Footnotes

  • Contributors: We thank Daniel Hackam, David Juurlink, Gabor Kandel, Muhammad Mamdani, Matthew Stanbrook, Damon Scales, Steven Shumak, and Arthur Slutsky for helpful comments on earlier drafts of this article. All authors contributed to the design of the study, interpretation of results, and manuscript preparation. Both DAR and HL were responsible for checking all computer programming and computer output. All authors except HL were responsible for literature review and bibliography construction. DAR is guarantor and accepts full responsibility for the work, conduct of the study, access to the data, and decision to publish.

  • Funding: This project was supported by the Canada Research Chair in Medical Decision Sciences, a Military Health Services Research grant from the Canadian Forces Health Services, the Physicians Services Incorporated Foundation of Ontario, the Alberta Heritage Foundation for Medical Research, and the University of Toronto Comprehensive Research Experience for Medical Students programme. The funding organisations had no role in the design and conduct of the study; collection, management, analysis, and interpretation of data; and preparation, review, or approval of the manuscript. The views expressed in this paper are those of the authors and do not necessarily reflect the Ontario Ministry of Health.

  • Competing interests: All authors have completed the Unified Competing Interest form at www.icmje.org/coi_disclosure.pdf (available on request from DAR) and declare that all authors had: (1) no financial support for the submitted work from anyone other than their employer; (2) no financial relationships with commercial entities that might have an interest in the submitted work; (3) no spouses, partners, or children with relationships with commercial entities that might have an interest in the submitted work; (4) no non-financial interests that may be relevant to the submitted work.

  • Data sharing: No additional data available.

  • Answer CME questions related to this article.

This is an open-access article distributed under the terms of the Creative Commons Attribution Non-commercial License, which permits use, distribution, and reproduction in any medium, provided the original work is properly cited, the use is non commercial and is otherwise in compliance with the license. See: http://creativecommons.org/licenses/by-nc/2.0/ and http://creativecommons.org/licenses/by-nc/2.0/legalcode.

References

View Abstract