Research design and methods
Data sources
We analyzed data from the Clinical Practice Research Datalink (CPRD), a database of anonymized primary care medical records. Data were extracted in May 2011, and contained records for 12.8 million patients at 627 practices across the UK.22 Records include patient demographics, health behaviors, test results, diagnoses, and prescriptions. Diagnoses are recorded using Read codes, and have generally been found to have good positive predictive value in validations.23 The CPRD population is similar to the general UK population in terms of age and sex.24 ,25
Linked data are available for patients in England, subject to practice-level consent. This study used linked data on all hospital inpatient admissions to NHS hospitals in England from Hospital Episodes Statistics (HES), and socioeconomic status from the Office for National Statistics (ONS).
Study population
The study population comprised all patients in CPRD with diabetes mellitus, aged ≥65 years, with no history of renal replacement therapy, who had at least one valid serum creatinine result recorded in primary care. Diabetes was identified by diagnostic Read codes. For less definitive Read codes, we required confirmation with an antidiabetic medication prescription, as described in detail previously.2
Patients met eligibility criteria at the latest time-point of: diabetes diagnosis, 65th birthday, 1 year after practice registration, their general practice fulfilling CPRD quality control standards, or 1 April 1997. Their study entry date was their first valid serum creatinine result after the eligibility criteria were met. Patients left the study at the first time-point of: death, leaving the practice, last data collection from the practice, renal replacement therapy (dialysis or renal transplant), or 31 March 2011. Patients with a diagnosis of HIV or hyposplenia (including celiac disease or sickle cell disease) at any point in their medical record were excluded from the study.
Definition of infections
LRTI was defined as a broad category of all infections of the lower respiratory tract, including influenza infections, bronchitis, and pneumonia.
A clinical diagnosis of infection was identified by a diagnostic Read code in primary care records, or a diagnostic International Classification of Disease 10 (ICD-10) code as the primary cause of hospital admission in secondary care records. To avoid overestimation from repeat attendances for the same infection, diagnostic codes recorded within 28 days of one another were attributed to a single episode of infection. The first consultation for infection was treated as the date of infection onset, and the infection had duration until 28 days after the latest of the last diagnostic code or hospital discharge. All infections with onset date during a HES hospitalization spell, or within 14 days following hospital discharge, or which included a code for postoperative infection, were designated hospital-acquired, and excluded. These methods have been described in detail previously.26
Time at risk
Patients were not at risk of incident community-acquired infection during ongoing infection (community-acquired or hospital-acquired), during any hospitalization, or within 14 days following hospital discharge. These time periods were removed from time at risk. As pneumonia was a subset of LRTI, a patient could be at risk of pneumonia during an ongoing LRTI.
Assignment of vaccination status
Vaccination status was identified from primary care records using Read codes, prescription data, and immunization record forms.
For pneumococcal vaccination, any of these records could define a first vaccination, and any subsequent prescription could identify a booster vaccination. Time-updated pneumococcal vaccination status was classified according to time since the latest pneumococcal vaccination (<1, 1–5, ≥5 years, never vaccinated).
Time-updated influenza vaccination status was assigned within vaccination years (1 September to 31 August). Within each vaccination year, influenza vaccination status was current from the first vaccination record to the subsequent 31 August. Patients without a current vaccination who had received an influenza vaccination within any of the previous five vaccination years were classified as having ‘residual’ influenza vaccination status, and other patients were categorized as unvaccinated.
Definition of CKD
We studied two markers of CKD: estimated glomerular filtration rate (eGFR) and proteinuria. Estimated GFR was calculated from serum creatinine test results in primary care, using the CKD-EPI equation, including adjustment for black ethnicity.27 Estimated GFR status was time-updated using a last-carried-forward method, with eGFR status assigned according to the most recent creatinine result.17
A history of proteinuria was established from a Read code for persistent proteinuria or proteinuric disease, or a positive test result which did not coincide with a urinary tract infection diagnosis.
Definitions for covariates
Age was categorized in 5-year bands up to a final category of ≥85 years. Socioeconomic status was assigned at a practice level, using 2007 ONS estimates of the Index of Multiple Deprivation, a composite area-level marker of deprivation.28 Smoking status was identified as current, ex-smoker, or non-smoker from HES or CPRD records. Comorbidities were identified from diagnostic Read codes in CPRD and were modeled as separate variables which were: ischemic heart disease, congestive cardiac failure, hypertension, cerebrovascular disease, other dementia, chronic lung disease (which included chronic obstructive pulmonary disease but not asthma), and chronic liver disease. Baseline HbA1C was defined by the most recent HbA1C test result in CPRD prior to (or on) the study entry date. Baseline medication history was identified from CPRD prescription records.
Data analysis
Analysis was conducted separately for pneumococcal VE against pneumonia and for influenza VE against LRTI.
We excluded patients with missing smoking status. For comorbidities and proteinuria status, the absence of a positive record was treated as the absence of disease. The absence of a recorded HbA1C test result was included as indicating a relevant category of control.
Incidence rates and rate ratios were calculated for each infection using the Poisson regression with lexis expansions for age, and a random effects model to adjust for multiple infection episodes. We adjusted models for prespecified a priori confounders of the association between vaccination status and respiratory infection, and/or the relationship between CKD and respiratory infection. These were: age, sex, socioeconomic status at practice level, residential or nursing home care, baseline smoking status, time-updated comorbidities, steroid use in the 3 months prior to study entry, HbA1C and diabetic medication history at baseline, and date prior to or post 1 April 2004 (when Quality Outcomes Framework guidelines introduced financial incentives for recording CKD status among people with diabetes in primary care which may have improved ascertainment of CKD in primary care).29 No direct biological effect of ethnicity on VE was expected and so we did not adjust for this directly: instead, we adjusted for factors which may mediate any indirect confounding effect of ethnicity, such as CKD and other comorbidities and health behaviors.
For pneumococcal vaccine, VE was calculated as (1−effect estimate). To explore waning of immunity, we described pneumococcal VE according to time since vaccination.
To control for confounding by indication in influenza vaccination, we estimated the ratio of influenza VE in summer to influenza VE in winter in a ‘ratio-of-ratios’ analysis by including an interaction term between influenza vaccination status and season, and reporting the antilog of the β coefficient for the interaction term.20 Winter was defined as 1 September to 31 March, to capture excess winter influenza-like-illness.30
Final estimates of VE were stratified by time-updated eGFR and history of proteinuria, as markers of CKD.
Stata V.13.1 was used for data analyses. All code lists are available on request.
Sensitivity analyses
Twenty-three-valent pneumococcal polysaccharide vaccination has been recommended for patients with CKD in the UK since 1992, but in 2003, the recommendation was extended to everyone aged ≥65 years.5 As a sensitivity analysis, we estimated pneumococcal VE separately for the periods before and after 31 March 2003 (to avoid separating the 2002–2003 winter season) to check for bias from secular changes in vaccine uptake.
The match of influenza vaccine strain to circulating influenza varies each year, which affects VE.20 As a sensitivity analysis, we estimated influenza VE separately for each winter. A further sensitivity analysis defined the start of the influenza season as the first week after 1 September in which weekly influenza-like illness incidence in primary care exceeded 30/100 000 people, limited to the years 2004–2011 due to data availability.31
We also conducted a sensitivity analysis of influenza VE excluding patients with chronic lung disease or congestive heart failure, as the relationship of influenza to LRTI etiology for these patients may differ from that among the general population.
For both vaccines, we conducted a sensitivity analysis limited to patients with white ethnicity.
Ethics
The study was approved by the Independent Scientific Advisory Group of the CPRD (ISAC reference 11_033A) and the London School of Hygiene and Tropical Medicine Ethics Committee (LSHTM reference 6116).