Epidemiological study of antibiotic utilization and pneumonia using electronic health records