Dynamic Prediction to Predict Virologic Failure in Antiretroviral Treated People Living with HIV: Cohort Analysis of Routine Electronic Health Records Data in the Western Cape, South Africa
F. Honwana, E. Mukonda, F. Gumedze, N.-y. Hsiao, L. Myer, M. Lesosky
Key points
From the paper's conclusion- We developed and internally validated a dynamic prediction model for VF using routine EHR data from people with HIV (PWH) receiving antiretroviral therapy in South Africa.
Abstract
Objectives Virologic failure (VF) remains a major challenge in HIV care, particularly in resource-limited settings where timely identification is critical. Dynamic prediction models can provide continuously updated, individual-level risk estimates using longitudinal biomarker data. However, their applicability to routinely collected electronic health record (EHR) data remains poorly understood. We developed and internally validated a dynamic prediction model for VF using routine EHR data from people with HIV (PWH) receiving antiretroviral therapy in South Africa. Methods A joint model (JM) linking a linear mixed-effects model for longitudinal HIV viral load (HIVVL) to a Cox model for time to first VF, adjusted for baseline age group and sex at birth, was developed using routine National Health Laboratory Service data from 122,425 PWH in the Western Cape, South Africa (SA) (January 2008-September 2018), randomly split into development (n = 91,818; 75%) and validation (n = 30,607; 25%) cohorts. Predictive performance was evaluated using time-dependent area under the receiver operating characteristic curve (AUC) and Brier scores at 12 and 24 months. Results Overall, 12,547 PWH (10.2%) experienced VF. The current value-parameterized model was used and showed moderate discrimination (AUC: 0.69 and 0.73) and good calibration (Brier scores: 0.033 and 0.051) at 12 and 24 months. Dynamic predictions updated meaningfully at each visit, demonstrating potential to flag individuals at elevated VF risk for timely clinical intervention. Conclusions Dynamic prediction models hold genuine promises to support personalized, timely clinical decision-making for PWH. However, EHR data with sparse measurements, missing clinical covariates, and irregular follow-up limit discriminative performance despite adequate calibration, demonstrating that data quality and covariate availability are at least as consequential as modelling strategy in real-world prediction settings.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Prediction of lack of sustained viral suppression in cisgender women living with HIV: a decision tree model.AIDS care · 2026
- Durability of HIV viral suppression in South Africa: a national cohort study.Open Access CRIS of the University of Bern · 2026
- Joint Modeling of Longitudinal Data and Potentially Informative Visiting Process to Dynamically Predict Future Visit Times.Statistics in medicine · 2026
- AI for Prognosis Among People Living With HIV: Protocol for a Systematic Review and Meta-Analysis.JMIR research protocols · 2026
- Applications of Artificial Intelligence in HIV Viral Load Monitoring and Management: A Scoping Review ProtocolOpen MIND · 2026
- HIV/AIDS patients with low-level viremia in different states have variable risks of subsequent viral suppression failure: a large retrospective study in Chongqing.Frontiers in public health · 2026