Purpose-Computerized definitions are used to identify serious infections and congestive heart failure leading to hospitalizations in studies of medication safety. However, information on their accuracy is limited. We evaluated the ability of computerized definitions to identify these conditions as the reason for admission among patients diagnosed with rheumatoid arthritis.Methods-Medical charts were randomly selected from a systematic sample of hospitalizations for selected conditions in a cohort of Medicaid patients with rheumatoid arthritis. We calculated positive predictive values (PPV) for computerized definitions for community-acquired pneumonia, invasive pneumococcal disease, sepsis, opportunistic mycoses and congestive heart failure using charts reviews as gold standard and computed inter-reviewer agreement statistics.Results-From 2667 hospitalizations, 336 (13%) records were selected for review. A total of 277 charts (83%) were available. Based on any discharge diagnosis, PPVs for hospitalizations due to community-acquired pneumonia, invasive pneumococcal disease, sepsis and opportunistic mycoses were 84%, 100%, 80% and 62%, respectively. Restricting definitions to principal diagnoses yielded higher PPVs, 95% for pneumonia and 100% for other diagnoses. The PPV of a principal diagnosis for congestive heart failure was 100%. Inter-reviewer agreement was at least 77% for all outcomes.Conclusion-These findings suggest that computerized definitions can identify congestive heart failure and selected infections leading to hospitalization in Medicaid patients with rheumatoid arthritis.