Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Previously submitted to: JMIR AI (no longer under consideration since Apr 27, 2026)

Date Submitted: Apr 16, 2026
Open Peer Review Period: Apr 27, 2026 - Apr 27, 2026
(closed for review but you can still tweet)

NOTE: This is an unreviewed Preprint

Warning: This is a unreviewed preprint (What is a preprint?). Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn (a note "no longer under consideration" will appear above).

Peer review me: Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period (in this case, a "Peer Review Me" button to sign up as reviewer is displayed above). All preprints currently open for review are listed here. Outside of the formal open peer-review period we encourage you to tweet about the preprint.

Citation: Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author).

Final version: If our system detects a final peer-reviewed "version of record" (VoR) published in any journal, a link to that VoR will appear below. Readers are then encourage to cite the VoR instead of this preprint.

Settings: If you are the author, you can login and change the preprint display settings, but the preprint URL/DOI is supposed to be stable and citable, so it should not be removed once posted.

Submit: To post your own preprint, simply submit to any JMIR journal, and choose the appropriate settings to expose your submitted version as preprint.

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

The use of BERTopic to examine text messages and trends in an HIV patient support app: content analysis

  • Patrick Winguth; 
  • Ronald Saxton; 
  • Joyce Jones; 
  • Shivaun Celano; 
  • Suzanne Grieb; 
  • Kathleen Page; 
  • Larry William Chang

ABSTRACT

Background:

There is limited analysis into text messaging-based data in mHealth intervention apps. Natural language processing (NLP), through topic modeling, can be used to achieve this, grouping textually and semantically similar texts into coherent topics in large datasets.

Objective:

To explore using BERTopic, an NLP tool, in combination with qualitative methods to identify representative topics and analyze trends through topic modeling messages exchanged between patients and patient navigators in NextStep, an HIV patient support app designed to facilitate HIV linkage and retention (LAR) in care.

Methods:

We analyzed messages exchanged between English-speaking patients and patient navigators in the NextStep app between February 2020 and August 2022. The messages were preprocessed and de-identified before topic modeling using two BERTopic models, one for patient messages and one for navigator messages. Then, two coders condensed the generated topics into distinct thematic categories. Messages not sorted into topics by the model were qualitatively coded for analysis. Data validation was performed by calculating the CV coherence score for each model and Cohen Kappa coefficient for inter-rater agreement between the models and the qualitative coders. The proportion of patient and navigator-initiated topics per patient were compared generally, by patient use-time tertiles, and by endline HIV virologic suppression.

Results:

A total of 2,337 patient messages and 3,264 patient navigator messages were analyzed. Per patient, the most prevalent topics found in patient messages was App Set-Up (33.1%, 95% CI 28.2%-38.0%). Additionally, Appointment Help Request (11.9%, 95% CI 9.3%-14.4%) was distinctly prevalent when compared to other topics implicated in direct HIV care. The most frequent topics for patient navigator messages per patient were Appointment Assistance (21.0%, 95% CI 18.4%-23.7%) and Conversation (16.9%, 95% CI 14.4%-19.5%). Across patient messages stratified by use-time tertiles, the App Set-Up topic decreased in prevalence with increasing use-time, while the Help Request topic increased in prevalence. Within navigator messages, the Introduction topic similarly decreased in prevalence by patients’ use-time tertiles, and the Medication Assistance topic increased in prevalence from the short-term use tertile to mid-term or long-term use tertiles. When stratified by patient study endline HIV viral load, no differences in prevalence were found for either patient or patient navigator message topics.

Conclusions:

BERTopic is a highly promising tool for integrating user-generated content into the design and evaluation process for messaging mHealth interventions. The high prevalence of the App Set-Up topic reflects a high drop off patient usage after first use, and the prevalence of appointment-related topics in relation to other care topics suggest that the NextStep messaging feature was used primarily to set up appointments for HIV care-related tasks. These use patterns suggest that future LAR messaging interventions should emphasize focus on appointment scheduling features and initial app retention in their design process.


 Citation

Please cite as:

Winguth P, Saxton R, Jones J, Celano S, Grieb S, Page K, Chang LW

The use of BERTopic to examine text messages and trends in an HIV patient support app: content analysis

JMIR Preprints. 16/04/2026:92901

DOI: 10.2196/preprints.92901

URL: https://preprints.jmir.org/preprint/92901

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.