{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T17:55:30Z","timestamp":1791222930941,"version":"4.1.0"},"reference-count":41,"publisher":"Public Library of Science (PLoS)","issue":"10","license":[{"start":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T00:00:00Z","timestamp":1791158400000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"publisher","award":["R01AI124413"],"award-info":[{"award-number":["R01AI124413"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"publisher","award":["R01AI167795"],"award-info":[{"award-number":["R01AI167795"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["www.plosone.org"],"crossmark-restriction":false},"short-container-title":["PLoS One"],"abstract":"<jats:sec id=\"sec001\">\n                    <jats:title>Background<\/jats:title>\n                    <jats:p>Medication adherence is a persistent challenge in the treatment of multidrug-resistant tuberculosis (MDR-TB) and HIV. Routine counseling notes are an underutilized source of information on patient adherence context.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec id=\"sec002\">\n                    <jats:title>Methods<\/jats:title>\n                    <jats:p>We applied natural language processing (NLP) to routine counseling notes from a randomized controlled trial of MDR-TB\/HIV treatment in South Africa. Topics were derived using topic modeling; notes were semantically matched to topics and clustered using K-means. We fitted linear mixed-effects (LME) regression models with participant-level random intercepts and five-fold cross-validation to model adherence to bedaquiline (BDQ) and antiretroviral therapy (ART), measured using cellular-enabled electronic dose monitor (EDM). Cosine similarity scores, cluster assignments, and temporal proximity to counseling sessions were included as covariates. Model fit was assessed using mean absolute error (MAE) and root mean square error (RMSE).<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec id=\"sec003\">\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>We analyzed 327 counseling notes from 76 participants. Six thematic clusters were derived: substance use, logistical barriers, limited social support, side effect management, financial stability, and financial insecurity\/low support. LME showed modest fit. For BDQ adherence, MAE was 0.158 (95% CI 0.113\u20130.204) and RMSE 0.208 (95% CI 0.133\u20130.283). For ART, MAE was 0.180 (95% CI 0.170\u20130.191) and RMSE 0.224 (95% CI 0.202\u20130.246). Cluster membership was not associated with adherence. In contrast, temporal proximity to counseling was more consistently associated with adherence. Adherence was highest immediately following counseling sessions. Both BDQ and ART adherence declined during the intermediate period (\u03b2=\u22120.048, p\u2009=\u20090.001; \u03b2=\u22120.031, p\u2009=\u20090.022, respectively), and ART adherence declined further in the period preceding the next session (\u03b2=\u22120.032, p\u2009=\u20090.020).<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec id=\"sec004\">\n                    <jats:title>Conclusion<\/jats:title>\n                    <jats:p>NLP methods structured routine counseling notes into interpretable, adherence-related themes. Temporal proximity to counseling sessions was consistently associated with longitudinal BDQ and ART adherence. These findings offer preliminary insights into adherence dynamics and generate hypotheses about the role of counseling session timing in adherence support.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.1371\/journal.pone.0355696","type":"journal-article","created":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T17:25:29Z","timestamp":1791221129000},"page":"e0355696","update-policy":"https:\/\/doi.org\/10.1371\/journal.pone.corrections_policy","source":"Crossref","is-referenced-by-count":0,"title":["Temporal proximity to counseling is associated with longitudinal bedaquiline and antiretroviral therapy adherence in multidrug-resistant tuberculosis and HIV treatment"],"prefix":"10.1371","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-1435-0065","authenticated-orcid":true,"given":"Xuan","family":"Lu","sequence":"first","affiliation":[{"name":"Columbia University Irving Medical Center","place":["New York, New York, United States of America"],"department":["Division of Pulmonary, Allergy, and Critical Care Medicine"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jennifer","family":"Zelnick","sequence":"additional","affiliation":[{"name":"Touro University","place":["New York, New York, United States of America"],"department":["Graduate School of Social Work"]},{"name":"University of KwaZulu-Natal","place":["Durban, South Africa"],"department":["School of Applied Human Sciences"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Meng","family":"Zhao","sequence":"additional","affiliation":[{"name":"Lehigh University","place":["Bethlehem, Pennsylvania, United States of America"],"department":["Department of Industrial and Systems Engineering"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Matthew","family":"Cummings","sequence":"additional","affiliation":[{"name":"Columbia University Irving Medical Center","place":["New York, New York, United States of America"],"department":["Division of Pulmonary, Allergy, and Critical Care Medicine"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Allison K.","family":"Wolf","sequence":"additional","affiliation":[{"name":"Columbia University Irving Medical Center","place":["New York, New York, United States of America"],"department":["Division of Pulmonary, Allergy, and Critical Care Medicine"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kevin","family":"Guzman","sequence":"additional","affiliation":[{"name":"Columbia University Irving Medical Center","place":["New York, New York, United States of America"],"department":["Division of Pulmonary, Allergy, and Critical Care Medicine"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hlengiwe","family":"Nyilana","sequence":"additional","affiliation":[{"name":"CAPRISA MRC- HIV-TB Pathogenesis and Treatment Research Unit","place":["Durban, South Africa"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8892-2904","authenticated-orcid":true,"given":"Rubeshan","family":"Perumal","sequence":"additional","affiliation":[{"name":"CAPRISA MRC- HIV-TB Pathogenesis and Treatment Research Unit","place":["Durban, South Africa"]},{"name":"University of KwaZulu-Natal","place":["Durban, South Africa"],"department":["Department of Pulmonology and Critical Care, School of Clinical Medicine, College of Health Sciences"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kathleen Rivet","family":"Amico","sequence":"additional","affiliation":[{"name":"University of Michigan School of Public Health","place":["Ann Arbor, Michigan, United States of America"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Karl","family":"Reis","sequence":"additional","affiliation":[{"name":"University of Washington","place":["Seattle, Washington, United States of America"],"department":["Department of Medicine"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mbali","family":"Zulu","sequence":"additional","affiliation":[{"name":"CAPRISA MRC- HIV-TB Pathogenesis and Treatment Research Unit","place":["Durban, South Africa"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Amrita","family":"Daftary","sequence":"additional","affiliation":[{"name":"CAPRISA MRC- HIV-TB Pathogenesis and Treatment Research Unit","place":["Durban, South Africa"]},{"name":"York University","place":["Toronto, Canada"],"department":["School of Global Health and Dahdaleh Institute of Global Health Research"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8083-2613","authenticated-orcid":true,"given":"Boitumelo","family":"Seepamore","sequence":"additional","affiliation":[{"name":"University of KwaZulu-Natal","place":["Durban, South Africa"],"department":["School of Applied Human Sciences"]},{"name":"CAPRISA MRC- HIV-TB Pathogenesis and Treatment Research Unit","place":["Durban, South Africa"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8874-6661","authenticated-orcid":true,"given":"Kogieleum","family":"Naidoo","sequence":"additional","affiliation":[{"name":"CAPRISA MRC- HIV-TB Pathogenesis and Treatment Research Unit","place":["Durban, South Africa"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1232-3718","authenticated-orcid":true,"given":"Max","family":"O\u2019Donnell","sequence":"additional","affiliation":[{"name":"Columbia University Irving Medical Center","place":["New York, New York, United States of America"],"department":["Division of Pulmonary, Allergy, and Critical Care Medicine"]},{"name":"CAPRISA MRC- HIV-TB Pathogenesis and Treatment Research Unit","place":["Durban, South Africa"]},{"name":"Columbia University Irving Medical Center","place":["New York, New York, United States of America"],"department":["Department of Epidemiology"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"340","published-online":{"date-parts":[[2026,10,5]]},"reference":[{"key":"pone.0355696.ref001","volume-title":"Global tuberculosis report 2024","author":"WHO","year":"2024"},{"key":"pone.0355696.ref002","author":"WHO","year":"2024"},{"issue":"10","key":"pone.0355696.ref003","doi-asserted-by":"crossref","first-page":"893","DOI":"10.1056\/NEJMoa1901814","article-title":"Treatment of highly drug-resistant pulmonary tuberculosis","volume":"382","author":"F Conradie","year":"2020","journal-title":"N Engl J Med"},{"issue":"2","key":"pone.0355696.ref004","doi-asserted-by":"crossref","first-page":"126","DOI":"10.5588\/ijtld.21.0351","article-title":"Determinants of treatment outcomes in patients with multidrug-resistant TB","volume":"26","author":"E Burhan","year":"2022","journal-title":"Int J Tuberc Lung Dis"},{"issue":"7","key":"pone.0355696.ref005","doi-asserted-by":"crossref","DOI":"10.1093\/cid\/ciaa1557","article-title":"Electronic dose monitoring identifies a high-risk subpopulation in the treatment of drug-resistant tuberculosis and human immunodeficiency virus","volume":"73","author":"JR Zelnick","year":"2021","journal-title":"Clin Infect Dis"},{"issue":"1","key":"pone.0355696.ref006","doi-asserted-by":"crossref","first-page":"677","DOI":"10.1186\/s12889-021-10698-9","article-title":"Knowledge about tuberculosis, treatment adherence and outcome among ambulatory patients with drug-sensitive tuberculosis in two directly-observed treatment centres in Southwest Nigeria","volume":"21","author":"R Adisa","year":"2021","journal-title":"BMC Public Health"},{"issue":"2","key":"pone.0355696.ref007","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pgph.0004110","article-title":"Treatment completion of drug-resistant tuberculosis in Ethiopia: A perspective from healthcare users","volume":"5","author":"AR Tusho","year":"2025","journal-title":"PLOS Glob Public Health"},{"issue":"10","key":"pone.0355696.ref008","article-title":"Patient-perceived treatment burden of tuberculosis treatment","volume":"15","author":"NCH Ting","year":"2020","journal-title":"PLoS One"},{"issue":"8","key":"pone.0355696.ref009","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pone.0135802","article-title":"Patient and provider reported reasons for lost to follow up in MDRTB treatment: A qualitative study from a drug resistant TB Centre in India","volume":"10","author":"RD Deshmukh","year":"2015","journal-title":"PLoS One"},{"key":"pone.0355696.ref010","first-page":"9","article-title":"Drug-resistant tuberculosis and HIV infection: current perspectives","volume":"12","author":"A Singh","year":"2020","journal-title":"HIV AIDS (Auckl)"},{"issue":"1","key":"pone.0355696.ref011","doi-asserted-by":"crossref","first-page":"28335","DOI":"10.1038\/s41598-025-13227-5","article-title":"Factors associated with unfavourable treatment outcomes among patients with multidrug-resistant tuberculosis receiving outpatients care","volume":"15","author":"MJ Vadakunnel","year":"2025","journal-title":"Sci Rep"},{"issue":"10","key":"pone.0355696.ref012","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pgph.0000956","article-title":"Characteristics of psychosocial interventions to improve ART adherence in people living with HIV: A systematic review","volume":"2","author":"S Costa-Cordella","year":"2022","journal-title":"PLOS Glob Public Health"},{"issue":"9","key":"pone.0355696.ref013","doi-asserted-by":"crossref","first-page":"1216","DOI":"10.1093\/nutrit\/nuad120","article-title":"Effectiveness of nutritional support to improve treatment adherence in patients with tuberculosis: a systematic review","volume":"82","author":"F Wagnew","year":"2024","journal-title":"Nutr Rev"},{"issue":"2","key":"pone.0355696.ref014","doi-asserted-by":"crossref","DOI":"10.1136\/bmjopen-2021-056496","article-title":"Effect of a brief motivational interview and text message intervention targeting tobacco smoking, alcohol use and medication adherence to improve tuberculosis treatment outcomes in adult patients with tuberculosis: a multicentre, randomised controlled trial of the ProLife programme in South Africa","volume":"12","author":"G Louwagie","year":"2022","journal-title":"BMJ Open"},{"issue":"3","key":"pone.0355696.ref015","doi-asserted-by":"crossref","first-page":"325","DOI":"10.1097\/QAI.0000000000002940","article-title":"Bedaquiline adherence measured by electronic dose monitoring predicts clinical outcomes in the treatment of patients with multidrug-resistant tuberculosis and HIV\/AIDS","volume":"90","author":"MR O\u2019Donnell","year":"2022","journal-title":"J Acquir Immune Defic Syndr"},{"issue":"1","key":"pone.0355696.ref016","doi-asserted-by":"crossref","first-page":"310","DOI":"10.1186\/s12916-022-02521-y","article-title":"Effectiveness of a digital medication event reminder and monitor device for patients with tuberculosis (SELFTB): a multicenter randomized controlled trial","volume":"20","author":"T Manyazewal","year":"2022","journal-title":"BMC Med"},{"issue":"4","key":"pone.0355696.ref017","doi-asserted-by":"crossref","first-page":"322","DOI":"10.5588\/ijtld.22.0500","article-title":"The effect of medication event reminder monitoring on treatment adherence of TB patients","volume":"27","author":"K Velen","year":"2023","journal-title":"Int J Tuberc Lung Dis"},{"issue":"7","key":"pone.0355696.ref018","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pmed.1002595","article-title":"Adherence interventions and outcomes of tuberculosis treatment: A systematic review and meta-analysis of trials and observational studies","volume":"15","author":"N Alipanah","year":"2018","journal-title":"PLoS Med"},{"issue":"9","key":"pone.0355696.ref019","article-title":"Effectiveness of electronic reminders to improve medication adherence in tuberculosis patients: a cluster-randomised trial","volume":"12","author":"X Liu","year":"2015","journal-title":"PLoS Med"},{"issue":"5","key":"pone.0355696.ref020","article-title":"Digital adherence technologies to improve tuberculosis treatment outcomes in China: a cluster-randomised superiority trial","volume":"11","author":"X Liu","year":"2023","journal-title":"Lancet Glob Health"},{"key":"pone.0355696.ref021","doi-asserted-by":"crossref","first-page":"66","DOI":"10.3389\/fmed.2019.00066","article-title":"The revival of the notes field: leveraging the unstructured content in electronic health records","volume":"6","author":"M Assale","year":"2019","journal-title":"Front Med (Lausanne)"},{"issue":"1","key":"pone.0355696.ref022","article-title":"Health research capacity development in low and middle income countries: reality or rhetoric? A systematic meta-narrative review of the qualitative literature","volume":"7","author":"SRP Franzen","year":"2017","journal-title":"BMJ Open"},{"key":"pone.0355696.ref023","doi-asserted-by":"crossref","first-page":"3557","DOI":"10.2147\/JMDH.S467877","article-title":"LSTM-based prediction model for tuberculosis among HIV-infected patients using structured electronic medical records: A retrospective machine learning study","volume":"17","author":"J Chen","year":"2024","journal-title":"J Multidiscip Healthc"},{"issue":"3","key":"pone.0355696.ref024","doi-asserted-by":"crossref","first-page":"343","DOI":"10.1037\/cou0000111","article-title":"It sounds like: A natural language processing approach to detecting counselor reflections in motivational interviewing","volume":"63","author":"D Can","year":"2016","journal-title":"J Couns Psychol"},{"issue":"12","key":"pone.0355696.ref025","doi-asserted-by":"crossref","first-page":"909","DOI":"10.1136\/heartjnl-2021-319769","article-title":"Systematic review of current natural language processing methods and applications in cardiology","volume":"108","author":"M Reading Turchioe","year":"2022","journal-title":"Heart"},{"key":"pone.0355696.ref026","doi-asserted-by":"crossref","first-page":"102900","DOI":"10.1016\/j.artmed.2024.102900","article-title":"Transformers and large language models in healthcare: A review","volume":"154","author":"S Nerella","year":"2024","journal-title":"Artif Intell Med"},{"issue":"9","key":"pone.0355696.ref027","article-title":"Generative AI in medicine and healthcare: promises, opportunities and challenges","volume":"15","author":"P Zhang","year":"2023","journal-title":"Fut Internet"},{"key":"pone.0355696.ref028","doi-asserted-by":"crossref","first-page":"6","DOI":"10.3389\/fdgth.2020.00006","article-title":"Artificial intelligence for healthcare in Africa","volume":"2","author":"A Owoyemi","year":"2020","journal-title":"Front Digit Health"},{"issue":"5","key":"pone.0355696.ref029","doi-asserted-by":"crossref","DOI":"10.1016\/S1470-2045(19)30149-4","article-title":"Big data and machine learning algorithms for health-care delivery","volume":"20","author":"KY Ngiam","year":"2019","journal-title":"Lancet Oncol"},{"key":"pone.0355696.ref030","doi-asserted-by":"crossref","DOI":"10.25302\/11.2024.ME.2018C110963","volume-title":"A natural language processing tool for extracting medication adherence information from electronic health records","author":"KH Roberts","year":"2024"},{"issue":"11","key":"pone.0355696.ref031","doi-asserted-by":"crossref","first-page":"3186","DOI":"10.1016\/j.pec.2022.06.013","article-title":"Motivational interviewing to support medication adherence in adults with chronic conditions: Systematic review of randomized controlled trials","volume":"105","author":"M Papus","year":"2022","journal-title":"Patient Educ Couns"},{"issue":"7","key":"pone.0355696.ref032","doi-asserted-by":"crossref","first-page":"1071","DOI":"10.1177\/1359105311398727","article-title":"A situated-Information Motivation Behavioral Skills Model of Care Initiation and Maintenance (sIMB-CIM): An IMB model based approach to understanding and intervening in engagement in care for chronic medical conditions","volume":"16","author":"K Rivet Amico","year":"2011","journal-title":"J Health Psychol"},{"key":"pone.0355696.ref033","article-title":"Sentence-BERT: Sentence embeddings using Siamese BERT-networks","volume-title":"2019 Conference on Empirical Methods in Natural Language Processing","author":"Iryna","year":"2019"},{"key":"pone.0355696.ref034","author":"M Grootendorst","year":"2022"},{"issue":"4","key":"pone.0355696.ref035","doi-asserted-by":"crossref","first-page":"3005","DOI":"10.1007\/s10462-022-10246-w","article-title":"Human-in-the-loop machine learning: a state of the art","volume":"56","author":"E Mosqueira-Rey","year":"2022","journal-title":"Artif Intell Rev"},{"key":"pone.0355696.ref036","doi-asserted-by":"crossref","DOI":"10.1145\/2684822.2685324","article-title":"Exploring the space of topic coherence measures.","volume-title":"WSDM 2015: Eighth ACM International Conference on Web Search and Data Mining","author":"MB R\u00f6der","year":"2015"},{"issue":"1","key":"pone.0355696.ref037","doi-asserted-by":"crossref","first-page":"104","DOI":"10.1093\/jamia\/ocaa220","article-title":"Development of a predictive model for retention in HIV care using natural language processing of clinical notes","volume":"28","author":"T Oliwa","year":"2021","journal-title":"J Am Med Inform Assoc"},{"issue":"9","key":"pone.0355696.ref038","doi-asserted-by":"crossref","first-page":"1306","DOI":"10.1111\/jdi.14228","article-title":"Patient-reported outcomes and treatment adherence in type\u20092 diabetes using natural language processing: Wave 8 of the Observational International Diabetes Management Practices Study","volume":"15","author":"JC Chan","year":"2024","journal-title":"J Diabetes Investig"},{"issue":"1","key":"pone.0355696.ref039","doi-asserted-by":"crossref","first-page":"138","DOI":"10.1002\/cpt.3650","article-title":"Establishing a validation framework of treatment discontinuation in claims data using natural language processing and electronic health records","volume":"118","author":"C-T Yang","year":"2025","journal-title":"Clin Pharmacol Ther"},{"issue":"24","key":"pone.0355696.ref040","first-page":"11794","article-title":"Results of professional interventions to improve medication adherence based on health beliefs and important determinants of tuberculosis medication: a systematic review","volume":"27","author":"M Martono","year":"2023","journal-title":"Eur Rev Med Pharmacol Sci"},{"issue":"7","key":"pone.0355696.ref041","doi-asserted-by":"crossref","first-page":"731","DOI":"10.5588\/ijtld.17.0596","article-title":"Interventions to improve adherence to tuberculosis treatment: systematic review and meta-analysis","volume":"22","author":"AM M\u00fcller","year":"2018","journal-title":"Int J Tuberc Lung Dis"}],"container-title":["PLOS One"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pone.0355696","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T17:25:38Z","timestamp":1791221138000},"score":1,"resource":{"primary":{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pone.0355696"}},"subtitle":[],"editor":[{"given":"Issa","family":"Atoum","sequence":"first","affiliation":[{"name":"Philadelphia University","place":["JORDAN"]}],"role":[{"vocabulary":"crossref","role":"editor"}]}],"short-title":[],"issued":{"date-parts":[[2026,10,5]]},"references-count":41,"journal-issue":{"issue":"10","published-online":{"date-parts":[[2026,10,5]]}},"URL":"https:\/\/doi.org\/10.1371\/journal.pone.0355696","relation":{},"ISSN":["1932-6203"],"issn-type":[{"value":"1932-6203","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,10,5]]}}}