Skip to main content
    • Aa
    • Aa

Classification algorithms to improve the accuracy of identifying patients hospitalized with community-acquired pneumonia using administrative data

  • O. YU (a1), J. C. NELSON (a1) (a2), L. BOUNDS (a3) and L. A. JACKSON (a3) (a4)

In epidemiological studies of community-acquired pneumonia (CAP) that utilize administrative data, cases are typically defined by the presence of a pneumonia hospital discharge diagnosis code. However, not all such hospitalizations represent true CAP cases. We identified 3991 hospitalizations during 1997–2005 in a managed care organization, and validated them as CAP or not by reviewing medical records. To improve the accuracy of CAP identification, classification algorithms that incorporated additional administrative information associated with the hospitalization were developed using the classification and regression tree analysis. We found that a pneumonia code designated as the primary discharge diagnosis and duration of hospital stay improved the classification of CAP hospitalizations. Compared to the commonly used method that is based on the presence of a primary discharge diagnosis code of pneumonia alone, these algorithms had higher sensitivity (81–98%) and positive predictive values (82–84%) with only modest decreases in specificity (48–82%) and negative predictive values (75–90%).

Corresponding author
*Author for correspondence: Ms. O. Yu, Group Health Research Institute, 1730 Minor Ave, Suite 1600, Seattle, WA 98101, USA (Email:
Linked references
Hide All

This list contains references from the content that can be linked to their source. For a full set of references and notes please see the PDF or HTML where available.

1.AM Fry , Trends in hospitalizations for pneumonia among persons aged 65 years or older in the United States, 1988–2002. Journal of the American Medical Association 2005; 294: 27122719.

2.KA Poehling , Population-based impact of pneumococcal conjugate vaccine in young children. Pediatrics 2004; 114: 755761.

3.P De Wals , Pneumonia after implementation of the pneumococcal conjugate vaccine program in the province of Quebec, Canada. Pediatric Infectious Disease Journal 2008; 27: 963968.

4.CG Grijalva , Decline in pneumonia admissions after routine childhood immunisation with pneumococcal conjugate vaccine in the USA: a time-series analysis. Lancet 2007; 369: 11791186.

5.F Zhou , Health care utilization for pneumonia in young children after routine pneumococcal conjugate vaccine use in the United States. Archives of Pediatrics & Adolescent Medicine 2007; 161: 11621168.

6.RW Thomsen , Rising incidence and persistently high mortality of hospitalized pneumonia: a 10-year population-based study in Denmark. Journal of Internal Medicine 2006; 259: 410417.

8.SE Ellis , Influenza- and respiratory syncytial virus-associated morbidity and mortality in the nursing home population. Journal of the American Geriatrics Society 2003; 51: 761767.

9.JB Kornum , Diabetes, glycemic control, and risk of hospitalization with pneumonia: a population-based case-control study. Diabetes Care 2008; 31: 15411545.

10.KL Nichol , Effectiveness of influenza vaccine in the community-dwelling elderly. New England Journal of Medicine 2007; 357: 13731381.

11.J Nordin , Influenza vaccine effectiveness in preventing hospitalizations and deaths in persons 65 years or older in Minnesota, New York, and Oregon: data from 3 health plans. Journal of Infectious Diseases 2001; 184: 665670.

12.LA Jackson , Evidence of bias in estimates of influenza vaccine effectiveness in seniors. International Journal of Epidemiology 2006; 35: 337344.

13.RW Thomsen , Preadmission use of statins and outcomes after hospitalization with pneumonia: population-based cohort study of 29,900 patients. Archives of Internal Medicine 2008; 168: 20812087.

14.RG Schlienger , Statins and the risk of pneumonia: a population-based, nested case-control study. Pharmacotherapy 2007; 27: 325332.

15.M Sarkar , S Hennessy , YX Yang . Proton-pump inhibitor use and the risk for community-acquired pneumonia. Annals of Internal Medicine 2008; 149: 391398.

16.S Hennessy , Observed association between antidepressant use and pneumonia risk was confounded by comorbidity measures. Journal of Clinical Epidemiology 2007; 60: 911918.

17.ML Jackson , Influenza vaccination and risk of community-acquired pneumonia in immunocompetent elderly people: a population-based, nested case-control study. Lancet 2008; 372: 398405.

18.LA Jackson , Effectiveness of pneumococcal polysaccharide vaccine in older adults. New England Journal of Medicine 2003; 348: 17471755.

19.JC Nelson , Impact of the introduction of pneumococcal conjugate vaccine on rates of community acquired pneumonia in children and adults. Vaccine 2008; 26: 49474954.

20.L Breiman , Classification and Regression Trees. Boca Raton, FL: Chapman & Hall/CRC, 1984.

22.RE Guevara , Accuracy of ICD-9-CM codes in detecting community-acquired pneumococcal pneumonia for incidence and vaccine efficacy studies. American Journal of Epidemiology 1999; 149: 282289.

23.TJ Marrie , H Durant , E Sealy . Pneumonia – the quality of medical records data. Medical Care 1987; 25: 2024.

24.D Aronsky , Accuracy of administrative data for identifying patients with pneumonia. American Journal of Medical Quality 2005; 20: 319328.

25.EM van de Garde , International classification of diseases codes showed modest sensitivity for detecting community-acquired pneumonia. Journal of Clinical Epidemiology 2007; 60: 834838.

26.J Whittle , Community-acquired pneumonia: can it be defined with claims data? American Journal of Medical Quality 1997; 12: 187193.

Recommend this journal

Email your librarian or administrator to recommend adding this journal to your organisation's collection.

Epidemiology & Infection
  • ISSN: 0950-2688
  • EISSN: 1469-4409
  • URL: /core/journals/epidemiology-and-infection
Please enter your name
Please enter a valid email address
Who would you like to send this to? *