Abstract
Background Certain conditions are established as risk factors for community-acquired pneumonia. There are a number of other conditions that may also be risk factors, but information on these is limited.
Aim To determine new independent risk factors for community-acquired pneumonia using a very large primary care database.
Design of study Nested case-control study.
Setting Four hundred and forty-three general practices in the UK contributing to the QRESEARCH database.
Method A total of 17 172 incident cases of all ages diagnosed with pneumonia between 1996 and 2005 were matched with up to five controls by age, sex, general practice, and calendar year. Associations between pneumonia and each established condition and potential risk factors were determined with odds ratios (ORs), using multiple conditional logistic regression analysis adjusted for smoking, socioeconomic status, and use of influenza and pneumococcal vaccines.
Results The analysis confirmed the higher risk of pneumonia among patients with at least one of the established risk factors; the adjusted OR was 2.29 (95% confidence interval [CI] = 2.20 to 2.39). In addition, patients with the following conditions had a higher risk of pneumonia despite adjustment for known risk factors and confounders: stroke or transient ischaemic attack, rheumatoid arthritis, Parkinson's disease, cancers, multiple sclerosis, dementia, and osteoporosis. The adjusted OR for pneumonia among patients without an established risk factor but with at least one of the new conditions was 2.44 (95% CI = 2.24 to 2.65).
Conclusion As well as confirming some established risk factors, this study has determined seven new independent risk factors for community-acquired pneumonia.
INTRODUCTION
Community-acquired pneumonia is a serious condition, which affects annually up to 11 per 1000 adults,1 and up to 40 per 1000 of children.2 Of these, almost half require hospital admission. Streptococcus pneumoniae is the commonest cause of community-acquired pneumonia and can be fatal in up to 20% of cases.3
While pneumonia can affect any age group, at most risk are adults aged ≥65 years, and infants and young children, who do not have a fully developed immune system. Patients at risk include those with splenic dysfunction,4 cochlear implants or cerebrospinal fluid shunts,3 chronic cardiovascular disease, chronic pulmonary disease, diabetes,5 chronic liver disease,6–8 and chronic renal failure,5,9 as well as those with HIV and AIDS.10,11 The 23-valent pneumococcal immunisation has been recommended since 1992 for individuals at high risk of invasive pneumococcal disease, and in 2003 the recommendation was extended to include all people aged ≥65 years. Pneumococcal vaccination rates have increased over time as a consequence.12 However, there might be other patients who are at increased risk of pneumonia with conditions that are not included in the vaccine guidelines. Equally, some of those in established risk groups included in the guidelines may not actually be at high risk, since evidence is limited for some of the specified risk groups. Patients with rheumatoid arthritis, for example, are not included in the guidance although they seem to be susceptible to pneumococcal disease.13,14 Pneumonia is also the most common cause of death in patients with acute stroke,15 and it occurs more frequently than expected in dementia patients,7,16 and in patients with solid cancers.11,17,18
Given the uncertainty regarding the effectiveness of pneumococcal vaccination,19 and in the presence of increasing morbidity due to pneumonia, GPs need to be able to identify and closely monitor those patients at highest risk of pneumonia. For example, such patients might benefit from earlier intervention with antibiotics when they present to their GP with a chest infection.20 Better understanding about high-risk groups for pneumonia could also help inform future development of an effective vaccine to prevent pneumonia.
The main aim of this study is to identify additional independent risk factors for community-acquired pneumonia, which could potentially be used in clinical practice to guide treatment decisions.
METHOD
Study design and setting
A nested case-control study was conducted using general practices in the UK contributing to the QRESEARCH database (version 11, downloaded August 2006). The study period was the 10 years between 1 January 1996 and 31 December 2005.
Study population
An open cohort of patients registered at any time between 1 January 1996 and 31 December 2005, excluding temporary residents, was identified. For each patient, a left censor date was determined, which was the latest of the start of the study: 1 January 1996; the date of patient registration with the practice; or the date of the installation of the EMIS computer system. A right censor date was also defined, which was the earliest of the following: date of diagnosis of the outcome of interest; date of death; date of leaving the practice; date of the latest download of data; or 31 December 2005.
Cases of pneumonia
Patients with an incident diagnosis of pneumonia were identified — that is, patients with a first diagnosis during the 10-year study period (a list of diagnostic codes is available from the authors). Patients with a postmortem diagnosis were included as cases, but patients with a diagnosis prior to their entry into the cohort were excluded.
Selection of controls
Each case was matched to five controls who were alive and registered with the practice where the case was registered at the time of diagnosis of each case. Controls were matched on age at index date (to within 1 year), sex, practice, and calendar time. Selection of controls was made without replacement. Controls were allocated an index date, which was the date on which their matched case was first diagnosed with pneumonia.
How this fits in
Patients with diabetes, chronic heart disease, chronic renal disease, chronic respiratory disease, asplenia, cerebrospinal fluid shunt, chronic liver disease, sickle cell disease or coeliac disease, cochlear implant, HIV/AIDS, or immunosuppression are at increased risk of invasive pneumococcal disease and therefore are recommended by the Department of Health for pneumococcal vaccination in England. Patients with other conditions including stroke or transient ischaemic attack, rheumatoid arthritis, Parkinson's disease, cancers, multiple sclerosis, dementia, and osteoporosis also have about two- to threefold increase of risk of all causes community-acquired pneumonia and these conditions therefore should be considered as a high-risk patient group.
Patients aged >5 years were included in the analysis if they had at least 5 years of electronic health records available. Children ≤5 years old were included in the analysis if they had complete health records since their birth. This was to ensure the data for vaccinations, prescriptions, and morbidity were as complete as possible over a 5-year period.
Risk groups from current guidance
‘Established risk factors’ were based on those patients identified as being at high risk of invasive pneumococcal disease according to the Chief Medical Officer's guidance for 2006.21 The following diseases were included: diabetes, chronic heart disease, chronic renal disease, chronic respiratory disease, asplenia, cerebrospinal fluid shunt, chronic liver disease, sickle cell or coeliac disease, cochlear implant, HIV/AIDS, and immunosuppression. Immunosuppression did not include patients already identified as being at high risk due to the other diseases in the list.
In addition, the risk was estimated in patients with chronic heart disease but without ischaemic heart disease, in patients with treated asthma, and in patients with asthma but no evidence of treatment (‘untreated asthma’). Asthma treatment was defined as at least one prescription for a β agonist and/or at least one inhaled steroid within the preceding 12 months.
New potential risk groups
The risk of pneumonia was determined in patients with other morbidities including the following: stroke or transient ischaemic attack, rheumatoid arthritis, Parkinson's disease, five common cancers (breast, colon, gastric, lung, prostate), multiple sclerosis, dementia, osteoporosis, and osteoarthritis.
These diseases were chosen either because they limit the mobility of patients, which might in turn increase the risk of pneumonia, or because they tend to be associated with immunosuppression.
Patients were considered to be in a current or new disease risk group if they had an appropriate Read code group in their electronic health record before the date of diagnosis of pneumonia, for cases, or before the matched index date, for controls.
Statistical analysis
All the available cases on the QRESEARCH database who met the inclusion criteria were used, in order to maximise the power of the study. Five matched controls were used per patient, since using more controls than this does not tend to increase the study power.22 In order to detect an odds ratio (OR) of 1.50 (which was predefined as being clinically important) at 1% significance with 80% power for a condition that occurs in 0.5% of controls, a sample size of 13 500 cases and 67 500 controls would be needed.
Conditional logistic regression was used to estimate OR with 95% confidence intervals (CIs) for pneumonia. A number of different models were used. First, the unadjusted OR for risk of pneumonia was determined for each of the disease risk groups (both current and potential). Then the OR associated with each disease risk group was determined, adjusting for the potential confounding effects of material deprivation (Townsend deprivation score in fifths based on the output area associated with the patient's postcode), smoking status (current smoker, not current smoker, smoking not recorded), use of influenza vaccine in the 12 months prior to the index date, and number of years of electronic data available prior to the index date (categorised as 5, 6, 7, 8, 9, ≥10 years). All current disease groups were also adjusted for, and any new potential disease groups that had an unadjusted OR ≥1.5 were included. As patients aged 5–64 years are not recommended for routine pneumococcal vaccination, the same analyses were performed restricted to such cases and controls.
An additional model included pneumococcal vaccination (categorised as: no recorded pneumococcal vaccination in last 5 years; vaccinated ≥49 months ago; vaccinated 12–48 months ago; vaccinated 15–365 days ago; and vaccinated 1–14 days ago).
Key analyses were repeated, restricted to cases and controls where the index date was prior to 2003 (the year in which pneumococcal vaccine was recommended to all patients aged ≥65 years), and to cases and controls with at least 10 full years of electronic prescribing records available. The analyses were also repeated restricted to cases with lobar and pneumococcal pneumonia and their controls, as those diagnoses were most likely made on hospital discharge. STATA (version 10) was used for all the analyses. Given the large number of comparisons being undertaken, a P value of 0.01 or less was considered statistically significant. A priori, an OR≥1.5 was considered to be clinically important.
Missing data for smoking status and Townsend deprivation score were analysed as a separate category. As records for children younger than 15 years hardly contained information about smoking status, they were assumed to be non-smokers. The analyses were also repeated considering smoking status in children as not recorded.
RESULTS
Incidence rates of pneumonia
There were 443 QRESEARCH practices included in the analysis. Overall there were 34 098 incident cases of pneumonia arising from 29 605 328 patient-years, giving an overall incidence rate of 115 per 100 000 patient-years.
The incidence of pneumonia varied by year and age group, approximately doubling between 1996 and 2005 in all age groups and reaching an age–sex-standardised rate of 150 cases per 100 000 in 2005. The incidence rate was highest in patients aged ≥75 years, next highest in patients aged 0–4 years, and lowest in patients aged 15–44 years. Of all the cases of pneumonia, 25% had lobar or pneumococcal pneumonia. The distribution of specific diagnoses in all cases with pneumonia is presented in Table 1. There were 17 172 cases with at least 5 years of prior data, and these were included in the remaining analyses. Of these 4485 (26%) had lobar or pneumococcal pneumonia.
Table 1 Distribution of diagnoses with the pneumonia outcome.
Baseline characteristics of pneumonia cases and controls
Table 2 shows baseline characteristics for cases with pneumonia and their matched controls. Cases and controls were well balanced with respect to the length of longitudinal records available prior to the index date. Smoking was more common among cases than controls, and there was a slight tendency for cases to be from more deprived areas than controls. Uptake of influenza vaccination in the preceding 12 months was also marginally higher in cases than controls.
Table 2 Characteristics of cases with pneumonia and age–sex–practice–calendar year-matched controls.
Risks of pneumonia according to disease risk groups
Figure 1 and Table 3 show the number of cases and controls with diagnoses for diseases in the established risk groups, and in the potential new risk groups prior to the date of diagnosis of pneumonia in cases, and to the equivalent index date in controls. Almost half of the cases (46%) had been diagnosed with at least one of the diseases in the existing risk groups, compared to 29% of the controls. The unadjusted ORs for all of the current risk factor diseases were >1.5, apart from in the immunosuppressed patient group, where the unadjusted OR was 1.12 (95% CI = 1.03 to 1.21).
Figure 1 Risk of pneumonia in patients of all ages.
Table 3 Characteristics of cases and matched controls and odds ratios for pneumonia for diseases currently and potentially considered as risk factors for pneumococcal disease, all patients.
For the new potential risk factors, the proportion of cases diagnosed with any of these diseases was significantly higher than among controls. Most of the unadjusted OR were >1.5. Among the cancer patients, those with lung cancer had the highest unadjusted OR for pneumonia (unadjusted OR: 4.73, 95% CI = 3.58 to 6.25). Multiple sclerosis showed the next highest risk of pneumonia (unadjusted OR: 3.20, 95% CI = 2.40 to 4.26). As the unadjusted OR for osteoarthritis was only 1.12 (95% CI = 1.06 to 1.18), it was excluded from further analysis. More than one-fifth of cases (21.2%) had been diagnosed with at least one of the potential risk factors (stroke or transient ischaemic attack [TIA], rheumatoid arthritis, Parkinson's disease, multiple sclerosis, dementia, osteoporosis, or any type of cancer) compared with 12.6% of controls.
Adjustment for a number of potential confounding variables tended to reduce the OR, with the exception of the immunosuppressed, multiple sclerosis, and dementia groups. The adjusted ORs for all current and potential risk groups were greater than 1.5, except for in the diabetes, immunosuppressed, and any cancer groups. The highest adjusted ORs were for multiple sclerosis, HIV/AIDS, and asplenia.
Table 4 shows the numbers of patients diagnosed with only a current risk group disease, only a new potential risk group disease, and with diseases from both risk groups. Out of 7894 cases diagnosed with a current risk group disease, 2696 patients (34%) were also diagnosed with at least one of the new potential risk group diseases, and out of 20 985 controls with a current risk group disease, 5957 (28%) also had a new risk group disease. For example, most of the cancer patients (97.6% of cases with cancer and 97.0% of controls) fall into the immunosuppressed group. The adjusted risk of pneumonia in patients with one or more current risk factor conditions but no new risk factors was 2.3-fold increased (OR: 2.33, 95% CI = 2.23 to 2.44) compared with patients with no current or new risk factors. In patients with one or more new potential risk factor conditions (excluding osteoarthritis) and not diagnosed with diseases from the current risk group, the risk was almost 2.5-fold increased (OR: 2.44, 95% CI = 2.24 to 2.65) after adjusting for smoking, deprivation, use of influenza vaccine, use of pneumococcal vaccine, and years of medical records.
Online Table 4 Characteristics of cases and matched controls and odds ratios for pneumonia for a number of diseases currently and potentially considered as risk factors for pneumococcal disease, all patients and patients aged 5–64 years.
Table 4 also show how multiple conditions affect the risk of pneumonia: patients with three or more conditions have a risk almost three times as high as patients with only one condition.
Restricted analyses
The analyses were repeated on patients aged 5–64 years. The results were similar to those in patients of all ages. The risk of pneumonia in those with one or more current risk factor diseases and no new risk factor disease adjusted for the confounding variables was twofold increased (OR: 1.96, 95% CI = 1.82 to 2.11), and in those with one or more diseases from the potential risk factor list (excluding osteoarthritis) and not diagnosed with any of the current risk group diseases, it was 2.3-fold increased (OR: 2.32, 95% CI = 1.91 to 2.82). These results are shown in Figure 2 and Table 4.
Figure 2 Risk of pneumonia in patients aged 5–64 years.
The analyses also showed similar results to the analyses performed for the whole sample when restricted to: patients aged ≥65 years; patients with pneumonia diagnosed before 2003; and patients with lobar or pneumococcal pneumonia. The increased risk of pneumonia for those patients with at least one of the diseases from the current risk factor list was approximately the same (OR ranged from 2.29 for patients with lobar pneumonia to 2.32 for patients with pneumonia diagnosed before 2003). The increased risk of pneumonia for patients with at least one disease from the new potential risk factor list and without diseases from the current risk factor group varied slightly (OR ranged from 1.94 for patients with lobar pneumonia to 2.50 for patients aged ≥65 years and patients diagnosed before 2003).
Pneumococcal vaccination
Table 5 shows the number of cases and controls vaccinated with pneumococcal vaccine. Only 16.4% of cases and 14.4% of controls had records of pneumococcal vaccination in the last 5 years. Among the patients with at least 10 years of medical records, the proportion of cases who had been vaccinated in the last 10 years was 18.3%, and the proportion of controls was 14.3%. Table 5 shows results from adjusted analyses for time since the last vaccination in individuals with at least 5 and 10 years of data. There was a significantly lower risk of pneumonia in patients who had been vaccinated between 15 and 365 days previously, compared with those not vaccinated in the last 5 years (OR 0.83, 95% CI = 0.76 to 0.92), but not in patients vaccinated more than 12 months earlier.
Table 5 Timing of pneumococcal vaccination for all pneumonia cases and for cases with lobar or pneumococcal pneumonia and their matched controls.
Table 5 also shows the results of the analysis regarding the use of pneumococcal vaccine, but restricted to patients with lobar or pneumococcal pneumonia. The adjusted OR were similar to those for all pneumonia cases, although they were not statistically significant at the 1% significance level.
All the analyses were performed assuming missing smoking status for children aged <15 years as non-smokers. Exactly the same results were obtained for all analyses, assuming smoking status for children as not recorded.
DISCUSSION
Summary of main findings
This is a large population-based case-control study designed to determine risk factors for community-acquired pneumonia. Overall, the study has shown that diagnoses of pneumonia are about two to three times more common in individuals in any of the specified clinical risk groups (both existing and new risk groups) than in individuals without these conditions. Similar results were obtained for subgroup analyses on patients with more specific diagnoses of lobar or pneumococcal pneumonia.
The increased risk of all-cause pneumonia among patients in existing risk groups persisted despite adjustment for the potential confounding effects of deprivation, smoking, and influenza and pneumococcal vaccination (OR: 2.29 in patients with one or more current risk factor diseases). This analysis, therefore, reinforces existing risk groups which include patients with diabetes, chronic heart disease, chronic renal disease, chronic respiratory disease, asplenia, cerebrospinal fluid shunt, chronic liver disease, sickle cell disease, coeliac disease, cochlear implant, HIV/AIDS, or immunosuppression.
The new risk groups identified in this study include patients with stroke or transient ischaemic attack, rheumatoid arthritis, Parkinson's disease, cancers, multiple sclerosis, dementia, and osteoporosis. Overall, a 2.5-fold increased risk of all-cause pneumonia was found among patients with one or more of these new risk factors, taking into account known risk factors and potential confounding variables (OR: 2.44). Patients with lung cancer and multiple sclerosis have particularly high increased risk of pneumonia, with fivefold and threefold increased risks respectively. The magnitude of these risks exceeds that observed for the majority of existing risk groups.
The study also showed some effectiveness of the pneumococcal vaccine, decreasing the risk of pneumonia by 17% (OR: 0.83, 95% CI = 0.76 to 0.92), and only if the vaccine was administrated within the year before the index date. This effect is not large and is not protective enough for the general population; therefore, taking into account other risk factors is essential in preventing pneumonia. A similar conclusion was reached in a systematic review and meta-analysis based on 22 randomised control trials showing no significant preventive effect of pneumococcal vaccination.23
This is a unique study in the community setting looking at the effect of comorbidities on the risk of pneumonia. British Thoracic Society guidelines recognised such conditions as asplenia, sickle cell and coeliac disease, renal disease, heart disease, lung disease, liver disease, diabetes, and immunosuppression due to HIV infection;1 and these diseases are included in the vaccine guidelines. This study has not only confirmed that patients with current risk group conditions have an increased risk of pneumonia, but has also demonstrated that there is an additional group of patients who are not recommended for pneumococcal vaccination but have an increased risk of pneumonia.
Strengths and limitations of the study
The study has several strengths. The QRESEARCH database has been validated (http://www.qresearch.org) and covers a large representative population from primary care, so the results are likely to be generalisable to the rest of the UK. As the study is based on computer-recorded prescribing and morbidity data collected prospectively, it was possible to include all eligible patients (including those who had died), thereby avoiding selection bias.
Matching of controls to cases on age, sex, calendar time, and practice removed confounding by these factors. The analysis was also adjusted for smoking, deprivation, and influenza and pneumococcal vaccinations, to minimise the potential confounding effects of these variables. In contrast to studies based on questionnaire or interview data, there is no recall bias, since information about the patient and morbidities, as well as exposure to pneumococcal vaccine, was prospectively recorded on computer before the diagnosis of pneumonia was made and so is unaffected by the pneumonia diagnosis itself. Any bias due to misclassification is likely to be minimal, because recording of clinical diagnosis and use of prescribed medications in general practice has been shown to have high levels of accuracy and completeness.24
The study had some limitations — information on certain risk factors for pneumonia such as use of alcohol is less consistently recorded in patient electronic health records and so has not been included in the analysis. The study has, however, included liver disease, which could be viewed as a proxy for chronic alcohol use. As with all observational studies, there could be residual confounding which it is not possible to fully correct.
The increased risk of pneumonia in the previously identified and newly identified risk groups could be a reflection of consulting bias, where pneumonia is opportunistically diagnosed when patients consult for one of these conditions. However, given that pneumonia is a serious diagnosis, it is unlikely that such a diagnosis would be made by chance in a patient consulting for another reason.
The other limitation is that the diagnosis of pneumonia was recorded by a GP and quite often was not supported by chest X-ray examination. However, British Thoracic Society guidelines do not consider chest radiograph as a necessary investigation for such patients in the community, relying instead on clinical symptoms of pneumonia.1 However, a GP's knowledge of a patient's comorbidities might alter the likelihood of making the diagnosis of pneumonia. This is a potential source of diagnostic bias which cannot be controlled for.
Comparison with existing literature
The pneumonia incidence rates have increased over time, which is consistent with trends of hospital admissions for pneumonia,25 but contrasts with trends in incidence data reported by the Royal College of General Practitioners (RCGP),26 which have shown a consistent decline. More detailed comparisons, however, between QRESEARCH and RCGP data show that, when similar definitions of pneumonia are used, the rates are comparable, suggesting that some of the difference is due to differences in data capture and case definition (D Fleming, personal communication, 2007). The definitions of pneumonia in the present analyses, for example, include post-mortem diagnoses and diagnoses entered retrospectively after discharge from hospital, whereas the RCGP data only include contemporaneous diagnoses made during GP consultations.
Implications for clinical practice and future research
In addition to confirming some ‘established risk factors’, this study has identified seven new independent risk factors for all-cause community-acquired pneumonia. The results of this study could help clinicians identify patients at higher risk of pneumonia and also help inform future vaccine development given the possible lack of efficacy of the 23-valent vaccine against pneumonia. Further research would be needed to determine whether these high-risk patient groups would benefit from early intervention with antibiotics in the event of a respiratory infection or during a flu epidemic.