These codes will capture both community- and hospital-acquired pneumonia. These codes are not intended to be mandatory, but are to be used as a starting point for the identification of pneumonia in routine EHR. Each study may differ in the sensitivity and specificity of the coding required.
Defining a community-acquired pneumonia occurrence in CPRD and HES, Millett et al. 2013 used the following algorithm:
1) Pneumonia records wtihin 28 days of each other were considered to be separate consultations for the same illness 2) First record of pneumonia was the index date 3) End of a pneumonia occurrence was defined as 28 days after the last pneumonia code within the illness episode 4) In HES, pneumonia coded as the primary diagnosis on the first day of a hospital admission
Defining a hospital-acquired pneumonia occurrence in HES and CPRD, Millett et al. 2013 used the following algorithm:
1) Pneumonia coded at any time beyond the first day of a hospital admission 2) Using CPRD in conjunction with HES, pneumonia coded in CPRD within 14 days of a hospital admission (for any cause) was deemed hospital-acquired 3) In CPRD, use of a hospital-acquired pneumonia code at any time during the pneumonia occurrence
Millett, E. R., Quint, J. K., Smeeth, L., Daniel, R. M., & Thomas, S. L. (2013). Incidence of community-acquired lower respiratory tract infections and pneumonia among older adults in the United Kingdom: a population-based study. PLoS One, 8(9), e75131. doi:10.1371/journal.pone.0075131
Defining a community-acquired pneumonia resulting in hospitalisation occurrence in HES, Hicks et al. 2016 used the following algorithm:
1) In HES, hospital admission following A&E visit, where pneumonia was coded as the primary diagnosis within two days of admission
Defining a hospital-acquired pneumonia occurrence in CPRD and HES, Hicks et al. 2016 used the following algorithm:
1) Pneumonia diagnosis in HES >2 days after hospital admission 2) Pneumonia diagnosed in CPRD within 7 days after hospital discharge
Hicks, B. M., Yin, H., Bladou, F., Ernst, P., & Azoulay, L. (2017). Androgen deprivation therapy for prostate cancer and the risk of hospitalisation for community-acquired pneumonia. Thorax, 72(7), 596-597. doi:10.1136/thoraxjnl-2016-209512
Publications identifying pneumonia in CPRD and/or HES:
Millett, E. R., Quint, J. K., Smeeth, L., Daniel, R. M., & Thomas, S. L. (2013). Incidence of community-acquired lower respiratory tract infections and pneumonia among older adults in the United Kingdom: a population-based study. PLoS One, 8(9), e75131. doi:10.1371/journal.pone.0075131"
Braeken, D. C., Rohde, G. G., Franssen, F. M., Driessen, J. H., van Staa, T. P., Souverein, P. C., . . . de Vries, F. (2017). Risk of community-acquired pneumonia in chronic obstructive pulmonary disease stratified by smoking status: a population-based cohort study in the United Kingdom. Int J Chron Obstruct Pulmon Dis, 12, 2425-2432. doi:10.2147/COPD.S138435"
Hicks, B. M., Yin, H., Bladou, F., Ernst, P., & Azoulay, L. (2017). Androgen deprivation therapy for prostate cancer and the risk of hospitalisation for community-acquired pneumonia. Thorax, 72(7), 596-597. doi:10.1136/thoraxjnl-2016-209512"
Sun, X., Douiri, A., & Gulliford, M. (2019). Pneumonia incidence trends in UK primary care from 2002 to 2017: population-based cohort study. Epidemiol Infect, 147, e263. doi:10.1017/S0950268819001559"
Code | Description | Hospital-Acquired | SNOMED CT Description ID | SNOMED CT Concept ID | Community-Acquired | Read Codes used by Braeken et al. 2017 |
---|---|---|---|---|---|---|
4JUK.00 | Mycoplasma pneumoniae detected | 2792339011 | 440990006 | |||
A022200 | Salmonella pneumonia | 5303018 | 2523007 | Y | ||
A116.00 | Tuberculous pneumonia | 132731014 | 80003002 | |||
A3BXA00 | Mycoplasma pneumoniae [PPLO] cause/dis classifd/oth chaptr | 2158243017 | 406595002 | |||
A3BXB00 | Klebsiella pneumoniae/cause/disease classifd/oth chapters | 492755015 | 40733004 | |||
A3By.00 | Other specified bacterial infection | 145291019 | 87628006 | Y | ||
A521.00 | Varicella pneumonitis | 301400016 | 195911009 | Y | ||
A54x400 | Herpes simplex pneumonia | 350073012 | 233624006 | Y | ||
A551.00 | Postmeasles pneumonia | 294997017 | 191727003 | Y | ||
AyuK900 | [X]Mycoplasma pneumoniae [PPLO]cause/dis classifd/oth chaptr | 2158243917 | 406595002 | |||
AyuKA00 | [X]Klebsiella pneumoniae/cause/disease classifd/oth chapters | 492755015 | 40733004 | |||
H20..00 | Viral pneumonia | 125510013 | 75570004 | Y | ||
H20..11 | Chest infection- viral pneumonia | 125510013 | 75570004 | Y | ||
H200.00 | Pneumonia due to adenovirus | 68738015 | 41207000 | Y | ||
H201.00 | Pneumonia due to respiratory syncytial virus | 301362011 | 195881003 | Y | ||
H202.00 | Pneumonia due to parainfluenza virus | 499984015 | 64917006 | Y | ||
H20y.00 | Viral pneumonia NEC | 125510013 | 75570004 | Y | ||
H20z.00 | Viral pneumonia NOS | 125510013 | 75570004 | Y | ||
H21..00 | Lobar (pneumococcal) pneumonia | 396103010 | 266350000 | Y | ||
H21..11 | Chest infection- pneumococcal pneumonia | 396103010 | 266350000 | Y | ||
H21..99 | Lobar-penumococcal-pneumonia | 885191000006112 | 266350000 | |||
H22..00 | Other bacterial pneumonia | 88303013 | 53084003 | |||
H22..11 | Chest infection- other bacterial pneumonia | 88303013 | 53084003 | Y | ||
H220.00 | Pneumonia due to Klebsiella pneumoniae | 107173015 | 64479007 | Y | ||
H221.00 | Pneumonia due to pseudomonas | 69027016 | 41381004 | Y | ||
H222.00 | Pneumonia due to Haemophilus influenzae | 116320011 | 70036007 | Y | ||
H222.11 | Pneumonia due to Haemophilus influenzae | 116320011 | 70036007 | Y | ||
H223.00 | Pneumonia due to streptococcus | 56817014 | 34020007 | Y | ||
H223000 | Pneumonia due to streptococcus, group B | 301369019 | 195886008 | Y | ||
H224.00 | Pneumonia due to staphylococcus | 38198016 | 22754005 | Y | ||
H22y.00 | Pneumonia due to other specified bacteria | 88303013 | 53084003 | Y | ||
H22y000 | Pneumonia due to Escherichia coli | 1230992012 | 51530003 | Y | ||
H22y011 | E.coli pneumonia | 1230992012 | 51530003 | Y | ||
H22y100 | Pneumonia due to proteus | 301371019 | 195888009 | Y | ||
H22y200 | Pneumonia- legionella | 301372014 | 195889001 | Y | ||
H22yx00 | Pneumonia due to other aerobic gram-negative bacteria | 88303013 | 53084003 | Y | ||
H22yz00 | Pneumonia due to bacteria NOS | 88303013 | 53084003 | Y | ||
H22z.00 | Bacterial pneumonia NOS | 88303013 | 53084003 | Y | ||
H23..00 | Pneumonia due to other specified organisms | 456043010 | 312342009 | Y | ||
H23..11 | Chest infection- pneumonia organisms OS | 456043010 | 312342009 | Y | ||
H231.00 | Pneumonia due to Mycoplasma pneumoniae | 494705012 | 46970008 | Y | ||
H231.99 | Mycoplasma pneumonia | 78272011 | 46970008 | |||
H232.00 | Pneumonia due to pleuropneumonia like organisms | 301380019 | 195896004 | Y | ||
H233.00 | Chlamydial pneumonia | 350054013 | 233609002 | Y | ||
H23z.00 | Pneumonia due to specified organism NOS | 456043010 | 312342009 | Y | ||
H24..00 | Pneumonia with infectious disease EC | 456043010 | 312342009 | Y | ||
H240.00 | Pneumonia with measles | 301386013 | 195900001 | Y | ||
H240.99 | Measles pneumonia | 301386013 | 195900001 | |||
H243.00 | Pneumonia with whooping cough | 1231963019 | 59475000 | Y | ||
H243.11 | Pneumonia with pertussis | 1231962012 | 59475000 | Y | ||
H243.99 | Whooping cough pneumonia | 885221000006117 | 59475000 | |||
H246.00 | Pneumonia with aspergillosis | 1219703018 | 111900000 | Y | ||
H24y.00 | Pneumonia with infectious diseases EC | 456043010 | 312342009 | Y | ||
H24y000 | Pneumonia with actinomycosis | 301395017 | 195908008 | Y | ||
H24y200 | Pneumonia with pneumocystis carinii | 2533533015 | 415125002 | Y | ||
H24y700 | Pneumonia with varicella | 301399011 | 195911009 | Y | ||
H24yz00 | Pneumonia with other infectious diseases EC NOS | 456043010 | 312342009 | Y | ||
H24z.00 | Pneumonia with infectious diseases EC NOS | 456043010 | 312342009 | Y | ||
H25..00 | Bronchopneumonia due to unspecified organism | 1776258010 | 396285007 | Y | ||
H25..11 | Chest infection- unspecified bronchopneumonia | 1776258010 | 396285007 | Y | ||
H25..99 | Bronchopneumonia | 885231000006119 | 689401000000108 | |||
H26..00 | Pneumonia due to unspecified organism | 456043010 | 312342009 | Y | ||
H26..11 | Chest infection- pneumonia due to unspecified organism | 456043010 | 312342009 | Y | ||
H260.00 | Lobar pneumonia due to unspecified organism | 415454013 | 278516003 | Y | ||
H260000 | Lung consolidation | 512123013 | 95436008 | Y | ||
H261.00 | Basal pneumonia due to unspecified organism | 442211014 | 300999006 | Y | ||
H262.00 | Postoperative pneumonia | 459416013 | 314978007 | |||
H263.00 | Pneumonitis | 314740018 | 205237003 | Y | ||
H270.00 | Influenza with pneumonia | 301357010 | 195878008 | Y | ||
H270.11 | Chest infection- influenza with pneumonia | 301357010 | 195878008 | Y | ||
H270.99 | Influenza + pneumonia | 885251000006114 | 195878008 | |||
H270000 | Influenza with bronchopneumonia | 1229740013 | 41269000 | |||
H270100 | Influenza with pneumonia, influenza virus identified | 301357010 | 195878008 | Y | ||
H270z00 | Other specified pneumonia or influenza | 301357010 | 195878008 | Y | ||
H28..00 | Atypical pneumonia | 350051017 | 233606009 | Y | ||
H2?00 | Pneumonia and influenza | 301357010 | 195878008 | Y | ||
H2B..00 | Community acquired pneumonia | 1479355018 | 385093006 | Y | Y | |
H2C..00 | Hospital acquired pneumonia | Y | 2674072012 | 425464007 | ||
H2y..00 | Other specified pneumonia or influenza | 301357010 | 195878008 | Y | ||
H2z..00 | Pneumonia or influenza NOS | 301357010 | 195878008 | Y | ||
H2z..98 | Bilateral pneumonia | 932231000006112 | 540151000000108 | |||
H530300 | Abscess of lung with pneumonia | 301686019 | 196112005 | Y | ||
H56y100 | Interstitial pneumonia | 107470010 | 64667001 | Y | ||
H571.00 | Rheumatic pneumonia | 13455018 | 7548000 | |||
Hyu0800 | [X]Other viral pneumonia | 125510013 | 75570004 | Y | ||
Hyu0A00 | [X]Other bacterial pneumonia | 88303013 | 53084003 | Y | ||
Hyu0B00 | [X]Pneumonia due to other specified infectious organisms | 456043010 | 312342009 | Y | ||
Hyu0H00 | [X]Other pneumonia, organism unspecified | 456043010 | 312342009 |
Code | Description | Hospital-Acquired | Description | Community-Acquired | Read Codes used by Braeken et al. 2017 | Read v2 Code |
---|---|---|---|---|---|---|
1033111000000104 | Influenza with pneumonia due to seasonal influenza virus | |||||
111900000 | Pneumonia with aspergillosis | Y | H246.00 | |||
191727003 | Postmeasles pneumonia | Y | A551.00 | |||
195878008 | Chest infection- influenza with pneumonia | Y | H270.11 | |||
195881003 | Pneumonia due to respiratory syncytial virus | Y | H201.00 | |||
195886008 | Pneumonia due to streptococcus, group B | Y | H223000 | |||
195888009 | Pneumonia due to proteus | Y | H22y100 | |||
195889001 | Pneumonia- legionella | Y | H22y200 | |||
195896004 | Pneumonia due to pleuropneumonia like organisms | Y | H232.00 | |||
195900001 | Measles pneumonia | H240.99 | ||||
195908008 | Pneumonia with actinomycosis | Y | H24y000 | |||
195911009 | Pneumonia with varicella | Y | H24y700 | |||
196112005 | Abscess of lung with pneumonia | Y | H530300 | |||
205237003 | Pneumonitis | Y | H263.00 | |||
22754005 | Pneumonia due to staphylococcus | Y | H224.00 | |||
233606009 | Atypical pneumonia | Y | H28..00 | |||
233609002 | Chlamydial pneumonia | Y | H233.00 | |||
233624006 | Herpes simplex pneumonia | Y | A54x400 | |||
2523007 | Salmonella pneumonia | Y | A022200 | |||
266350000 | Chest infection- pneumococcal pneumonia | Y | H21..11 | |||
278516003 | Lobar pneumonia | |||||
300999006 | Basal pneumonia | |||||
301000005 | Left lower zone pneumonia | |||||
301001009 | Right lower zone pneumonia | |||||
301002002 | Left upper zone pneumonia | |||||
301003007 | Right middle zone pneumonia | |||||
301004001 | Right upper zone pneumonia | |||||
312342009 | [X]Other pneumonia, organism unspecified | Hyu0H00 | ||||
314978007 | Postoperative pneumonia | H262.00 | ||||
34020007 | Pneumonia due to streptococcus | Y | H223.00 | |||
385093006 | Community acquired pneumonia | Y | Y | H2B..00 | ||
396285007 | Bronchopneumonia | |||||
406595002 | [X]Mycoplasma pneumoniae [PPLO]cause/dis classifd/oth chaptr | AyuK900 | ||||
40733004 | [X]Klebsiella pneumoniae/cause/disease classifd/oth chapters | AyuKA00 | ||||
41207000 | Pneumonia due to adenovirus | Y | H200.00 | |||
41269000 | Influenza with bronchopneumonia | H270000 | ||||
41381004 | Pneumonia due to pseudomonas | Y | H221.00 | |||
415125002 | Pneumonia with pneumocystis carinii | Y | H24y200 | |||
425464007 | Y | Hospital acquired pneumonia | H2C..00 | |||
425996009 | Bilateral basal pneumonia | |||||
426696003 | Lingular pneumonia | |||||
440990006 | Mycoplasma pneumoniae detected | 4JUK.00 | ||||
46970008 | Mycoplasma pneumonia | H231.99 | ||||
51530003 | E.coli pneumonia | Y | H22y011 | |||
53084003 | [X]Other bacterial pneumonia | Y | Hyu0A00 | |||
540151000000108 | Bilateral pneumonia | H2z..98 | ||||
59475000 | Pneumonia with pertussis | Y | H243.11 | |||
64479007 | Pneumonia due to Klebsiella pneumoniae | Y | H220.00 | |||
64667001 | Interstitial pneumonia | Y | H56y100 | |||
64917006 | Pneumonia due to parainfluenza virus | Y | H202.00 | |||
689401000000108 | Bronchopneumonia | H25..99 | ||||
70036007 | Pneumonia due to Haemophilus influenzae | Y | H222.00 | |||
7548000 | Rheumatic pneumonia | H571.00 | ||||
75570004 | [X]Other viral pneumonia | Y | Hyu0800 | |||
80003002 | Tuberculous pneumonia | A116.00 | ||||
87628006 | Other specified bacterial infection | Y | A3By.00 | |||
95436008 | Lung consolidation | Y | H260000 | |||
9861002 | Streptococcus pneumoniae |
Code | Description | Hospital-Acquired | SNOMED CT Description ID | SNOMED CT Concept ID | Community-Acquired | Read Codes used by Braeken et al. 2017 |
---|---|---|---|---|---|---|
4JUK.00 | Mycoplasma pneumoniae detected | 2792339011 | 440990006 | |||
A022200 | Salmonella pneumonia | 5303018 | 2523007 | Y | ||
A116.00 | Tuberculous pneumonia | 132731014 | 80003002 | |||
A3BXA00 | Mycoplasma pneumoniae [PPLO] cause/dis classifd/oth chaptr | 2158243017 | 406595002 | |||
A3BXB00 | Klebsiella pneumoniae/cause/disease classifd/oth chapters | 492755015 | 40733004 | |||
A3By.00 | Other specified bacterial infection | 145291019 | 87628006 | Y | ||
A521.00 | Varicella pneumonitis | 301400016 | 195911009 | Y | ||
A54x400 | Herpes simplex pneumonia | 350073012 | 233624006 | Y | ||
A551.00 | Postmeasles pneumonia | 294997017 | 191727003 | Y | ||
AyuK900 | [X]Mycoplasma pneumoniae [PPLO]cause/dis classifd/oth chaptr | 2158243917 | 406595002 | |||
AyuKA00 | [X]Klebsiella pneumoniae/cause/disease classifd/oth chapters | 492755015 |