Accuracy of pneumonia hospital admissions in a primary care electronic medical record database

Pharmacoepidemiol Drug Saf. 2012 Jun;21(6):659-65. doi: 10.1002/pds.3207. Epub 2012 Feb 28.


Purpose: When using electronic medical record data to study drug use, hospitalizations are markers of severe outcomes. To identify events within a specified time window, it is important to validate hospitalization diagnoses and dates. Our objective was to validate pneumonia hospitalizations and their dates identified using hospitalization codes in The Health Improvement Network (THIN), a UK primary care electronic medical record.

Methods: This cross-sectional study used a cohort of THIN adult visits for acute nonspecific respiratory infections from June 1985 to August 2006. Pneumonia hospitalizations within 30 days after the visit were identified using THIN diagnosis and hospitalization codes; 60 participants were randomly selected for validation. Patients' general practitioners (GPs) returned de-identified hospital summaries and consultants' letters regarding overnight hospitalizations within a 180-day window around the THIN hospitalization. Positive predictive value (PPV) was the number of GP-validated hospitalizations divided by THIN documented hospitalizations.

Results: GPs returned 59 of 60 patient records; 52 had confirmed hospitalizations. PPV of THIN hospitalization documentation was 88% (95%CI = 77-95). One admission was not for pneumonia; PPV of THIN-documented pneumonia admission was 86% (95%CI = 75-94). Of 52 valid THIN hospitalizations, 50 were actually admitted within 14 days of the documented THIN date (range = -2 to +18). The absolute median difference between THIN and validated admission dates was +0.5 days, and the absolute mean difference was +3.1 days. In 16 of 52 admitted patients, the THIN admission date was the actual discharge date.

Conclusions: THIN hospitalization codes performed well in identifying acute pneumonia hospitalizations and their timing. Admission date validity might be better for conditions associated with shorter versus longer hospitalizations.

Publication types

  • Randomized Controlled Trial
  • Research Support, N.I.H., Extramural
  • Research Support, U.S. Gov't, P.H.S.

MeSH terms

  • Adult
  • Anti-Bacterial Agents / administration & dosage
  • Anti-Bacterial Agents / therapeutic use
  • Cohort Studies
  • Community-Acquired Infections / epidemiology
  • Community-Acquired Infections / therapy
  • Cross-Sectional Studies
  • Databases, Factual / statistics & numerical data*
  • Drug Utilization Review
  • Electronic Health Records / statistics & numerical data*
  • Hospitalization / statistics & numerical data*
  • Humans
  • International Classification of Diseases
  • Pneumonia / diagnosis
  • Pneumonia / drug therapy
  • Pneumonia / epidemiology*
  • Pneumonia, Bacterial / diagnosis
  • Pneumonia, Bacterial / drug therapy
  • Pneumonia, Bacterial / epidemiology
  • Pneumonia, Viral / diagnosis
  • Pneumonia, Viral / drug therapy
  • Pneumonia, Viral / epidemiology
  • Predictive Value of Tests
  • Primary Health Care / standards*
  • Primary Health Care / statistics & numerical data
  • Reproducibility of Results
  • United Kingdom


  • Anti-Bacterial Agents