Hancox, Z. orcid.org/0000-0003-0473-5971, Kingsbury, S.R. orcid.org/0000-0002-9917-1269, Conaghan, P.G. orcid.org/0000-0002-3478-5665 et al. (2 more authors) (2025) Primary care prediction of hip and knee replacement 1-5 years in advance using temporal graph-based convolutional neural networks (TG-CNNs). Rheumatology. keaf185. ISSN 1462-0324
Abstract
Objective This study aimed to predict the risk of requiring a primary hip or knee replacement 1 and 5-years in advance, using Clinical Codes.
Methods Primary care clinical codes, sourced from ResearchOne Electronic Health Records (EHRs) between 1999–2014, were used to represent patient pathways prior to hip or knee replacement. Patient records were used to train and test models for hip or knee replacement, 1 and 5-years in advance. Temporal graphs were constructed from clinical codes to predict hip and knee replacement risk, where nodes are clinical codes, and edges are the time between primary care visits. Hip and knee replacement cases were matched to controls by age, sex, and Index of Multiple Deprivation (IMD). The model was validated on unseen data, with performance measured using area under the receiver operator curve (AUROC), calibration, and area under the precision recall curve (AUPRC), recalibrating for class imbalance.
Results For knee replacement prediction, AUROC was 0.915 (95% CI: 0.914, 0.916) (1-year) and 0.955 (95% CI: 0.954, 0.956), (5-year) with AUPRCs of 0.353 (95% CI: 0.302, 0.403) and 0.442 (95% CI: 0.382, 0.503), respectively. For hip replacement prediction, AUROC was 0.919 (95% CI: 0.918, 0.920) (1-year) and 0.967 (95% CI: 0.966, 0.968) (5-year), with AUPRCs of 0.409 (95% CI: 0.366, 0.451) and 0.879 (95% CI: 0.833, 0.924), respectively.
Conclusion Hip and knee replacement risk can be predicted up to 5-years in advance, with a temporal-graph based artificial intelligence (AI) model achieving the best performance. This may be used for planning preventative treatment or triaging patients.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © The Author(s) 2025. Published by Oxford University Press on behalf of the British Society for Rheumatology. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited. |
Keywords: | Hip; knee; joint replacement; risk prediction; electronic health records; graphs |
Dates: |
|
Institution: | The University of Leeds |
Academic Units: | The University of Leeds > Faculty of Medicine and Health (Leeds) > School of Medicine (Leeds) The University of Leeds > Faculty of Engineering & Physical Sciences (Leeds) > School of Computing (Leeds) |
Depositing User: | Symplectic Publications |
Date Deposited: | 08 May 2025 16:07 |
Last Modified: | 08 May 2025 16:07 |
Status: | Published online |
Publisher: | Oxford University Press |
Identification Number: | 10.1093/rheumatology/keaf185 |
Related URLs: | |
Sustainable Development Goals: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:226358 |