Evidence map›Paper›PMID 41826977›Full record

ArticleBMC medical informatics and decision making2026

Visit-level prediction of missed HIV appointments using machine learning and transformer-based models in Uganda.

Alex Mirugwe, Solomon Ssevvume, Arthur G Fitzmaurice, Jonathan Mpango, Alice Namale, Evelyn Akello, Paul Katongole, Simon Muhumuza, Naseef Mayanja, Paul Mbaka and 2 more

Abstract read
In one paragraph

Article in BMC medical informatics and decision making, 2026. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

12 authors.

Alex MirugweSchool of Public Health, Monitoring & Evaluation Technical Support Program, Makerere University, Kampala, Uganda. mirugwealex@gmail.com.ORCID 0000-0002-3194-4333
Solomon SsevvumeSchool of Public Health, Monitoring & Evaluation Technical Support Program, Makerere University, Kampala, Uganda.ORCID 0009-0003-4304-0600
Arthur G FitzmauriceUS Centers for Disease Control and Prevention, Global Health Center, Division of Global HIV & TB, Kampala, Uganda.ORCID 0000-0002-1509-3831
Jonathan MpangoSchool of Public Health, Monitoring & Evaluation Technical Support Program, Makerere University, Kampala, Uganda.ORCID 0009-0005-0996-2497
Alice NamaleSchool of Public Health, Monitoring & Evaluation Technical Support Program, Makerere University, Kampala, Uganda.ORCID 0009-0004-4459-3087
Evelyn AkelloSchool of Public Health, Monitoring & Evaluation Technical Support Program, Makerere University, Kampala, Uganda.ORCID 0000-0002-3957-4875
Paul KatongoleSchool of Public Health, Monitoring & Evaluation Technical Support Program, Makerere University, Kampala, Uganda.ORCID 0000-0003-4952-801X
Simon MuhumuzaSchool of Public Health, Monitoring & Evaluation Technical Support Program, Makerere University, Kampala, Uganda.ORCID 0000-0002-7355-9791
Naseef MayanjaSchool of Public Health, Monitoring & Evaluation Technical Support Program, Makerere University, Kampala, Uganda.
Paul MbakaMinistry of Health, Division of Health Information, Kampala, Uganda.ORCID 0009-0000-0945-2378
Enos SandeUS Centers for Disease Control and Prevention, Global Health Center, Division of Global HIV & TB, Kampala, Uganda.ORCID 0009-0001-1956-3036
Kenneth MusengeUS Centers for Disease Control and Prevention, Global Health Center, Division of Global HIV & TB, Kampala, Uganda.ORCID 0009-0009-5474-4674

Funding

No grant is acknowledged in the PubMed record.

6 · The paper itself

Abstract

backgroundAchieving high retention of people living with HIV (PLHIV) in care remains a challenge in Uganda, despite substantial progress towards UNAIDS 95–95-95 targets. The purpose of this study was to apply and compare machine learning and deep learning models using de-identified longitudinal clinical data collected from HIV clinics in Uganda to predict clients at high risk of missing treatment appointments. Predictions were made at the visit level, and a missed appointment was defined as failure to attend a scheduled clinical visit within 28 days of the assigned return data in accordance with the PEPFAR definition of loss to follow-up.

methodsWe compared the performance of traditional machine learning models (i.e. commonly used non-sequential models such as Decision Tree, Random Forest, AdaBoost, and XGBoost) and the Bidirectional Encoder Representations from Transformers (BERT) model, which is designed to model sequential and contextual information in longitudinal data. Feature importance using the Shapley additive exPlanations method was used to identify the most influential predictors. We also evaluated the impact of various sampling techniques, i.e. undersampling, oversampling, and synthetic minority oversampling, to address class imbalance and improve model performance. Model performance was evaluated using accuracy, precision, recall, F1-score, and the Area Under the Curve-Receiver Operating Characteristic (AUC-ROC) metrics.

resultsThe study was based on a longitudinal dataset of 66,206 PLHIV who initiated HIV care during 2000–2023 in 86 health facilities. The data comprised 1,479,121 clinical visits, an average of 22 clinical visits per client; 158,266 (10.7%) missed appointments, and 49,588 (74.9%) of clients missed at least one appointment. Median (interquartile range [IQR]) age was 38.0 [29.0–47.0] years, and the majority (n = 43,132, 65.1%) were female. The BERT model achieved the highest performance in predicting missed appointments, with an AUC of 0.96 [CI: 0.94–0.97], precision of 89.0% [CI: 87.1%–90.9%], recall of 100% [CI: 100.0%–100.0%], and an F1-score of 94.0% [CI: 92.5%–95.5%] for the missed appointment class. In comparison, the best-performing traditional model, XGBoost with undersampling, achieved an AUC of 0.90 [CI: 0.87–0.92], precision of 33.2% [CI: 30.3%–36.1%], recall of 79.7% [CI: 77.2%–82.2%], and an F1-score of 46.8% [CI: 43.7%–49.9%] for the missed appointment class. Feature importance analysis showed that treatment adherence, visit frequency, treatment duration, and visits on the current regimen were the most influential predictors of appointment interruption.

conclusionIn this retrospective analysis, transformer-based sequential modeling showed promising performance for visit-level prediction of missed HIV appointments compared with the non-sequential models evaluated. These findings should be interpreted cautiously, as further temporal and external validation is required. If validated prospectively, such models may support EMR workflows by identifying clients at higher risk of missed visits, potentially enabling more targeted outreach and retention support in HIV care programs.

Indexed as

Appointments and SchedulesDeep LearningHIV InfectionsMachine LearningAdultBoosting Machine Learning AlgorithmsFemaleHumansMalePrediction AlgorithmsPredictive Learning ModelsRandom ForestUgandaAppointment adherenceBERTHIV care retentionMachine learning

Identifiers

PMID41826977
PMCPMC13101119

What OpenQuestion holds

Textmetadata
LicenceCC BY-NC-ND
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.