Figures
Abstract
Background
Rifampicin resistant tuberculosis remains a global health problem with almost half a million new cases annually. In high-income countries patients empirically start a standardized treatment regimen, followed by an individualized regimen guided by drug susceptibility test (DST) results. In most settings, DST information is not available or is limited to isoniazid and fluoroquinolones. Whole genome sequencing could more accurately guide individualized treatment as the full drug resistance profile is obtained with a single test. Whole genome sequencing has not reached its full potential for patient care, in part due to the complexity of translating a resistance profile into the most effective individualized regimen.
Methods
We developed a treatment recommender clinical decision support system (CDSS) and an accompanying web application for user-friendly recommendation of the optimal individualized treatment regimen to a clinician.
Results
Following expert stakeholder meetings and literature review, nine drug features and 14 treatment regimen features were identified and quantified. Using machine learning, a model was developed to predict the optimal treatment regimen based on a training set of 3895 treatment regimen-expert feedback pairs. The acceptability of the treatment recommender CDSS was assessed as part of a clinical trial and in a routine care setting. Within the clinical trial setting, all patients received the CDSS recommended treatment. In 8 of 20 cases, the initial recommendation was recomputed because of stock out, clinical contra-indication or toxicity. In routine care setting, physicians rejected the treatment recommendation in 7 out of 15 cases because it deviated from the national TB treatment guidelines. A survey indicated that the treatment recommender CDSS is easy to use and useful in clinical practice but requires digital infrastructure support and training.
Citation: Verboven L, Callens S, Black J, Maartens G, Dooley KE, Potgieter S, et al. (2024) A machine-learning based model for automated recommendation of individualized treatment of rifampicin-resistant tuberculosis. PLoS ONE 19(9): e0306101. https://doi.org/10.1371/journal.pone.0306101
Editor: Meredith Blair Brooks, Boston University School of Public Health, UNITED STATES OF AMERICA
Received: December 16, 2023; Accepted: June 11, 2024; Published: September 6, 2024
Copyright: © 2024 Verboven et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data generated or analyzed during this study are within the paper and its Supporting Information files. The treatment recommender and the webapp are available from the GitHub repositories (https://github.com/LennertVerboven/treatment_recommender) and (https://github.com/LennertVerboven/treatment_recommender_webap).
Funding: This research was funded by the Research Foundation Flanders (FWO) strategic basic research grant 1SB4519N, (personal PhD funding for L.V.), the FWO Odysseus grant G0F8316N (A.V.R), the FWO applied biomedical research with a primary social finality T001018N (A.V.R), and National Institute on Allergy and Infectious Diseases / National Institutes of Health (NIAID/NIH) K24AI150349 (K.E.D). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Tuberculosis (TB) continues to be a global public health problem with about 10 million new cases and 1.4 million TB deaths annually [1]. The ‘End TB Strategy’ of the World Health Organization (WHO) aims to reduce new TB cases by 90% and TB deaths by 95% by 2035. A major challenge to achieve these goals is the occurrence of about 450,000 new cases of rifampicin resistant TB (RR-TB) annually [1], cases which are difficult, complex, and costly to treat.
All patients diagnosed with RR-TB should start a standard RR-TB treatment regimen. Since 2019, a 9-12 month all-oral 7-drug RR-TB regimen is recommended for patients who have not been previously treated for ≥ 1 month with bedaquiline, clofazimine or linezolid and in whom resistance to fluoroquinolones is unlikely or excluded [2]. Otherwise, a longer (18 to 20 months) regimen containing all three group A agents (levofloxacin/moxifloxacin, bedaquiline, linezolid) and at least one group B agent (clofazimine, cycloserine/terizidone) should be administered. Group C agents (ethambutol, delamanid, pyrazinamide, imipenem-cilastatin/meropenem, amikacin/streptomycin, ethionamide, prothionamide, para-aminosalicylic acid) can be added to ensure the regimen contains at least four drugs to which the Mycobacterium tuberculosis (Mtb) strain is most likely susceptible [2]. In 2022, a 6-month regimen containing bedaquiline, pretomanid, linezolid, and moxifloxacin (BPaLM) was endorsed by the World Health Organization (WHO) for treatment of RR-TB and a 6-9 month regimen of bedaquiline, pretomanid, and linezolid (BPaL) for fluoroquinolone resistant RR-TB [3], but pretomanid was not yet registered or available in South Africa when the study was performed.
Ideally, the standard RR-TB treatment regimen should be individualized when drug susceptibility test (DST) results identify the presence of resistance to one or more drugs included in the regimen. Because DST assays can take months, this is not always implemented. For example, between November 2012 and December 2013 treatment was individualized in only 57% of pre-XDR and 68% of XDR-TB patients [4]. Molecular methods are increasingly used for rapid DST [5]. Line probe assays (LPA) are used in many countries for detection of resistance to isoniazid, injectable drugs and fluoroquinolones in people diagnosed with RR-TB. More recently, the Xpert MTB/XDR assay for the diagnosis of resistance to isoniazid, fluoroquinolones, ethionamide, and injectable drugs and a LPA for detection of resistance to pyrazinamide have been endorsed by the WHO but these are not yet implemented in most countries [6]. Rapid tests for ethambutol, terizidone, cycloserine, bedaquiline, clofazimine, linezolid, delamanid, pretomanid and PAS do not exist. In the absence of a complete drug resistance profile, it is challenging to correctly compose an individualized RR-TB treatment regimen.
Next generation sequencing (NGS), using a targeted or whole genome sequencing (WGS) approach, can provide a comprehensive genomic drug resistance profile. In 2018, the WHO endorsed NGS for surveillance but not for clinical care [7]. Some public health laboratories in high income, low RR-TB burden settings have integrated WGS into the routine patient management [8–10]. In low- and middle-income countries, the use of NGS remains limited to research institutions and reference laboratories [11] because of limited bioinformatics expertise, scarce sequencing infrastructure, expertise required for the interpretation of sequencing data, and challenges in translating a drug resistance profile into the optimal individualized treatment regimen [12, 13]. Increased automation could facilitate the use of NGS data for individualized RR-TB treatment and increase the patient benefit that could arise from the scientific advances made.
In this paper, we describe the development of a computational model using machine learning methods to create a clinical decision support system (CDSS) that automates the translation of NGS data into an individualized RR-TB treatment regimen recommendation with its accompanying user-friendly web interface and present the results of the acceptance assessment of the tool by physicians in South Africa.
Methods
Ethics approval and consent to participate
The research was performed in accordance with the Declaration of Helsinki. Collection of the clinical strains and the determination of the genotypic drug resistance profile was obtained from the Human Research Ethics Committee of the University of the Witwatersrand in South Africa and the Institutional Review Board of the University of North Carolina at Chapel Hill in the United States for the training dataset, and from the Stellenbosch University Health Research Ethics Committee for the validation dataset. Participants in the training dataset gave verbal informed consent by phone (recorded) as approved by the Human Research Ethics Committee of the University of the Witwatersrand in South Africa and the Institutional Review Board of the University of North Carolina at Chapel Hill in the United States. The Research Ethics Committee or Institutional Review Board of Human Research Ethics Committee of the University of the Witwatersrand in South Africa and the Institutional Review Board of the University of North Carolina at Chapel Hill in the United States waived the need of informed consent for patients who had died or were lost to follow-up from TB care prior to study enrolment and could not be contacted despite multiple attempts. For the validation dataset, the Stellenbosch University Health Research Ethics Committee waived the need for informed consent. The study titled "A personalized recommendation system for Whole Genome Sequencing-based individualized treatment for drug resistant tuberculosis" reported in this manuscript was approved by the Ethics Committee of the University Hospital Antwerp and the University of Antwerp.
Development of the RR-TB treatment recommender CDSS
The development process of the RR-TB treatment recommender CDSS consisted of the assembly of the knowledge base, development of a heuristic model prototype, feedback harvesting from experts, application of machine learning methods to analyze the feedback, assessment of the CDSS performance, and external validation [14]. The stakeholder group included experts in pathogen genomics (genotype-phenotype associations), pharmacology (drug properties, mechanisms of action, drug-drug interactions, synergy and antagonism between drugs), medicine (treatment of RR-TB in high and low burden settings), and computer and data science. In addition, public health practitioners and patients were included to hear their viewpoints. Stakeholder discussions were held in 2019 and focused on the minimum number of effective drugs to be included in a regimen, the role of an intensive treatment phase, drug toxicity, burden of treatment monitoring, drug properties that define effectiveness, and level of drug resistance.
The key features of individual drugs and treatment regimens were quantified by five experts in 2019, through expert panel discussions guided by review of published and unpublished data. The key features identified by the stakeholders were toxicity, early bactericidal activity (EBA), bactericidal activity, sterilizing activity, mode of administration (oral vs injection), mechanism of drug action, propensity to acquire resistance, and cost (S1 Table). After the first round of feedback, QTc prolongation was added as a separate feature, resulting in nine features to characterize individual drugs in the model. Toxicity was classified for each drug as life threatening, permanent (e.g., hearing loss), short-term with possible effect on adherence (e.g., nausea) or minimal without patient impact (e.g., liver function test abnormality grade 2). Based on a combination of frequency of occurrence and severity, the level of toxicity for each drug was graded on a scale of 1 to 3. QTc prolongation was classified into four categories (none, low, moderate, or high). Early bactericidal activity (EBA), bactericidal activity and sterilizing activity were classified as one of five categories (very low, low, moderate, high, very high). EBA classification was based on the drop in log10 colony forming units (CFU) in the first days of treatment observed in experimental EBA studies and bactericidal activity on the drop in log10CFU in the first six months of treatment. Sterilizing activity, or the ability to achieve stable cure was defined based on a drug’s ability to prevent relapse in human or animal model studies. The propensity to acquire resistance was classified into four categories (low, moderate, high, and none) based on expert opinion. Mode of administration was defined as either oral or injection (intravenous or intramuscular). All cost for the drugs at recommended dosing was quantified as the cost for one month of treatment in South Africa [15–18].
In the heuristic model prototype all features received equal weight, possible interaction between features were not considered, and all regimen features were normalized to obtain a regimen score with a higher score representing a better regimen.
A training dataset of 129 unique WGS-derived drug resistance profiles was obtained using WGS data and interpretation of variants based on the 2021 WHO catalogue of mutations in Mtb [19]. Of these 129 unique resistance profiles, 119 (92%) were resistant to rifampicin, 106 (82%) to isoniazid, and 29 (22%) to fluoroquinolones from 303 anonymized South African RR-TB (accessed on 2017.10.10) patients was used to solicit feedback from experts. For each unique drug resistance profile, all available four-drug regimens (defined as a regimen not containing any drug to which the Mtb isolate is resistant on WGS) were generated by the treatment recommender model, using all drugs that can be prescribed for RR-TB treatment. A sampling function was used to increase the likelihood for feedback on highly ranked (i.e., better) compared to lower ranked regimens. Regimens were replaced to ensure that multiple experts could provide feedback on the same regimen. Experts were asked to state if they would prescribe the proposed regimen to a patient with the specified resistance profile. If they rejected the regimen, the reason for rejection and suggestion of an alternative regimen was requested. After the first round of feedback, experts discussed which features were missing, obsolete, or sub-optimally quantified and revisions to the model were made. After each round of expert feedback harvesting, a random forest classifier using 100 trees with a maximum depth of 10 and default parameters (from the scikit-learn library [20]) was trained and evaluated using the feedback from the experts. After each round of machine learning, a patient level ‘leave-one-out’ cross validation strategy was used to assess model performance [14]. A leave-one-out cross validation at the patient level means that the model was trained on the data for all patients except one. The dataset and was then used to make recommendations for the excluded patient. This analysis was then repeated until all patients were excluded once. This analytic approach was chosen due to the limited amount of data and because observations were not independent of each other. The random forest classifier was then used to predict for each possible treatment regimen the probability that a regimen is classified as ‘good’. Finally, the regimens were ranked according to these probabilities to identify the optimal (highest ranked) regimen. The result of the machine learning analysis was then used to develop the next version of the treatment recommender model. The iterative feedback harvesting process was continued until no further significant improvements were made in the model prediction of a ‘good’ treatment for a specified resistance profile. After 3 rounds of feedback and machine learning, the treatment recommended by the model was accepted by the experts in 89%, 95%, and 95% of the cases, demonstrating no further improvement after the third round. [14]. The machine learning model and its parameters were decided upon before the start of the study and kept fixed throughout it, since the training data had to be iteratively generated through the expert feedback harvesting and we did not want to update the methodology mid study.
The model was then validated using a dataset of 64 unique anonymized WGS-derived drug resistance profiles that were not present in the training dataset (accessed on 2020.01.13) [14].
For the final treatment recommender CDSS, the model was retrained on a dataset of 3895 treatment regimen-expert feedback pairs obtained from 268 unique WGS-derived resistance profiles consisting of 129 unique resistance profiles used during training, the 64 unique resistance profiles used during validation, and 75 unique resistance profiles generated from the 129 profiles excluding pretomanid, high-dose rifampicin, and cycloserine as possible drugs. As the model was to be used in a clinical trial, the model was retrained using all available resistance profile-treatment regimen data with expert feedback to make sure the final model included as much training data as possible. Pretomanid, high-dose rifampicin and cycloserine were excluded at this stage as these drugs were not recommended or used for clinical care in South Africa at the time of model development, due to the cost involved (timewise for the experts providing their feedback) as reevaluating all the original resistance profile-treatment regimen pairs would not be worth the time investment. Additionally, this also allows shows that the exclusion of certain drugs is possible should the clinical setting require it. The treatment recommender model with training data and instructions on usage are available from https://github.com/LennertVerboven/treatment_recommender.
Development of interactive online web interface
We developed a user-friendly, interactive web application optimized for mobile phone (available from https://github.com/LennertVerboven/treatment_recommender_webapp). The front end was written in JavaScript using the React library. The back end written in Python3, using the Django web development framework, exposes a representational state transfer (REST) application programming interface (API) to which the clients can make secured hypertext transfer protocol secure (HTTPS) requests. The backend implements the connection between the REDCap [21] server containing the patient data and the treatment recommender machine learning model to make individualized treatment recommendations.
The online web interface allows health care workers to log in securely using username and password authentication and then shows a list of their patients. For each patient, the app lists the patient’s demographic information (name, date of birth, clinic, phone number), current treatment regimen, contra-indications based on clinical information, toxicity, stockouts, the WGS-based resistance profile, and the recommended regimen. The physician can then start an interactive process to enter any contra-indications, toxicity, or drug stockouts for any of the drugs included in the recommended regimen, after which an updated treatment regimen recommendation is proposed in real-time. This iterative process is completed once the physician accepts the treatment recommendation. At that time, a pdf report is generated for inclusion in the patients’ paper medical file.
To ensure data security, all data transfers between the front end and the server hosting the webapp used an encrypted connection. All patient data was stored on a secure server at the University of Stellenbosch [21].
Acceptance assessment of the RR-TB treatment recommender CDSS
The treatment recommender CDSS and its accompanying webapp were implemented as part of the SMARTT pragmatic trial (Clinicaltrials.gov Identifier NCT05017324) [22]. The trial aimed to determine the effectiveness of a WGS-based drug susceptibility testing strategy to guide individualized treatment for patients diagnosed with RR-TB.
Acceptance of the treatment recommender and its accompanying online app by clinicians caring for trial participants was assessed in three different ways. First, we investigated the proportion of trial participants for whom the treatment proposed by the treatment recommender CDSS was prescribed. Because this is an ongoing trial, we performed this analysis on the first 20 patients randomized to the intervention (WGS) arm. Second, we determined the proportion of patients for whom clinicians would prescribe the regimens proposed by the treatment recommender in their routine practice, i.e., outside of the trial setting. This was done by presenting the treatment regimens recommended by the CDSS for 15 unique resistance profiles to five physicians who had experience with the CDSS in the trial setting and agreed to participate in this assessment. Resistance profiles were selected from those that have been documented in the region where these physicians practice. Physicians were asked if they would prescribe the proposed regimen for a patient receiving routine RR-TB care. Third, we performed a survey to assess the factors that may influence health care workers’ use of the treatment recommender CDSS. The questionnaire (S2 Table) was developed based on the modified technology acceptance model (Fig 1) and consisted of 36 questions investigating eight domains within the technological, individual, and organizational context (Table 1) [23]. Participants were asked to rate each question on a 5-point Likert scale. Responses were transformed into a score ranging from 0 (Strongly disagree) to 4 (strongly agree), except for questions 8 and 32 for which the rating was inverted as these questions were posed negatively. For each domain, the median and range of the sum of the scores were calculated.
Results
Selection and quantification of individual drug features
The fluoroquinolones, moxifloxacin and levofloxacin are oral drugs that inhibit DNA gyrase of Mtb [24]. Fluoroquinolone toxicity was classified as low (score 1 for levofloxacin, 1.25 for moxifloxacin) given the low (1.2%) incidence of serious adverse effects (SAE) in RR-TB patients receiving fluoroquinolones [25]. QTc prolongation on moxifloxacin is moderate [26] and experts classified the risk of QTc prolongation for levofloxacin as low. The monthly cost is $3.87 for levofloxacin and $8.85 for moxifloxacin [18]. The EBA of fluoroquinolones is very high based on a fall in log10CFU of 0.45 for moxifloxacin and 0.53 for levofloxacin [27]. Experts classified the bactericidal activity as moderate for levofloxacin and high for moxifloxacin. The sterilizing activity of fluoroquinolones was judged to be moderate [28–30]. Experts determined that fluoroquinolones have a low propensity to acquire resistance.
Rifabutin is an oral drug that kills mycobacteria by inhibiting the Mtb RNA polymerase [31]. Toxicity was classified as low (score 1.5) [32]. Experts stated that rifabutin does not prolong the QTc interval. The cost of 1 month treatment is $57.6 [18]. The EBA of rifabutin is low (fall in log10CFU 0. 0.07 [33]) and sterilizing activity is very high [34]. Experts classified the bactericidal activity as moderate. Rifabutin has a low propensity to acquire resistance.
Bedaquiline is an oral drug that inhibits the Mtb ATP synthesis [35]. Experts classified the toxicity for bedaquiline as low (score 1). The risk of QTc interval prolongation during bedaquiline treatment is moderate. Cost of one month bedaquiline treatment is $65 [18]. The EBA of bedaquiline is low with a fall in log10CFU of 0.04 [36] in the first two days of a loading dose of 400mg/day. Experts classified the bactericidal activity as moderate and sterilizing activity as very high. Bedaquiline has a moderate propensity to acquire resistance.
Clofazimine is an oral drug that inhibits protein synthesis [37]. Experts classified the toxicity of clofazimine as relatively high (score 2.25), it has no effect on the QTc interval [38]. The monthly cost of clofazimine treatment is $29.96 [18]. Clofazimine has a very low EBA as clofazimine treatment does not result in a drop in CFU counts in the first week of treatment [39]. Experts classified the bactericidal activity as moderate and sterilizing activity as low, and it has a low propensity to acquire resistance.
Linezolid is an oral drug that inhibits protein synthesis [40]. The risk of toxicity caused by linezolid is high (score 3) [41]. Expert opinion stated that linezolid has no effect on the QTc interval. The cost is $42.7 per month of linezolid treatment [18], it has a moderate EBA with a 0.17 drop in log10CFU in the first two days of treatment [27]. Experts classified the bactericidal and sterilizing activity of linezolid as high and the propensity to acquire resistance as low.
Ethambutol is an oral first line drug that inhibits the Mtb cell wall synthesis [42]. Toxicity is low (score 1), with a risk of SAE of 0.5% [25]. Expert opinion stated that ethambutol has no effect on the QTc interval. One month of ethambutol treatment cost $2.19 [18]. Ethambutol has a low EBA with a 0.245 drop in log10CFU in the first two days of treatment [43]. Experts classified the bactericidal activity as moderate, and it has almost no sterilizing activity [34] and a moderate propensity to acquire resistance.
Pyrazinamide is an oral drug that disrupts plasma membranes [44]. Toxicity of pyrazinamide is low (score 1) based on a 2.8% risk of SAE on pyrazinamide treatment [25]. Experts judged that pyrazinamide treatment has no effect on the QT interval. One month of treatment cost $2 [18]. Pyrazinamide has very low EBA [43, 45] and very high sterilizing activity [34]. Experts classified the bactericidal activity as moderate. Pyrazinamide has a high propensity to acquire resistance.
Isoniazid is an oral drug that inhibits Mtb mycolic acid synthesis [46]. Experts classified the toxicity as low (score 1) for isoniazid and high-dose isoniazid (score 1.25). Experts judged that isoniazid has no effect on QTc interval. One month of treatment cost $0.61 for isoniazid and $1.22 for high-dose isoniazid [18]. Isoniazid has a very high EBA with a drop in log10CFU of 0.50 [34] and moderate sterilizing activity [34]. Experts classified the EBA of high-dose isoniazid also as high and viewed the bactericidal activity of isoniazid and high-dose isoniazid as high. It has a low propensity to acquire resistance.
The thioamides, ethionamide and prothionamide, are oral drugs that inhibit Mtb cell wall synthesis [47]. Thioamides have a high toxicity (score 3) with a 8.2% SAE risk [25]. Experts judged that thioamides do not influence the QTc interval. The cost of one month of treatment is $11.8 for ethionamide and $18.95 for prothionamide [18]. Experts classified the EBA and bactericidal activity of thioamides as moderate, the sterilizing activity as low. Thioamides have a moderate propensity to acquire resistance.
Carbapenems, imipenem-cilastatin and meropenem, are administered via daily infusion together with oral clavulanate. They inhibit peptidoglycan synthesis [48]. Experts classified carbapenems as moderately toxic (score 1.75). Experts stated that carbapenems do not affect the QTc interval. Carbapenems are expensive drugs with a cost of $439.2 for one month imipenem and $338.55 for one-month meropenem [18]. The EBA is very low with small increase in log10CFU in the first 14 days of imipenem treatment [49]. Experts classified carbapenems as having a low bactericidal activity. In combination with clavulanate, carbapenems have a high sterilizing activity [50]. Carbapenems have a low propensity to acquire resistance.
The aminoglycosides (amikacin, kanamycin, and capreomycin) and streptomycin, drugs which need to be administered by daily intramuscular injection, inhibit protein synthesis [51]. Of the aminoglycosides only amikacin is currently recommended for treatment of RR-TB. Amikacin and streptomycin treatment is highly toxic (score 3) with 7.3% of patients reporting SAE for both injectables [25]. Experts judged that amikacin and streptomycin have no effect on the QTc interval. The EBA of the injectable drugs is low, with a loss of log10CFU of 0.05 for amikacin [27] and 0.04 for streptomycin [27]. The bactericidal activity and sterilizing activity of amikacin and streptomycin are also low [34, 52]. Both amikacin and streptomycin have a low propensity to acquire resistance.
Cycloserine and terizidone are oral drugs that inhibit protein synthesis [53]. These drugs have a high level of toxicity (score 2.75 for cycloserine and 3 for terizidone with a 4.5% and 9.1% SAE risk in patients treated with cycloserine and terizidone, respectively) [25, 54]. Experts stated that these drugs do not influence the QTc interval. The cost of one month treatment is $32.7 for cycloserine and $219.6 for terizidone [18]. Experts classified the EBA, bactericidal and sterilizing activity as low, moderate, and low for both drugs respectively. These drugs have a moderate propensity to acquire resistance.
Para-aminosalicylic acid (PAS) is an oral drug that inhibits DNA precursor synthesis [55]. PAS treatment is highly toxic (score 3) as 12.2% of patients treated with PAS reporting SAE [25]. There is no data to suggest that PAS influences QT interval. One month of PAS treatment costs $122 [18]. PAS has a moderate EBA with a drop in log10CFU of 0.259 in the first two days of treatment [45]. Experts classified the bactericidal activity of PAS as low and its sterilizing activity as moderate. PAS has a moderate propensity to acquire resistance.
The nitroimidazo-oxazoles, delamanid and pretomanid are oral drugs that inhibit mycolic acid synthesis [56]. At time of the development of the treatment recommender, only delamanid was registered for RR-TB treatment in South Africa. Experts classified toxicity of delamanid as low (score 1). QT prolongation is also low [57]. One month of delamanid treatment costs $308.63 [18]. Delamanid has a low EBA (drop in log10CFU of 0.066 [27]), a low bacterial and moderate sterilizing with dose-dependent killing rates. At the highest dose of delamanid, its sterilizing activity is superior to isoniazid and equal to rifampicin [58]. Delamanid has a moderate propensity to acquire resistance.
Selection and quantification of regimen features
Experts agreed that an effective treatment regimen should consist of four effective drugs i.e., drugs to which no resistance has been detected. Fourteen features were defined to characterize the treatment regimens in the model. Features one to six are the sum of features of the four drugs included in the regimen: the sum of EBA, bactericidal activity, sterilizing activity, toxicity, propensity to acquire resistance and cost. Feature seven to nine assess whether the regimen adheres to the principles to construct a TB treatment regimen developed by Van Deun et al. [59] which state that a regimen should contain 1) at least one core drug that has a high bactericidal and sterilizing activity, 2) at least one highly bactericidal companion drug, one moderately bactericidal companion drug, and two moderately sterilizing companion drugs (a single companion drug can satisfy multiple requirements) and 3) a combination of a core and companion drugs. Features 10 and 11 quantify either the number of interactions between drugs in the regimen synergistic (pyrazinamide and bedaquiline, pyrazinamide and clofazimine, pyrazinamide and delamanid [60, 61]) or antagonistic (moxifloxacin and rifampicin, bedaquiline and rifampicin [62, 63]). Feature 12 checks whether all four drugs have a different mechanism of action. Given the current goal to preferentially administer all-oral regimens, feature 13 indicates whether the regimen is an all-oral regimen. Because experts rejected regimens containing two or more drugs with a moderate to high QTc prolongation effect during feedback, feature 14 was added to evaluate whether the sum (with low, moderate, and high equaling 1, 2, 3 respectively) of the QTc prolongation of the drugs is greater than 3.
Binary features are directly used as input for the treatment recommender model, while the continuous features undergo two transformations. Each continuous feature is therefore represented twice in the final treatment regimen feature set. The continuous features are normalized from 0 to 1, where the regimens with the highest score and lowest score obtain a value of 1 and 0 for that feature respectively. The second transformation divides the feature range into four parts (very high, high, low, very low) and classifies each continuous feature withing these classes. Negative features, such as cost, toxicity, antagonism, and propensity to acquire resistance are inverted such that higher values always equal patient benefit. Given that the total range for features varies when regimens are excluded (due to resistance), these transformations are performed after eliminating regimens containing drugs to which resistance was detected.
Table 2 shows the 14 features (only showing the continuous features before transformation) of the 10 highest ranked regimens by the CDSS for a patient infected with a Mtb strain that is resistant to rifampicin, isoniazid, ethambutol, ethionamide, prothionamide, rifabutin, and streptomycin. The regimen ranked number 1 would be recommended, the other nine regimens ranked in the top 10 for this resistance profile are increasingly suboptimal treatment regimens and the 100th ranked regimen is an indication of a poor regimen for this resistance profile. The recommendation probability is the probability that the treatment recommender would classify this regimen as appropriate.
Acceptance of the RR-TB treatment recommender model in a clinical trial setting
Of the first 20 patients enrolled in the SMARTT trial for which the treatment recommender was used to recommend the individualized treatment regimen, all 20 (100%) patients received the regimen recommended by the treatment recommender CDSS when taking the Mtb resistance profile, clinical data of the patient and drug availability at the clinic into account. For 7 (35%) patients, the physician used the webapp to make changes to the initial recommendation had to be adjusted because of the presence of a clinical contra-indication for one of the drugs (n = 3) or because one of the drugs included in the recommended regimen was not available at the clinic (n = 4), information which was not available when the initial regimen was computed. For these seven patients the treatment recommender CDSS was rerun after the physician entered this information in the webapp, and these patients were prescribed the recomputed treatment regimen (Fig 2). For one patient, the regimen had to be recomputed at week 8 of individualized treatment due to a serious adverse effect to linezolid.
Acceptance of treatment recommender CDSS in a routine care setting
All physicians agreed to prescribe the recommended regimen for 4 of the 15 profiles, and all physicians disagreed with 2 of the 15 profiles (Table 3). The reason for most rejections were deviations from national RR-TB treatment guidelines. The most common reasons were that the South African guidelines state that bedaquiline should not be combined with moxifloxacin and that group A drugs should always be combined with group B drugs. In addition, a regimen was rejected because the physician believed that resistance to isoniazid always occurs in case of ethionamide resistance, which is not the case.
Acceptance of the treatment recommender CDSS system and its accompanying webapp
When using the modified technology acceptance model as a guide to assess the acceptance of the treatment recommender CDSS and its accompanying webapp (S2 Table), we found that the score was high (≥75%) for most domains except for the subjective norm (67%) and facilitators domain (58%) (Table 4). The facilitators domain scored low because physicians stated that their settings did not have the required infrastructure. Internet connection or access to email is not always available in more rural settings and they often use personal devices that do not have infrastructure support. The full questionnaire with answers is available in S2 Table.
Discussion
When a patient is infected with an Mtb strain that is resistant to one or more of the drugs included in the standardized treatment regimen, has a contra-indication to one of the drugs, or experiences a side effect that requires one of the drugs to be stopped either temporarily or permanently, an individualized treatment should be initiated. Using a combination of machine learning and expert knowledge, we successfully developed a CDSS that automatically composes an individualized treatment that balances effectiveness, tolerability from a patient perspective, and feasibility from a health system perspective. The CDSS facilitates decentralized care, even for those RR-TB cases which are not eligible for a standard RR-TB regimen because of drug resistance, contra-indication or toxicity to one of the drugs in the standard regimen. The interactive online tool further maximizes the utility of the CDSS as it allows physicians to enter patient characteristics (toxicity or contra-indications for certain drugs) and relevant health system characteristics (registration of certain drugs in a specific country or temporary drug stock outs at a certain facility) in real time. The system also generates a pdf document that can be printed for paper record keeping. The report can be modified such that it is user-friendly, intuitive, and useful for health care workers with different levels of knowledge of genome sequencing or experience in treating DR-TB.
The acceptability of the CDSS was assessed in the context of the SMARTT clinical trial, where we found that, among the first 20 trial participants for whom the CDSS was used, all patients started a regimen recommended by the CDSS. In most (65%) trial patients the regimen recommended solely based on the WGS-derived drug resistance profile was started. In the other third of patients, the CDSS had to be run a second time because one of the drugs included in the regimen was out of stock, presence of a clinical contra-indication or development of toxicity. In such cases, the webapp can be used to re-run the model in real time, while the patient is with the physician. When assessing the acceptability of the treatment recommender outside of the trial setting, we found that physicians were hesitant to deviate from the guidelines. Implementation of the CDSS in routine care will thus need to be accompanied by updated guidelines to reflect new knowledge, such as the ability to safely combine moxifloxacin and bedaquiline [64], and to correct misconceptions, such as the belief that ethionamide resistance is always associated with isoniazid resistance. In a future version of the CDSS, notes addressing common misconceptions could be added to the recommended treatment regimen. Training physicians on new guidelines and new knowledge could further improve the acceptance of the models’ recommendations. From a digital technology perspective, acceptance of the treatment recommender CDSS and its app was high, with physicians indicating that they believe the treatment recommender is both easy to use and useful in clinical practice. The main concern for successful implementation in clinical practice was the infrastructure and training required.
Few treatment recommender systems have been developed for infectious diseases. The most notable example being HIV-ASSIST, a decision support tool for antiretroviral treatment recommendations [65]. The development process of HIV-ASSIST closely resembles that of the RR-TB treatment recommender CDSS. In HIV-ASSIST, all combinations of possible multi-drug regimens are ranked based on a “multi-attribute utility function” that considers utility weights (features) for the drugs and drug regimens based on national guidelines and clinical expertise. While there are great similarities, our treatment recommender CDSS is fundamentally different in that we used machine learning to iteratively learn the importance of features and relationships between the features while HIV-assist is based on a manually developed a multi-attribute utility function. A second example is the Medscape Drug Interaction Checker, however its functionality is limited only to drug-drug interactions [66].
The novel RR-TB treatment recommender CDSS has several important strengths. First, the features are comprehensive as they were identified by a diverse group of stakeholders, including patients and policy makers. Second, a machine learning model was used, which is ideal to identify the different level of importance of features of individual drugs and treatment regimens as well as the complex interactions between these features. Third, the implementation of the treatment recommender CDSS was assessed in a pragmatic clinical trial setting, which closely mimics real-life clinical practice in South Africa, a high RR-TB setting. Finally, the most important strength of the treatment recommender is the system is ‘future-proof’. Updates in knowledge on the genotype-phenotype associations can easily be used as the input of the drug resistance profile for the recommender system. Updates in knowledge of drug features (for example improved estimate of the incidence of toxicity) simply requires a modification to the drug features database without a need to re-develop the model. Similarly, adding a new drug requires little effort as only its drug features need to be quantified. The feedback harvested can then be reused for the development of the new model based on the updated features or inclusion of a new drug. Re-training the entire model is only needed when a new feature is added. Furthermore, when, in future, the treatment recommender would be used on a large scale, the treatment outcome of patients receiving CDSS-guided could be used to re-train and iteratively improve the model over time.
Several limitations to the treatment recommender should also be noted. First, there is no ‘truth’ for what constitutes the optimal individualized DR-TB treatment regimen, making it difficult to assess the performance of the treatment recommender. Second, there may be patient- or pathogen-related considerations, such as extent and type of disease, that are not yet fully captured in the model. The treatment recommender should thus be viewed as a CDSS tool and not a substitute for clinical judgement. Third, while the GRADE methodology is the recommended approach for summarizing evidence when making clinical practice recommendations, the knowledge base was developed using published and unpublished data available in 2019 complemented with expert opinion when data was scarce. Updating the feature values with new knowledge could improve the accuracy of the model. Fourth, the price of the different drugs can vary between regions, countries, and over time, which may need regional adaption of the feature values. Fifth, while we develop the CDSS to be as transparent as possible, the use of a machine learning model makes it difficult for users to discern which features drive the decisions. Sixth, the treatment recommender CDSS was developed between 2019 and 2021 to individualize and shorten treatment for all patient when the 9-month 7-drug oral regimen was the RR-TB regimen of choice. In the setting of BPaL(M), a treatment recommender CDSS would likely not recommend individualized treatment for all patients with RR-TB. Instead, the CDSS would be most useful to individualize treatment when resistance or contra-indications to bedaquiline, linezolid or pretomanid occur, or to strengthen the BPaL regimen to prevent amplification of resistance due to suboptimal adherence. A second version of the treatment recommender is being developed for use in the BPaLM era. Finally, our study is limited to the South African setting, therefore prospective studies should demonstrate the effectiveness of the treatment recommender CDSS in other high burden settings.
In conclusion, the treatment recommender and its accompanying online platform present a novel strategy for real-time user-friendly support for decentralized management of treating complex RR-TB patients. Global implementation of such a treatment recommender CDSS can help realize the goal of prescribing the most effective and least toxic treatment regimen for all patients suffering from DR-TB.
Supporting information
S2 Table. Modified technology acceptance model questionnaire.
https://doi.org/10.1371/journal.pone.0306101.s002
(XLSX)
Acknowledgments
SMARTT team:
Gavin Churchyard10, Salome Charalambous10, Noriah Maraba10, Felex Ndebele10, Zandile Sibeko10, Pulane Segwaba10, S’thabiso Bohlela10, Anneke Van der Spoel Van Dijk11, Ayodeji Emmanuel Ogunbayo12, Mhlambi Nomadlozi12, Emilyn Costa Conceicao9, Felicia Wells9, Astrid Paulse9, Fanampe Boitumelo13, Tim Heupink1, Trang Tu1
For managing the clinical trial.
References
- 1. World Health Organization (WHO), Global Tuberculosis Report 2022. 2022.
- 2. World Health Organization (WHO), WHO consolidated guidelines on drug-resistant tuberculosis treatment. 2019.
- 3. World Health Organization (WHO), Rapid communication: key changes to the treatment of drug-resistant tuberculosis. 2022.
- 4. De Vos E., et al., Management of rifampicin-resistant TB: programme indicators and care cascade analysis in South Africa. Int J Tuberc Lung Dis, 2021. 25(2): p. 134–141. pmid:33656425
- 5. World Health Organization (WHO), WHO consolidated guidelines on tuberculosis: module 3: diagnosis: rapid diagnostics for tuberculosis detection, 2021 update. 2021.
- 6. Cao Y., et al., Xpert MTB/XDR: a 10-Color Reflex Assay Suitable for Point-of-Care Settings To Detect Isoniazid, Fluoroquinolone, and Second-Line-Injectable-Drug Resistance Directly from Mycobacterium tuberculosis-Positive Sputum. J Clin Microbiol, 2021. 59(3). pmid:33298611
- 7. World Health Organization (WHO), Technical guide on next-generation sequencing technologies for the detection of mutations associated with drug resistance in Mycobacterium tuberculosis complex. 2018.
- 8. Olaru I.D., et al., Turnaround time of whole genome sequencing for mycobacterial identification and drug susceptibility testing in routine practice. Clin Microbiol Infect, 2018. 24(6): p. 659 e5-659 e7. pmid:29030167
- 9. Shea J., et al., Comprehensive Whole-Genome Sequencing and Reporting of Drug Resistance Profiles on Clinical Cases of Mycobacterium tuberculosis in New York State. J Clin Microbiol, 2017. 55(6): p. 1871–1882. pmid:28381603
- 10. Public Health England, Whole genome sequencing (WGS) is now being used to identify different strains of tuberculosis (TB), announced Public Health England today. 2017.
- 11. Kwong J.C., et al., Whole genome sequencing in clinical and public health microbiology. Pathology, 2015. 47(3): p. 199–210. pmid:25730631
- 12. Koser C.U., et al., Routine use of microbial whole genome sequencing in diagnostic and public health microbiology. PLoS Pathog, 2012. 8(8): p. e1002824. pmid:22876174
- 13. Rossen J.W.A., et al., Practical issues in implementing whole-genome-sequencing in routine diagnostic microbiology. Clin Microbiol Infect, 2018. 24(4): p. 355–360. pmid:29117578
- 14. Verboven L., et al., A treatment recommender clinical decision support system for personalized medicine: method development and proof-of-concept for drug resistant tuberculosis. BMC Med Inform Decis Mak, 2022. 22(1): p. 56. pmid:35236355
- 15. World Health Organization (WHO), Guidelines for treatment of drug-susceptible tuberculosis and patient care (2017 update) Annex 6. 2017.
- 16. World Health Organization (WHO), WHO consolidated guidelines on drug-resistant tuberculosis treatment Annex 2. 2019.
- 17. The Department of Health of South Africa, Interim clinical guidance for the implementation of injectable-free regimens for rifampicin-resistant tuberculosis in adults, adolescents and children. 2018.
- 18. Stop TB Partnership, Global Drug Facility Product catalogue. 2016.
- 19. World Health Organization (WHO), Catalogue of mutations in Mycobacterium tuberculosis complex and their association with drug resistance. 2021.
- 20. Pedregosa F., et al., Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res., 2011. 12(null): p. 2825–2830.
- 21. Harris P.A., et al., The REDCap consortium: Building an international community of software platform partners. J Biomed Inform, 2019. 95: p. 103208. pmid:31078660
- 22. Van Rie A., et al., Sequencing Mycobacteria and Algorithm-determined Resistant Tuberculosis Treatment (SMARTT): a study protocol for a phase IV pragmatic randomized controlled patient management strategy trial. Trials, 2022. 23(1): p. 864. pmid:36209235
- 23. Gagnon M.P., et al., Using a modified technology acceptance model to evaluate healthcare professionals’ adoption of a new telemonitoring system. Telemed J E Health, 2012. 18(1): p. 54–9. pmid:22082108
- 24. Mustaev A., et al., Fluoroquinolone-gyrase-DNA complexes: two modes of drug binding. J Biol Chem, 2014. 289(18): p. 12300–12. pmid:24497635
- 25. Bastos M.L., Lan Z., and Menzies D., An updated systematic review and meta-analysis for treatment of multidrug-resistant tuberculosis. Eur Respir J, 2017. 49(3). pmid:28331031
- 26. Malik M., et al., Electrocardiographic QTc changes due to moxifloxacin infusion. J Clin Pharmacol, 2009. 49(6): p. 674–83. pmid:19451404
- 27. Diacon A.H. and Donald P.R., The early bactericidal activity of antituberculosis drugs. Expert Rev Anti Infect Ther, 2014. 12(2): p. 223–37. pmid:24392698
- 28. Ahmad Z., et al., Contribution of moxifloxacin or levofloxacin in second-line regimens with or without continuation of pyrazinamide in murine tuberculosis. Am J Respir Crit Care Med, 2013. 188(1): p. 97–102. pmid:23593945
- 29. Prideaux B., et al., The association between sterilizing activity and drug distribution into tuberculosis lesions. Nat Med, 2015. 21(10): p. 1223–7. pmid:26343800
- 30. Li S.Y., et al., Bactericidal and Sterilizing Activity of a Novel Regimen with Bedaquiline, Pretomanid, Moxifloxacin, and Pyrazinamide in a Murine Model of Tuberculosis. Antimicrob Agents Chemother, 2017. 61(9).
- 31. Mosaei H. and Zenkin N., Inhibition of RNA Polymerase by Rifampicin and Rifamycin-Like Molecules. EcoSal Plus, 2020. 9(1). pmid:32342856
- 32. Gonzalez-Montaner L.J., et al., Rifabutin for the treatment of newly-diagnosed pulmonary tuberculosis: a multinational, randomized, comparative study versus Rifampicin. Rifabutin Study Group. Tuber Lung Dis, 1994. 75(5): p. 341–7. pmid:7841427
- 33. Sirgel F.A., et al., The early bactericidal activity of rifabutin in patients with pulmonary tuberculosis measured by sputum viable counts: a new method of drug assessment. J Antimicrob Chemother, 1993. 32(6): p. 867–75. pmid:8144427
- 34. Mitchison D.A., The action of antituberculosis drugs in short-course chemotherapy. Tubercle, 1985. 66(3): p. 219–25. pmid:3931319
- 35. Lakshmanan M. and Xavier A.S., Bedaquiline - The first ATP synthase inhibitor against multi drug resistant tuberculosis. J Young Pharm, 2013. 5(4): p. 112–5. pmid:24563587
- 36. Rustomjee R., et al., Early bactericidal activity and pharmacokinetics of the diarylquinoline TMC207 in treatment of pulmonary tuberculosis. Antimicrob Agents Chemother, 2008. 52(8): p. 2831–5. pmid:18505852
- 37. Arbiser J.L. and Moschella S.L., Clofazimine: a review of its medical uses and mechanisms of action. J Am Acad Dermatol, 1995. 32(2 Pt 1): p. 241–7. pmid:7829710
- 38. Zweijpfenning S.M.H., et al., Clofazimine does not lead to significant QT interval prolongation: a multicentre study. Eur Respir J, 2018. 52(5).
- 39. Swanson R.V., et al., Pharmacokinetics and pharmacodynamics of clofazimine in a mouse model of tuberculosis. Antimicrob Agents Chemother, 2015. 59(6): p. 3042–51. pmid:25753644
- 40. Hashemian S.M.R., Farhadi T., and Ganjparvar M., Linezolid: a review of its properties, function, and use in critical care. Drug Des Devel Ther, 2018. 12: p. 1759–1767. pmid:29950810
- 41. Singh B., et al., Linezolid for drug-resistant pulmonary tuberculosis. Cochrane Database Syst Rev, 2019. 3(3): p. CD012836. pmid:30893466
- 42. Radmacher E., et al., Ethambutol, a cell wall inhibitor of Mycobacterium tuberculosis, elicits L-glutamate efflux of Corynebacterium glutamicum. Microbiology (Reading), 2005. 151(Pt 5): p. 1359–1368. pmid:15870446
- 43. Botha F.J., et al., Early bactericidal activity of ethambutol, pyrazinamide and the fixed combination of isoniazid, rifampicin and pyrazinamide (Rifater) in patients with pulmonary tuberculosis. S Afr Med J, 1996. 86(2): p. 155–8. pmid:8619142
- 44. Zhang Y., et al., Mode of action of pyrazinamide: disruption of Mycobacterium tuberculosis membrane transport and energetics by pyrazinoic acid. J Antimicrob Chemother, 2003. 52(5): p. 790–5. pmid:14563891
- 45. Jindani A., et al., The early bactericidal activity of drugs in patients with pulmonary tuberculosis. Am Rev Respir Dis, 1980. 121(6): p. 939–49. pmid:6774638
- 46. Quemard A., Lacave C., and Laneelle G., Isoniazid inhibition of mycolic acid synthesis by cell extracts of sensitive and resistant strains of Mycobacterium aurum. Antimicrob Agents Chemother, 1991. 35(6): p. 1035–9. pmid:1656850
- 47. Lee N.H., et al., Ethionamide Preconditioning Enhances the Proliferation and Migration of Human Wharton’s Jelly-Derived Mesenchymal Stem Cells. Int J Mol Sci, 2020. 21(19). pmid:32977637
- 48. Mainardi J.L., et al., Unexpected inhibition of peptidoglycan LD-transpeptidase from Enterococcus faecium by the beta-lactam imipenem. J Biol Chem, 2007. 282(42): p. 30414–22. pmid:17646161
- 49. Chambers H.F., et al., Imipenem for treatment of tuberculosis in mice and humans. Antimicrob Agents Chemother, 2005. 49(7): p. 2816–21. pmid:15980354
- 50. Hugonnet J.E., et al., Meropenem-clavulanate is effective against extensively drug-resistant Mycobacterium tuberculosis. Science, 2009. 323(5918): p. 1215–8. pmid:19251630
- 51. Aguirre Rivera J., et al., Real-time measurements of aminoglycoside effects on protein synthesis in live cells. Proc Natl Acad Sci U S A, 2021. 118(9). pmid:33619089
- 52. Dhillon J., et al., The activity of low-clearance liposomal amikacin in experimental murine tuberculosis. J Antimicrob Chemother, 2001. 48(6): p. 869–76. pmid:11733471
- 53. National Center for Biotechnology Information. PubChem Compound Summary for CID 6234, Cycloserine. 2022 [cited 2022 09/12/2022].
- 54. Hwang T.J., et al., Safety of cycloserine and terizidone for the treatment of drug-resistant tuberculosis: a meta-analysis. Int J Tuberc Lung Dis, 2013. 17(10): p. 1257–66. pmid:23735593
- 55. Zheng J., et al., para-Aminosalicylic acid is a prodrug targeting dihydrofolate reductase in Mycobacterium tuberculosis. J Biol Chem, 2013. 288(32): p. 23447–56. pmid:23779105
- 56. Sotgiu G., et al., Delamanid (OPC-67683) for treatment of multi-drug-resistant tuberculosis. Expert Rev Anti Infect Ther, 2015. 13(3): p. 305–15. pmid:25645397
- 57. Guglielmetti L., et al., QT prolongation and cardiac toxicity of new tuberculosis drugs in Europe: a Tuberculosis Network European Trialsgroup (TBnet) study. Eur Respir J, 2018. 52(2).
- 58. Saliu O.Y., et al., Bactericidal activity of OPC-67683 against drug-tolerant Mycobacterium tuberculosis. J Antimicrob Chemother, 2007. 60(5): p. 994–8. pmid:17761500
- 59. Van Deun A., et al., Principles for constructing a tuberculosis treatment regimen: the role and definition of core and companion drugs. Int J Tuberc Lung Dis, 2018. 22(3): p. 239–245. pmid:29471899
- 60. Ibrahim M., et al., Synergistic activity of R207910 combined with pyrazinamide against murine tuberculosis. Antimicrob Agents Chemother, 2007. 51(3): p. 1011–5. pmid:17178794
- 61. Tasneen R., et al., Contribution of Oxazolidinones to the Efficacy of Novel Regimens Containing Bedaquiline and Pretomanid in a Mouse Model of Tuberculosis. Antimicrob Agents Chemother, 2016. 60(1): p. 270–7. pmid:26503656
- 62. Naidoo A., et al., Effect of rifampicin and efavirenz on moxifloxacin concentrations when co-administered in patients with drug-susceptible TB. J Antimicrob Chemother, 2017. 72(5): p. 1441–1449. pmid:28175315
- 63. Svensson E.M., et al., Rifampicin and rifapentine significantly reduce concentrations of bedaquiline, a new anti-TB drug. J Antimicrob Chemother, 2015. 70(4): p. 1106–14. pmid:25535219
- 64. World Health Organization (WHO), WHO consolidated guidelines on tuberculosis. Module 4: treatment - drug-resistant tuberculosis treatment, 2022 update. 2022.
- 65. Maddali M.V., et al., Development and Validation of HIV-ASSIST, an Online, Educational, Clinical Decision Support Tool to Guide Patient-Centered ARV Regimen Selection. J Acquir Immune Defic Syndr, 2019. 82(2): p. 188–194. pmid:31513553
- 66. Medscape Drug Reference Database. Drug Interaction Checker. 2022; Available from: https://reference.medscape.com/drug-interactionchecker.