'Caveat emptor': the cautionary tale of endocarditis and the potential pitfalls of clinical coding data-an electronic health records study
- PMID: 31481119
- PMCID: PMC6724235
- DOI: 10.1186/s12916-019-1390-x
'Caveat emptor': the cautionary tale of endocarditis and the potential pitfalls of clinical coding data-an electronic health records study
Abstract
Background: Diagnostic codes from electronic health records are widely used to assess patterns of disease. Infective endocarditis is an uncommon but serious infection, with objective diagnostic criteria. Electronic health records have been used to explore the impact of changing guidance on antibiotic prophylaxis for dental procedures on incidence, but limited data on the accuracy of the diagnostic codes exists. Endocarditis was used as a clinically relevant case study to investigate the relationship between clinical cases and diagnostic codes, to understand discrepancies and to improve design of future studies.
Methods: Electronic health record data from two UK tertiary care centres were linked with data from a prospectively collected clinical endocarditis service database (Leeds Teaching Hospital) or retrospective clinical audit and microbiology laboratory blood culture results (Oxford University Hospitals Trust). The relationship between diagnostic codes for endocarditis and confirmed clinical cases according to the objective Duke criteria was assessed, and impact on estimations of disease incidence and trends.
Results: In Leeds 2006-2016, 738/1681(44%) admissions containing any endocarditis code represented a definite/possible case, whilst 263/1001(24%) definite/possible endocarditis cases had no endocarditis code assigned. In Oxford 2010-2016, 307/552(56%) reviewed endocarditis-coded admissions represented a clinical case. Diagnostic codes used by most endocarditis studies had good positive predictive value (PPV) but low sensitivity (e.g. I33-primary 82% and 43% respectively); one (I38-secondary) had PPV under 6%. Estimating endocarditis incidence using raw admission data overestimated incidence trends twofold. Removing records with non-specific codes, very short stays and readmissions improved predictive ability. Estimating incidence of streptococcal endocarditis using secondary codes also overestimated increases in incidence over time. Reasons for discrepancies included changes in coding behaviour over time, and coding guidance allowing assignment of a code mentioning 'endocarditis' where endocarditis was never mentioned in the clinical notes.
Conclusions: Commonly used diagnostic codes in studies of endocarditis had good predictive ability. Other apparently plausible codes were poorly predictive. Use of diagnostic codes without examining sensitivity and predictive ability can give inaccurate estimations of incidence and trends. Similar considerations may apply to other diseases. Health record studies require validation of diagnostic codes and careful data curation to minimise risk of serious errors.
Keywords: Big data; Coding; Electronic health records; Endocarditis; ICD-10.
Conflict of interest statement
NJF reports grants from the Medical Research Council and National Institute of Health Research during the conduct of the study. LP, BY, PQ, TEAP, DMC and ASW report grants from the National Institute of Health Research during the conduct of the study. JW, RG, CM, SW, BMP and AJ declare that they have no competing interests. JS reports grants from National Institute for Health Research, grants from Medical Research Council, grants from Engineering and Physical Sciences Research Council and grants and non-financial support from British Society for Antimicrobial Chemotherapy outside the submitted work.
Figures





Similar articles
-
Investigation of the impact of the NICE guidelines regarding antibiotic prophylaxis during invasive dental procedures on the incidence of infective endocarditis in England: an electronic health records study.BMC Med. 2020 Apr 2;18(1):84. doi: 10.1186/s12916-020-01531-y. BMC Med. 2020. PMID: 32238164 Free PMC article.
-
Electronic medical record-based deep data cleaning and phenotyping improve the diagnostic validity and mortality assessment of infective endocarditis: medical big data initiative of CMUH.Biomedicine (Taipei). 2021 Sep 1;11(3):59-67. doi: 10.37796/2211-8039.1267. eCollection 2021. Biomedicine (Taipei). 2021. PMID: 35223412 Free PMC article.
-
Folic acid supplementation and malaria susceptibility and severity among people taking antifolate antimalarial drugs in endemic areas.Cochrane Database Syst Rev. 2022 Feb 1;2(2022):CD014217. doi: 10.1002/14651858.CD014217. Cochrane Database Syst Rev. 2022. PMID: 36321557 Free PMC article.
-
ICD-10 diagnosis codes in electronic health records do not adequately capture fracture complexity for proximal humerus fractures.J Shoulder Elbow Surg. 2024 Feb;33(2):417-424. doi: 10.1016/j.jse.2023.08.022. Epub 2023 Sep 27. J Shoulder Elbow Surg. 2024. PMID: 37774829
-
Accuracy of routinely collected hospital administrative discharge data and death certificate ICD-10 diagnostic coding in progressive supranuclear palsy and corticobasal syndrome: a systematic review and validation study.J Neurol. 2024 Jun;271(6):2929-2937. doi: 10.1007/s00415-024-12280-w. Epub 2024 Apr 12. J Neurol. 2024. PMID: 38609666 Free PMC article.
Cited by
-
Infective Endocarditis Remains a Deadly Disease-It's Bad News, Especially When Staphylococci and Enterococci Are Involved: A Call to Action.J Am Heart Assoc. 2022 Aug 16;11(16):e026788. doi: 10.1161/JAHA.122.026788. Epub 2022 Aug 10. J Am Heart Assoc. 2022. PMID: 35946465 Free PMC article. No abstract available.
-
Development and validation of the Baseline Recurrence Risk in Cellulitis (BRRISC) score.J Infect. 2024 Feb;88(2):103-111. doi: 10.1016/j.jinf.2023.12.007. Epub 2023 Dec 20. J Infect. 2024. PMID: 38128701 Free PMC article.
-
Association Between Time to Appropriate Antimicrobial Treatment and 30-day Mortality in Patients With Bloodstream Infections: A Retrospective Cohort Study.Clin Infect Dis. 2023 Feb 8;76(3):469-478. doi: 10.1093/cid/ciac727. Clin Infect Dis. 2023. PMID: 36065752 Free PMC article.
-
Investigation of the impact of the NICE guidelines regarding antibiotic prophylaxis during invasive dental procedures on the incidence of infective endocarditis in England: an electronic health records study.BMC Med. 2020 Apr 2;18(1):84. doi: 10.1186/s12916-020-01531-y. BMC Med. 2020. PMID: 32238164 Free PMC article.
-
Temporal Trends of Infective Endocarditis in North America From 2000 to 2017-A Systematic Review.Open Forum Infect Dis. 2021 Sep 25;8(11):ofab479. doi: 10.1093/ofid/ofab479. eCollection 2021 Nov. Open Forum Infect Dis. 2021. PMID: 35224128 Free PMC article.
References
-
- ICD-10-CM Official Guidelines for Coding and Reporting, World Health Organisation, 2014.
-
- Nouraei SA, Virk JS, Hudovsky A, Wathen C, Darzi A, Parsons D. Accuracy of clinician-clinical coder information handover following acute medical admissions: implication for using administrative datasets in clinical outcomes management. J Public Health (Oxf) 2016;38(2):352–362. doi: 10.1093/pubmed/fdv041. - DOI - PubMed
-
- Prophylaxis against infective endocarditis: antimicrobial prophylaxis against infective endocarditis in adults and children undergoing interventional procedures In: Department of Health U, ed: National Institute of Clinical Excellence; 2008. - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Medical