Why NHS hospital co-morbidity research may be wrong: how clinical coding fails to identify the impact of diabetes mellitus on cancer survival
- PMID: 40783629
- PMCID: PMC12532788
- DOI: 10.1038/s41416-025-03136-9
Why NHS hospital co-morbidity research may be wrong: how clinical coding fails to identify the impact of diabetes mellitus on cancer survival
Abstract
Background: Significant volumes of research rely on secondary care diagnostic coding to identify comorbidities however little is known about its accuracy at a population level or if this influences subsequent analysis.
Methods: Retrospective observational study utilising real world data for all cancers, prostate cancer and breast cancer patients diagnosed at Leeds Cancer Centre from 2005 and 2018. Three different data definitions were used to identify patients with diabetes in each cohort: (1) clinical coding alone, (2) HbA1c blood test alone (3) either clinical coding or abnormal HbA1c. Cohort characteristics, diagnosis dates and Cox derived survival was compared across diabetes definitions.
Results: 123,841 cancer patients were identified including 13,964 with diabetes. Clinical coding failed to identify 14.6% of diabetic cancer patients with a temporal misclassification rate of 17.5%. Sole reliance on clinical coding overestimated the negative effect of DM on median survival across all cancers and 3.17 years in breast cancer.
Discussion: Clinical coding provides inaccurate diabetes diagnosis date and detection resulting in meaningful differences in analytic outcomes. This supports the use of more detailed comorbidity data definitions. Results casts doubt over research reliant on hospital clinical coding alone and the generalisability of some comorbidity and frailty scoring systems.
© 2025. The Author(s).
Conflict of interest statement
Competing interests: The authors declare no competing interests. Ethics approval and consent to participate: Study methods used comply with all relevant guidelines and regulations. The study received ethical approval following review from the UK Health Regulatory Authority and Care Research Wales under IRAS 277122 REC Reference 20/HRA/1165. As the study used deidentified data only direct informed consent was not required for data registered opt outs were respected.
Figures
= patients defined by both an abnormal HbA1c and diabetic clinical coding.
= patients defined by clinical coding as post-cancer diabetics but with abnormal HbA1c pre-cancer. Left of
= abnormal HbA1c earlier than clinical coding. Right of
= clinical coding earlier than abnormal HbA1c.
References
-
- Bates T, Evans T, Lagord C, Monypenny I, Kearins O, Lawrence G. A population based study of variations in operation rates for breast cancer, of comorbidity and prognosis at diagnosis: failure to operate for early breast cancer in older women. Eur J Surg Oncol. 2014;40:1230–36. 10.1016/j.ejso.2014.06.001. - DOI - PubMed
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Medical
