Related Experiment Video
Updated: Sep 30, 2025

Lung CT Segmentation to Identify Consolidations and Ground Glass Areas for Quantitative Assesment of SARS-CoV Pneumonia
Published on: December 19, 2020
Identifying Pneumonia Subtypes from Electronic Health Records Using Rule-Based Algorithms
Harshad Hegde1, Ingrid Glurich1, Aloksagar Panny1
1Center for Oral and Systemic Health, Marshfield Clinic Research Institute, Marshfield, Wisconsin, United States.
Background:
The International Classification of Disease (ICD) coding for pneumonia classification is based on causal organism or use of general pneumonia codes, creating challenges for epidemiological evaluations where pneumonia is standardly subtyped by settings, exposures, and time of emergence. Pneumonia subtype classification requires data available in electronic health records (EHRs), frequently in nonstructured formats including radiological interpretation or clinical notes that complicate electronic classification.
Objective:
The current study undertook development of a rule-based pneumonia subtyping algorithm for stratifying pneumonia by the setting in which it emerged using information documented in the EHR.
Methods:
Pneumonia subtype classification was developed by interrogating patient information within the EHR of a large private Health System. ICD coding was mined in the EHR applying requirements for "rule of two" pneumonia-related codes or one ICD code and radiologically confirmed pneumonia validated by natural language processing and/or documented antibiotic prescriptions. A rule-based algorithm flow chart was created to support subclassification based on features including symptomatic patient point of entry into the health care system timing of pneumonia emergence and identification of clinical, laboratory, or medication orders that informed definition of the pneumonia subclassification algorithm.
Results:
Data from 65,904 study-eligible patients with 91,998 episodes of pneumonia diagnoses documented by 380,509 encounters were analyzed, while 8,611 episodes were excluded following Natural Language Processing classification of pneumonia status as "negative" or "unknown." Subtyping of 83,387 episodes identified: community-acquired (54.5%), hospital-acquired (20%), aspiration-related (10.7%), health care-acquired (5%), and ventilator-associated (0.4%) cases, and 9.4% cases were not classifiable by the algorithm.
Conclusion:
Study outcome indicated capacity to achieve electronic pneumonia subtype classification based on interrogation of big data available in the EHR. Examination of portability of the algorithm to achieve rule-based pneumonia classification in other health systems remains to be explored.
More Related Videos
09:17A Robust Pneumonia Model in Immunocompetent Rodents to Evaluate Antibacterial Efficacy against S. pneumoniae, H. influenzae, K. pneumoniae, P. aeruginosa or A. baumannii
Published on: January 2, 2017
07:15Machine Learning Algorithms for Early Detection of Bone Metastases in an Experimental Rat Model
Published on: August 16, 2020
Related Concept Videos
Pneumonia I: Introduction
Risk Factors
Various factors influence the likelihood of developing pneumonia. Age plays a crucial role, with infants, children under two, and individuals over 65 at increased risk due to their...
Pneumonia III: Complications and Assessment
Pneumonia IV: Management
Bacterial Pneumonia Treatment
For bacterial pneumonia, antibiotics serve as the cornerstone of therapy. Initial treatment often begins with empirical antibiotics, tailored to the anticipated causative organism and adjusted based on culture results. Key antibiotic choices include:
Classification of Illness
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
Pneumonia V: Nursing management and Prevention
The nurse must practice strict medical asepsis and adhere to infection control guidelines to minimize healthcare-associated infections.
Enhance airway patency
Position the patient correctly to facilitate drainage of the affected lung segments. Manual or mechanical percussion and vibration can also be employed....
Pneumonia II: Pathophysiology