Skip to main content
PLOS Global Public Health logoLink to PLOS Global Public Health
. 2023 Sep 1;3(9):e0001989. doi: 10.1371/journal.pgph.0001989

Estimating the effect of a rifampicin resistant tuberculosis diagnosis by the Xpert MTB/RIF assay on two-year mortality

Elise De Vos 1,*, Daniel Westreich 2, Lesley Scott 3, Yara Voss de Lima 4, Wendy Stevens 3,5, Cindy Hayes 6, Pedro da Silva 5, Annelies Van Rie 1
Editor: Dione Benjumea-Bedoya7
PMCID: PMC10473529  PMID: 37656670

Abstract

Studies assessing patient-centred outcomes of novel rifampicin resistant tuberculosis (RR-TB) diagnostics are rare and mostly apply conventional methods which may not adequately address biases. Even though the Xpert MTB/RIF molecular assay was endorsed a decade ago for simultaneous diagnosis of tuberculosis and RR-TB, the impact of the assay on mortality among people with RR-TB has not yet been assessed. We analysed data of an observational prospective cohort study (EXIT-RIF) performed in South Africa. We applied a causal inference approach using inverse odds of sampling weights to rectify survivor bias and selection bias caused by differing screening guidelines. We also adjusted for confounding using a marginal structural model with inverse probability of treatment weights. We estimated the total effect of an RR-TB diagnosis made by the Xpert assay versus the pre-Xpert diagnostic algorithm (entailing a targeted Line Probe Assay (LPA) among TB-confirmed patients) on two-year mortality and we assessed mediation by RR-treatment initiation. Of the 749 patients diagnosed with RR-TB [247 (33%) by the pre-Xpert diagnostic algorithm and 502 (67%) by the Xpert assay], 42.7% died. Of these, 364 (48.6%) patients died in the pre-Xpert group and 200 (39.8%) in the Xpert group. People diagnosed with RR-TB by the Xpert assay had a higher odds of RR-TB treatment initiation compared to those diagnosed by the targeted LPA-based diagnostic process (OR 2.79; 95%CI 2.19–3.56). Receiving an RR-TB diagnosis by Xpert resulted in a 28% reduction in the odds of mortality within 2 years after presentation to the clinic (ORCI 0.72; 95%CI 0.53–0.99). Causal mediation analysis suggests that the higher rate of RR-TB treatment initiation in people diagnosed by the Xpert assay explains the effect of Xpert on 2-year mortality [natural indirect effect odds ratio 0.90 (95%CI 0.85–0.96). By using causal inference methods in combination with high quality observational data, we could demonstrate that the introduction of the Xpert assay caused a 28% reduction in 2-year odds of mortality of RR-TB. This finding highlights the need for advocacy for a worldwide roll-out of rapid molecular tests. Because the effect is mainly caused by increased RR-TB treatment initiation, health care systems should also ensure timely initiation of effective treatment upon an RR-TB diagnosis.

Introduction

Drug resistant tuberculosis (TB) is an important public health concern. Globally, nearly half a million cases of rifampicin-resistant TB (RR-TB) occurred in 2020 [1]. As part of the End TB strategy, the WHO advocates for intensified research and innovation through discovery, development, and rapid implementation of new diagnostic tools [2]. In the past decade, the pace of innovations in TB diagnostics has been rapid due to endorsement of cartridge-based molecular assays for the diagnosis of TB and rifampicin resistance (e.g. Xpert MTB/RIF (Xpert), Xpert MTB/RIF Ultra, TrueNat) and line probe assays (LPA) for diagnosis of resistance to isoniazid and rifampicin (GenoType MTBDRplus [3]), pyrazinamide (Genoscholar PZA-TB II LPA [4]), or fluoroquinolones and aminoglycosides (GenoType MTBDRsl, Xpert MTB/XDR [3]). A high pace of innovations is expected to continue as targeted sequencing, whole genome sequencing, and microtiter plates for phenotypic drug susceptibility testing (pDST) may be implemented in routine care in the near future [5]. Determining the effectiveness of new diagnostic tools will thus remain an important focus of TB research.

Policy makers increasingly (and rightfully) demand evidence of the effect of novel diagnostics on patient-centred outcomes. Most diagnostic studies focus on diagnostic accuracy such as sensitivity and specificity [6]. Unfortunately, increased test accuracy does not always translate into improved patient care [7]. For example, while many studies demonstrate high diagnostic accuracy of the Xpert assay [8,9] and improved time to diagnosis after its introduction [1012], there was insufficient evidence for its impact on all-cause mortality [13].

The few studies that assessed patient-centred outcomes of novel TB diagnostics have mostly applied conventional methods (such as regression analysis) to estimate the association between the introduction of a new diagnostic and mortality [1417]. Estimates from these conventional methods for observational data analysis are prone to bias due to (1) failure to take into account the selection bias that is introduced when including only RR-TB patients, as different diagnostic algorithms may yield populations of people diagnosed with RR-TB that are not comparable; (2) inadequate control for confounding; and (3) control for variables that should not be controlled for such as mediators or colliders [15,1821]. In this study, we used modern epidemiologic methods that aim to overcome these biases when using observational data to assess the effect of the implementation of the Xpert assay versus the pre-Xpert diagnostic algorithm on mortality among people diagnosed with RR-TB in South Africa.

Methods

Study design

To evaluate the effect of the roll-out of the Xpert assay in South Africa on two-year all-cause mortality among people with RR-TB, we analysed data from an observational cohort study “Evaluating the Xpert Impact on Tuberculosis-RIFampicin Resistance” (EXIT-RIF). The study took place from Jan 2012 to Dec 2013, during the phased implementation of the Xpert assay in three provinces of South Africa (Free State, Gauteng and Eastern Cape).

Study setting

In South Africa, diagnosis of drug resistant TB changed in 2011 with the use of the Xpert assay. Prior to the implementation of the Xpert assay, South Africa employed a centralised targeted LPA based RR-TB diagnosis. The initial diagnostic for people presenting with symptoms or signs of TB was sputum smear microscopy. If smear microscopy was positive, a first-line LPA assay (GenoType MTBDRplus) or pDST was requested for patients believed to be at increased risk for multidrug resistant TB (MDR-TB) given their history of TB treatment or contact with an RR-TB patient. If sputum smear microscopy was negative, a sputum culture for LPA or pDST was requested in people living with HIV [22]. Starting in 2011, the South African National Department of Health replaced centralised targeted LPA based RR-TB diagnosis with a decentralised Xpert assay as the initial diagnostic for TB [23]. Access to Xpert was rolled out during a 2–3 years phased implementation [24]. Because the Xpert assay simultaneously and accurately detects rifampicin resistance [25,26], the Xpert assay was also the initial diagnostic for RR-TB.

At the time of the study, all patients with RR-TB were initiated on a standardised treatment regimen of pyrazinamide, an aminoglycoside (amikacin or kanamycin), a fluoroquinolone, ethionamide and either cycloserine or PAS [27], as the present study predates the 2022 WHO guidelines [28]. Upon availability of DST results, guidelines recommended that treatment is individualised and contains at least 5 effective drugs.

Study population

The National Health Laboratory Service (NHLS) database was screened monthly to identify all RR-TB diagnoses made at any health facility in the three provinces. All adults (≥18 years) diagnosed with RR-TB were eligible if not on treatment at the time of sputum sample collection. Patients were enrolled at the time of their RR-TB diagnosis by Xpert or LPA irrespective of whether they subsequently returned for RR-TB treatment or not, for example due to loss to follow-up (LTFU) or death.

Data collection

Eligible patients (or next of kin) were interviewed by phone to collect clinical and socio-demographic data and to ascertain 2 year survival status. Healthcare providers were also interviewed by phone to document patient management such as treatment, additional diagnostics requested and patient follow-up by smear and cultures. All clinical information collected by phone was cross-referenced and verified through file reviews performed at all healthcare facilities where participants had received care for TB, HIV or any other condition between TB diagnosis and end of treatment, LTFU, or death. The NHLS Laboratory Information System was reviewed to collect results of TB diagnostics and HIV-related laboratory assays. The district TB register, individual patient medical files, and the national death register were reviewed to identify all deaths and to collect data on 2 year-survival status. All participants in whom no evidence of death was recorded were followed up by phone (answered by the participant or their next of kin), even if the patient had been lost to RR-TB care.

Ethics

Ethical approval 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. Approval of study activities was obtained from relevant health authorities. Participants gave verbal consent by phone (recorded). Waiver of consent was obtained for patients who had died or were LTFU from TB care prior to study enrolment and could not be contacted despite multiple attempts.

Analysis

We described the distribution of participants’ baseline characteristics and the proportion or median (and interquartile range (IQR)) values of relevant variables in the pre-Xpert and Xpert period.

We framed our study question and analysis using a "target trial" approach [2932]. The hypothetical randomized clinical trial (RCT), would randomize people who present with symptoms or signs of TB to either the pre-Xpert procedures for TB diagnosis including sputum smear microscopy and targeted LPA based RR-TB diagnosis or the intervention which consists of the Xpert assay for simultaneous diagnosis of TB and RR-TB. All trial participants diagnosed with RR-TB would be followed up for mortality in the two years after the diagnosis of RR-TB. To identify the biases that may have occurred by using observational data and to identify the covariates that should be included in the analysis to overcome these biases, we drew Directed Acyclic Graphs (DAGs). DAGs are a graphical representations of the relationships between exposure, outcome and variables associated with the exposure and outcome under investigation [20].

We performed causal inference analyses to reduce the bias introduced by the observational study design. We rectified selection bias using inverse odds of sampling weights (IOSWs) and confounding using a marginal structural model (MSM) with inverse probability of treatment weights (IPTWs). We estimated the total effect of a diagnosis of RR-TB by Xpert on 2-year mortality and performed causal mediation analysis to disentangle the causal pathway. Given zero missingness in exposure or outcome data, and limited missingness (<11%) in all covariates, we conducted a complete case analysis.

Reducing selection bias due to differential LTFU by reweighting participants in the pre-Xpert group to the Xpert group using inverse odds of sampling weights (IOSWs) for each individual

In the observational EXIT-RIF study, participants were captured at RR-TB diagnosis. This differs from the hypothetical RCT, where all patients with signs and symptoms of TB would be included and randomized to the pre-Xpert or Xpert approach to diagnose RR-TB. The simultaneous detection of both TB and RR-TB with high sensitivity (94.4%) by the Xpert assay results in diagnosis of almost all RR-TB cases among people presenting with signs and symptoms of TB [33,34]. Thus, the population diagnosed by Xpert was similar to the population in the experimental arm of the hypothetical RCT. Therefore, we assumed that participants diagnosed with RR-TB by Xpert in the observational study represented an unbiased sample of the target population. In contrast, the two-step diagnostic process for RR-TB in the pre-Xpert arm most likely resulted in a biased sample of the target population of the hypothetical RCT, for three reasons. First, patients may never have received a TB diagnosis due to the low sensitivity (67·1%) of the initial smear microscopy test [33,34]. Second, patients diagnosed with TB needed to be considered for RR-TB assessment by LPA. Third, TB-confirmed patients may subsequently have been lost to follow up or dead in the time period between the diagnosis of TB and the assessment for RR-TB by LPA. Consequently, those enrolled in the pre-Xpert study period are a biased sub-population of the population of interest. To correct for this selection bias, we implemented IOSW to reweight participants in the pre-Xpert group to the Xpert group based on variables selected by a DAG (Fig 1) [35]. In this DAG, the exposure is a TB diagnosis among patients presenting to the clinic and the outcome is an RR-TB diagnosis (Fig 1). According to the DAG, variables introducing selection bias were smear status, RR-TB contact, HIV status, TB retreatment, and the province of diagnosis.

Fig 1. Directed Acyclic Graph to guide the selection of variables included in the inverse odds of sampling weights analysis.

Fig 1

Abbreviations: E: Exposure, HIV: Human immunideficiency virus, LTFU: Loss to follow-up, O: Outcome, RR-TB: Rifampicin-resistant tuberculosis. Green circle represents the exposure, blue circles represent (ancestors of) the outcome. Red circles are ancestral variables of both the exposure and the outcome, and are in this analysis variables on which selection bias occurred in the targeted LPA based RR-TB diagnostic algorithm. Grey circles are variables not of importance in this exposure-outcome relationship. Green paths are causal pathways, red paths are biasing pathways.

To estimate the individual weights (Wi), the inverse of an individual’s conditional sampling odds was multiplied by the unconditional sampling odds. The inverse of an individual’s conditional sampling odds was defined as the inverse of the ratio of the individual’s probability of being a member of the pre-Xpert EXIT-RIF study population P(Si = 1) as opposed to the Xpert EXIT-RIF population P(Si = 0), conditional on their covariate values Zi (Figs 1 and 2). The unconditional sampling odds were defined as the ratio of the (unconditional) probability of belonging to the pre-Xpert EXIT-RIF study population to the ratio of the (unconditional) probability of belonging to the Xpert EXIT-RIF population.

Fig 2. Directed Acyclic Graph used to identify the confounding paths of the exposure (RR-TB diagnosis by Xpert versus pre-Xpert targeted LPA-based RR-TB diagnostic algorithm)—outcome (two-year mortality) relationship.

Fig 2

Abbreviations: E: Exposure, HIV: Human immunideficiency virus, LTFU: Loss to follow-up, M: Mediator, O: Outcome, RR-TB: Rifampicin-resistant tuberculosis. The green circle represents the exposure, blue circles represent (ancestors of) the outcome. Red circles are ancestral variables of both the exposure and the outcome and is a confounder in the exposure-outcome relationship. Grey circles are variables not of importance in this exposure-outcome relationship. Green paths are causal pathways, red paths are biasing pathways.

Wi={P(Si=O|Zi)P(Si=1|Zi)XP(Si=1)P(Si=0),Si=10,Si=0

Reduce confounding using a Marginal structural model (MSM) with Inverse probability of treatment weights (IPTW) to estimate the total effect of an RR-TB diagnosis by Xpert on 2-year mortality

Since the EXIT-RIF study was observational, the intervention, i.e., the use of Xpert to diagnose RR-TB was not randomized. This may have introduced confounding of the association between the diagnostic algorithm used for RR-TB diagnosis and 2-year mortality.

We therefore drew a DAG where the exposure is an RR-TB diagnosis by Xpert or pre-Xpert diagnostic algorithm and the outcome is 2-year mortality. The DAG identified that the level of HIV control was the only confounding variable and showed that it is not required to control for age, employment, BMI, or sex in the analysis (Figs 13).

Fig 3. Directed Acyclic Graph used to guide the margninal structural model (MSM) assessing the (total) effect of the exposure (RR-TB diagnosis by Xpert versus pre-Xpert targeted LPA-based RR-TB diagnostic algorithm) on the outcome (two-year mortality) relationship.

Fig 3

Abbreviations: E: Exposure, HIV: Human immunideficiency virus, LTFU: Loss to follow-up, M: Mediator, O: Outcome, RR-TB: Rifampicin-resistant tuberculosis. The green circle represents the exposure, blue circles represent (ancestors of) the outcome. White cirkle represents an adjusted variable. Grey circles are variables not of importance in this exposure-outcome relationship. Green paths are causal pathways, red paths are biasing pathways.

To reduce potential confounding introduced in the observational study, we applied inverse probability of treatment weights (IPTW). IPTW reweights each individual in the population by the inverse of the conditional probability (conditional on the confounder HIV control) of receiving the ‘treatment’ [being diagnosed with RR-TB by the pre-Xpert algorithm or by the intervention (Xpert)]. IPTW thus creates a hypothetical pseudo-population twice as large as the observed study population, where each individual appears both as exposed and unexposed. By doing so, the marginal risk of experiencing the outcome (2-year mortality) under a diagnosis (by the pre-Xpert algorithm or by Xpert) is independent of the actual method of diagnosis received in the observational study [20,3640] (Fig 3). This process is a key component of the counterfactual framework and helps to ensure that the conditional exchangeability assumption for causal inference is met [3639].

After applying both IOSWs and IPTWs, we estimated the OR of RR-TB treatment initiation in the Xpert population versus the pre-Xpert population and the total effect of having a diagnosis made by Xpert on (all-cause) 2-year mortality. Properties of the different weights can be found in the S1 Text.

Causal mediation analysis

We hypothesized that the proportion of people who initiate RR-TB treatment may be higher among people diagnosed with RR-TB by the Xpert assay and that this mediator could explain the effect of the Xpert assay on RR-TB mortality (Fig 3). To assess whether the effect of implementation of Xpert on mortality is explained by higher rates of RR-TB treatment initiation or other factors, we performed a causal mediation analysis [19].

We performed the analysis using a weighting-based approach (ratio of mediator probability weighting) to create a pseudo-population. In this hypothetical population, each individual has an outcome (2-year mortality) and mediator variable (whether RR-TB treatment was initiated or not) as was observed in the data (the individual’s true outcome and mediator), as well as a counterfactual outcome and mediator value, which would have occurred if the individual had been diagnosed with the diagnostic algorithm (pre-Xpert or Xpert) other than the one they were diagnosed with in the observational study.

Using this ‘pseudo-population’ dataset, a natural effect model was then applied using the R package Medflex, to estimate the natural indirect effect (NIE) [41], which is the effect of the mediator (RR-TB treatment initiation) when the exposure is set as an RR-TB diagnosis by Xpert (S1 Fig).

Results

The EXIT-RIF observational cohort study (Jan 2012- Dec 2013) enrolled 749 RR-TB patients of which 247 (33%) were diagnosed with RR-TB by the pre-Xpert diagnostic process and 502 (67%) by the Xpert assay. Patients were diagnosed in three South African provinces: Gauteng (n = 236, 32%), Free State (n = 192, 26%), and Eastern Cape (n = 321, 43%) (Table 1). Because of the phased implementation of the Xpert assay, the proportion of patients diagnosed with RR-TB by Xpert increased from 49.7% (n = 240) in 2012 to 98.5% (n = 262) in 2013. Almost all patients (99.1%) had pulmonary RR-TB, smear microscopy status was positive in 45, mean BMI was 20.2kg/m2 (SD 6.2). Half (52.2%) of all patients had a history of TB treatment, and 17.7% (n = 133) patients reported another predictive factor for RR-TB [close contact with an MDR-TB patient (n = 111) or working at a healthcare facility (n = 22)]. Most (78%) patients were living with HIV, of whom only one in three (33%) were on ART.

Table 1. Study population.

  All Pre-Xpert* Xpert
N = 749 N = 247 N = 502
Sex = Female (%) 367 0.48 126 51 241 48
age (mean (SD)) 38.19 11.28 37.93 10.53 38.31 11.65
BMI (mean (SD)) 20.20 6.19 20.73 5.64 19.89 6.49
Risk factors(%)          
    none reported 616 82.2 196 79.4 420 83.7
    Family/friend with MDR-TB 111 14.8 43 17.4 68 13.5
    Worked at clinic/hospital 22 2.9 8 3.2 14 2.8
Province (%)          
    Gauteng 236 31.5 81 32.8 155 30.9
    Free State 192 25.6 51 20.6 141 28.1
    Western Cape 321 42.9 115 46.6 206 41.0
Employment (%)          
    No 351 46.9 116 47 235 46.8
    Yes 117 15.6 40 16.2 77 15.3
    other 281 37.5 91 36,8 190 37,8
Substance abuse (%) 26 3.5 5 2 21 4.2
Diabetes Mellitus (%) 28 3.7 10 4 18 3.6
Mental Health Concerns (%) 31 4.1 10 4 21 4.2
HIV status (%)          
    negative 144 19.2 45 18.2 99 19.7
    positive 581 77.6 194 78.5 387 77.1
    unknown 24 3.2 8 3.2 16 3.2
CD4 (median [IQR]) 133.00 51.50, 276.50 128.00 51.00, 307.50 135.50 52.00, 272.25
Baseline log viral load (mean (SD)) 4.56 1.49 4.33 1.55 4.75 1.43
Baseline ART status (%)          
    ART interrupted 42 7.2 13 6.7 29 7.5
    ART naïve 187 32.2 62 32 125 32.3
    on ART at diagnosis 193 33.2 62 32 131 33.9
    Unknown 159 27.4 57 29.4 102 26.4
TB type (%)          
    Pulmonary TB (PTB) 689 92.0 223 90.3 466 92.8
    Extrapulmonary TB (EPTB) 7 0.9 3 1.2 4 0.8
    PTB+EPTB 53 7.1 21 8.5 32 6.4
Newly diagnosed (%)          
    Newly diagnosed 303 40.5 80 32.4 223 44.4
    Retreatment 391 52.2 148 59.9 243 48.4
    Unknown 55 7.3 19 7.7 36 7.2
Retreatment type (%)     n = 148 n = 242
    Cured 21 54.3 69 46.6 143 59.1
    Defaulted 87 22.36 43 29.1 44 18.2
    Treatment failure 18 4.6 10 6.8 8 3.3
    Other 73 18.7 26 17.6 47 19.4
Smear status (%)          
    Negative 333 44.5 96 38.9 237 47.2
    No smear info 80 10.7 17 6.9 63 12.5
    Positive 336 44.9 134 54.3 202 40.2

* targeted LPA based RR-TB diagnostic algorithm.

Compared to patients diagnosed by Xpert, more patients diagnosed in the pre-Xpert period were smear positive (47% vs 38%), had been treated for TB before (60% vs 48%) with default (29% vs 18%) or failure (7% vs 3%) during their prior treatment episode. The distribution of province and ART status also differed between the two groups. Crude 2-year mortality was 48.6% in the pre-Xpert group and 39.8% in the Xpert period.

When applying IOSW, IPTW and MSM for causal inference, we found that receiving an RR-TB diagnosis by Xpert reduced 2-year mortality (ORCI 0.72; 95%CI 0.53–0.99) (Table 2). This represents an estimated 28% reduction in 2-year mortality odds. As expected, people diagnosed with RR-TB by Xpert had a higher odds of RR-TB treatment initiation compared to those diagnosed by the targeted LPA-based RR-TB diagnostic algorithm used in the pre-Xpert period (OR 2.79; 95%CI 2.19–3.56). In the mediation analysis, the natural indirect effect odds ratio (ORNIE, the effect that runs through the mediator RR-TB treatment initiation) was 0.90 (95%CI 0.85–0.96). The estimate of the natural direct effect OR (ORNDE., the effect of a diagnosis by Xpert without any effect of Xpert on RR-TB treatment initiation) was lower (0.80) but the 95% CI crossed 1 (95%CI 0.59–1.10). These results suggest that the higher rate of treatment initiation modifies the effect of Xpert on 2year mortality, and that the effect of Xpert on 2-year mortality compared to the pre-Xpert diagnostic algorithm may be due to higher rates of RR-TB treatment initiation.

Table 2. Estimate of the total implementation of the Xpert MTB/RIF assay on 2-year mortality (crude and adjusted for biases using causal inference methods) and the indirect effect when including initiation of treatment for rifampicin resistant tuberculosis as a mediator.

Estimate OR 95% CI
Total effect estimated by causal inference methods 0.72 0.53–0.99
Natural indirect effect (NIE) 0.90 0.85–0.96

Discussion

In this study, we found that use of the Xpert assay causes an increase in odds of starting RR-TB treatment (OR 2.79 95%CI 2.19–3.56) and a reduction in the 2-year odds of death (ORCI 0.72; 95%CI 0.53–0.99) among people who presented to a health facility with symptoms of TB due to RR-TB. Moreover, the presence of a natural indirect effect (ORNIE 0.90; 95%CI 0.85–0.96) suggests that the total effect of Xpert on mortality is mostly due to an effect of the Xpert assay on RR-TB treatment initiation rather than a direct effect of the diagnostic itself. Taken together, we show that, among people with signs and symptoms of TB (due to RR-TB) presenting to a clinic, the use of the Xpert assay causes a reduction in mortality, mainly through an increase in RR-TB treatment initiation.

We could not compare our finding of an effect of Xpert on mortality to reports in other studies, as no previous observational study or clinical trial assessed the effect of the use of Xpert on treatment outcomes in people suffering from RR-TB. This is in stark contrast to the many studies that assessed the impact of using Xpert on treatment outcomes in patients presenting with symptoms of (drug susceptible or any) TB [42,43]. The significant NIE we observed indicates that the effect of Xpert acts through initiation of RR-TB treatment, and supports the findings of a retrospective study in Rwanda where a delay of ≥100 days was associated with a 2.58 higher odds of dying [21]. We found one trial assessing the impact of Xpert on time to culture conversion, not taking into account the selection bias introduced by only including RR-TB patients [15]. A major strength of our study is the application of the causal inference framework to emulate a hypothetical clinical trial using data from an observational or semi-experimental study [44,45]. This approach allowed us to estimate the ‘unbiased’ effect of the use of Xpert RR-TB on 2-year mortality in people who present with symptoms of TB due to the presence of RR-TB. To achieve this, we combined IOSWs to overcome the selection bias introduced by the observational pre-Xpert group with IPTWs to correct for the confounding bias introduced in absence of randomization [36,38,4648]. The use of causal inference methods allowed us to correctly frame the question, as highlighted by Chani et al. [49]: ‘Among people presenting to the clinic with signs and symptoms; to what extent does the use of Xpert cause a reduction in 2-year mortality among patients with RR-TB?’. While the use of causal inference methodology has already found its way in HIV research [5052], its application is novel in the field of TB and DR-TB [5356].

Another important strength of our study relates to the quality of the observational data used to emulate the hypothetical RCT. The EXIT-RIF study was a prospective cohort study aimed at determining the association between the implementation of Xpert and mortality in people diagnosed with RR-TB. The use a of centralized laboratory system to determine eligibility allowed the study to include all patients diagnosed with RR-TB in three provinces, not only those who present for RR-TB care at selected study sites which is common in many studies of RR-TB. The detailed collection of data on 2-year mortality though multiple sources resulted in complete data which allowed us to accurately assess the effect of Xpert on 2-year mortality, even for those lost to RR-TB care.

A limitation of the study is that we did not account for missing data in covariates. We do not believe that this greatly biased the results as none of the variables included in the analyses had missingness greater than 11%. Moreover, while Xpert’s sensitivity is excellent (±94.4% [33,34]), it remains below 100% and could have introduced some bias in our analysis, as we assumed that the Xpert population is an unbiased sample of the target population. Another limitation is that we treated RR-TB treatment initiation and mortality as binary variables. Because RR-TB treatment initiation was treated as a binary variable (initiated RR-TB treatment or not) rather than a continuous variable (time from diagnosis to treatment initiation), the effect is likely to be an underestimation as earlier treatment initiation is not distinguished from later initiation. Methods for causal (mediation) analyses using time-to-event data exist [57,58] but their use was beyond the scope of our analysis. Finally, the observational EXIT-RIF study took place in South Africa, a setting which is not generalizable to all high RR-TB burden settings. The 28% reduction in mortality odds is likely an underestimation of the effect that can be expected in many countries with a high RR-TB burden where LPA has not yet been implemented, as opposed to South Africa. In contrast, in settings where the prevalence of resistance to fluoroquinolones and new drugs such as Bedaquiline is higher than in South Africa, the effect on mortality of a rapid molecular test to simultaneously diagnose tuberculosis and rifampicin resistance may be lower than in the current study.

In conclusion, using causal inference methods in combination with high quality observational data, we provide a robust answer to a research question of high policy and patient relevance: ‘does the routine use of a new rapid molecular assay result in a reduction in RR-TB mortality?’. Our analysis provides confirmatory evidence that the use of Xpert reduces 2-year mortality among people presenting to the clinic with signs and symptoms of TB due to RR-TB. This highlights the need for advocacy for a continued global roll-out of rapid molecular tests to diagnose TB drug resistance. Furthermore, as mediation analysis showed the effect is mainly due to a higher probability of RR-TB treatment initiation, health care systems should ensure timely initiation of treatment regimens upon diagnosis of RR-TB.

Supporting information

S1 Fig. Graphic representation of the total effect (TE), Natural Direct Effect (NDE) and Natural Indirect Effect (NIE).

The Expected (E) value of the outcome (2-year mortality) (Y) under a certain exposure status [(1) being exposed to a Xpert diagnosis, (0) having a diagnosis made under SOC], and certain mediator value (RR-TB treatment) under a given exposure status [M(1) being the mediator value when exposed, M(0) being the mediator value when unexposed].

(DOCX)

S1 Text. Properties of the Inverse Odds of Sampling weights, Inverse probability of treatment weights.

(DOCX)

Acknowledgments

We like to thank prof. Rob Warren for his significant contribution to the EXIT-RIF study, as well as members of the international TORCH consortium. Lastly, we would like to thank Violet Molepo, the EXIT-RIF study participants and their healthcare workers for their dedication to the study.

Data Availability

De-identified clinical data is available on Mendeley data repository: De Vos, Elise; Van Rie, Annelies; Scott, Lesley; DaSilva, Pedro; Stevens, Wendy; Voss de Lima, Yara (2023), “EXITRIF-Causal inference and mediation analysis in RR-TB diagnostics”, Mendeley Data, V1, doi: 10.17632/7mg7j7j9yp.1.

Funding Statement

This work was supported by the Division of AIDS, National Institutes of Health [#R01 AI099026 to AVR] and FWO Odysseus (G0F8316N to AVR). https://www.fwo.be/en/ https://www.niaid.nih.gov/about/daids The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.World Health Organisation. Global tuberculosis report 2021. Geneva: 2021. ISBN 978-92-4-003702-1 [Google Scholar]
  • 2.World Health Organisation. Global Tuberculosis Report 2020. Geneva: 2020. [Google Scholar]
  • 3.Tomasicchio M, Theron G, Pietersen E, Streicher E, Stanley-Josephs D, van Helden P, et al. The diagnostic accuracy of the MTBDRplus and MTBDRsl assays for drug-resistant TB detection when performed on sputum and culture isolates. Scientific Reports. 2016;6(1):17850. doi: 10.1038/srep17850 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Driesen M, Kondo Y, de Jong BC, Torrea G, Asnong S, Desmaretz C, et al. Evaluation of a novel line probe assay to detect resistance to pyrazinamide, a key drug used for tuberculosis treatment. Clinical Microbiology and Infection. 2018;24(1):60–4. doi: 10.1016/j.cmi.2017.05.026 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.World Health Organisation. Tuberculosis: Key facts. Geneva: World Health Organisation; 2021. [Google Scholar]
  • 6.Siontis KC, Siontis GC, Contopoulos-Ioannidis DG, Ioannidis JP. Diagnostic tests often fail to lead to changes in patient outcomes. J Clin Epidemiol. 2014;67(6):612–21. Epub 2014/04/01. doi: 10.1016/j.jclinepi.2013.12.008 . [DOI] [PubMed] [Google Scholar]
  • 7.Sun AY, Denkinger CM, Dowdy DW. The impact of novel tests for tuberculosis depends on the diagnostic cascade. The European respiratory journal. 2014;44(5):1366–9. Epub 2014/09/05. doi: 10.1183/09031936.00111014 ; PubMed Central PMCID: PMC4254765. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Kaur R, Kachroo K, Sharma JK, Vatturi SM, Dang A. Diagnostic Accuracy of Xpert Test in Tuberculosis Detection: A Systematic Review and Meta-analysis. J Glob Infect Dis. 2016;8(1):32–40. Epub 2016/03/26. doi: 10.4103/0974-777X.176143 ; PubMed Central PMCID: PMC4785755. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Dorman SE, Schumacher SG, Alland D, Nabeta P, Armstrong DT, King B, et al. Xpert MTB/RIF Ultra for detection of Mycobacterium tuberculosis and rifampicin resistance: a prospective multicentre diagnostic accuracy study. Lancet Infect Dis. 2018;18(1):76–84. Epub 2017/12/05. doi: 10.1016/S1473-3099(17)30691-6 ; PubMed Central PMCID: PMC6168783. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Charambira K, Ade S, Harries AD, Ncube RT, Zishiri C, Sandy C, et al. Diagnosis and treatment of TB patients with rifampicin resistance detected using Xpert MTB/RIF in Zimbabwe. Public health action. 2016;6(2):122–8. Epub 2016/07/01. doi: 10.5588/pha.16.0005 ; PubMed Central PMCID: PMC4913675. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Helen RS, Peter AW, Vija R, Andra C, Ģirts Š, Vaira L, et al. Decreased Time to Treatment Initiation for Multidrug-Resistant Tuberculosis Patients after Use of Xpert MTB/RIF Test, Latvia. Emerging Infectious Disease journal. 2016;22(3):482. doi: 10.3201/eid2203.151227 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Cazabon D, Suresh A, Oghor C, Qin ZZ, Kik SV, Denkinger CM, et al. Implementation of Xpert MTB/RIF in 22 high tuberculosis burden countries: are we making progress? The European respiratory journal. 2017;50(2). Epub 2017/09/02. doi: 10.1183/13993003.00918-2017 ; PubMed Central PMCID: PMC5593353 erj.ersjournals.com. [DOI] [PubMed] [Google Scholar]
  • 13.Haraka F, Kakolwa M, Schumacher SG, Nathavitharana RR, Denkinger CM, Gagneux S, et al. Impact of the diagnostic test Xpert MTB/RIF on patient outcomes for tuberculosis . The Cochrane database of systematic reviews. 2021;5(5):Cd012972. Epub 2021/06/08. doi: 10.1002/14651858.CD012972.pub2 . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Auld AF, Fielding KL, Gupta-Wright A, Lawn SD. Xpert MTB/RIF—why the lack of morbidity and mortality impact in intervention trials? Transactions of the Royal Society of Tropical Medicine and Hygiene. 2016;110(8):432–44. Epub 2016/09/18. doi: 10.1093/trstmh/trw056 . [DOI] [PubMed] [Google Scholar]
  • 15.Kritski A, Oliveira MM, Almeida IN, Ramalho D, Andrade MKN, Carvalho M, et al. Clinical Impact of the Line Probe Assay and Xpert MTB/RIF Assay in the Presumptive Diagnosis of Drug-Resistant Tuberculosis in Brazil: A Pragmatic Clinical Trial. Rev Soc Bras Med Trop. 2022;55:e0191. Epub 20220225. doi: 10.1590/0037-8682-0191-2021 ; PubMed Central PMCID: PMC8932318. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Ochodo E, Kalema N, Schumacher S, Steingart K, Young T, Mallett S, et al. Variation in the observed effect of Xpert MTB/RIF testing for tuberculosis on mortality: A systematic review and analysis of trial design considerations [version 2; peer review: 3 approved]. Wellcome Open Research. 2020;4(173). doi: 10.12688/wellcomeopenres.15412.2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Schumacher SG, Sohn H, Qin ZZ, Gore G, Davis JL, Denkinger CM, et al. Impact of Molecular Diagnostics for Tuberculosis on Patient-Important Outcomes: A Systematic Review of Study Methodologies. PLoS One. 2016;11(3):e0151073–e. doi: 10.1371/journal.pone.0151073 . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.VanderWeele TJ, Vansteelandt S. Mediation Analysis with Multiple Mediators. Epidemiol Methods. 2014;2(1):95–115. doi: 10.1515/em-2012-0010 . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Vanderweele TJ. Explanation in Causal Inference: Methods for Mediation and Interaction. Press OU, editor. New York: Oxford University Press; 2015. [Google Scholar]
  • 20.Hernán MA, Robins JM. Causal Inference: What If: Taylor & Francis; 2020. [Google Scholar]
  • 21.Ngabonziza JS, Habimana YM, Decroo T, Migambi P, Dushime A, Mazarati JB, et al. Reduction of diagnostic and treatment delays reduces rifampicin-resistant tuberculosis mortality in Rwanda. The international journal of tuberculosis and lung disease: the official journal of the International Union against Tuberculosis and Lung Disease. 2020;24(3):329–39. Epub 2020/04/02. doi: 10.5588/ijtld.19.0298 . [DOI] [PubMed] [Google Scholar]
  • 22.Department of Health. National Tuberculosis Management Guidelines. South Africa 2009. [Google Scholar]
  • 23.Stevens W, editor GeneXpert Implementation in South Africa Public Sector. 4th WHO/GLI meeting; 2012. [Google Scholar]
  • 24.Meyer-Rath G, Schnippel K, Long L, MacLeod W, Sanne I, Stevens W, et al. The Impact and Cost of Scaling up GeneXpert MTB/RIF in South Africa. PloS one. 2012;7(5):e36966. doi: 10.1371/journal.pone.0036966 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Lawn SD, Nicol MP. Xpert MTB/RIF assay: development, evaluation and implementation of a new rapid molecular diagnostic for tuberculosis and rifampicin resistance. Future microbiology. 2011;6(9):1067–82. doi: 10.2217/fmb.11.84 . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Horne DJ, Kohli M, Zifodya JS, Schiller I, Dendukuri N, Tollefson D, et al. Xpert MTB/RIF and Xpert MTB/RIF Ultra for pulmonary tuberculosis and rifampicin resistance in adults. Cochrane Database of Systematic Reviews. 2019;(6). doi: 10.1002/14651858.CD009593.pub4 CD009593. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Department of Health. Management of Drug-Resistant tuberculosis: Policy guidelines. 2011. [Google Scholar]
  • 28.World Health Organisation. WHO consolidated guidelines on tuberculosis. Module 4: treatment—drug-resistant tuberculosis treatment, 2022 update. Geneva: 2022. [PubMed] [Google Scholar]
  • 29.Didelez V. Commentary: Should the analysis of observational data always be preceded by specifying a target experimental trial? International Journal of Epidemiology. 2016;45(6):2049–51. doi: 10.1093/ije/dyw032 [DOI] [PubMed] [Google Scholar]
  • 30.García-Albéniz X, Hsu J, Hernán MA. The value of explicitly emulating a target trial when using real world evidence: an application to colorectal cancer screening. Eur J Epidemiol. 2017;32(6):495–500. Epub 2017/07/28. doi: 10.1007/s10654-017-0287-2 ; PubMed Central PMCID: PMC5759953. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Hernán MA, Sauer BC, Hernández-Díaz S, Platt R, Shrier I. Specifying a target trial prevents immortal time bias and other self-inflicted injuries in observational analyses. J Clin Epidemiol. 2016;79:70–5. Epub 2016/05/31. doi: 10.1016/j.jclinepi.2016.04.014 ; PubMed Central PMCID: PMC5124536. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Labrecque JA, Swanson SA. Target trial emulation: teaching epidemiology and beyond. European Journal of Epidemiology. 2017;32(6):473–5. doi: 10.1007/s10654-017-0293-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Steingart KR, Sohn H, Schiller I, Kloda LA, Boehme CC, Pai M, et al. Xpert MTB/RIF assay for pulmonary tuberculosis and rifampicin resistance in adults. The Cochrane database of systematic reviews. 2013;(1):Cd009593. Epub 2013/02/27. doi: 10.1002/14651858.CD009593.pub2 ; PubMed Central PMCID: PMC4470352. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Steingart KR, Schiller I, Horne DJ, Pai M, Boehme CC, Dendukuri N. Xpert MTB/RIF assay for pulmonary tuberculosis and rifampicin resistance in adults. The Cochrane database of systematic reviews. 2014;2014(1):Cd009593. Epub 2014/01/23. doi: 10.1002/14651858.CD009593.pub3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Westreich D, Edwards JK, Lesko CR, Stuart E, Cole SR. Transportability of Trial Results Using Inverse Odds of Sampling Weights. American Journal of Epidemiology. 2017;186(8):1010–4. doi: 10.1093/aje/kwx164 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Robins JM, Hernán MÁ, Brumback B. Marginal Structural Models and Causal Inference in Epidemiology. Epidemiology. 2000;11(5). doi: 10.1097/00001648-200009000-00011 [DOI] [PubMed] [Google Scholar]
  • 37.Sato T, Matsuyama Y. Marginal structural models as a tool for standardization. Epidemiology. 2003;14(6):680–6. Epub 2003/10/22. doi: 10.1097/01.EDE.0000081989.82616.7d . [DOI] [PubMed] [Google Scholar]
  • 38.Cole SR, Hernán MA. Constructing Inverse Probability Weights for Marginal Structural Models. American Journal of Epidemiology. 2008;168(6):656–64. doi: 10.1093/aje/kwn164 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Williamson T, Ravani P. Marginal structural models in clinical research: when and how to use them? Nephrology Dialysis Transplantation. 2017;32(suppl_2):ii84–ii90. doi: 10.1093/ndt/gfw341 [DOI] [PubMed] [Google Scholar]
  • 40.Reifeis S, Hudgens M. On variance of the treatment effect in the treated using inverse probability weighting. 2020. doi: 10.1093/aje/kwac014 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Steen J, Loeys T, Moerkerke B, Vansteelandt S. medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models. Journal of Statistical Software. 2017;76(11):1–46. doi: 10.18637/jss.v076.i1136568334 [DOI] [Google Scholar]
  • 42.Di Tanna GL, Khaki AR, Theron G, McCarthy K, Cox H, Mupfumi L, et al. Effect of Xpert MTB/RIF on clinical outcomes in routine care settings: individual patient data meta-analysis. The Lancet Global Health. 2019;7(2):e191–e9. doi: 10.1016/S2214-109X(18)30458-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Schumacher SG, Denkinger CM. The impact of Xpert MTB/RIF; do we have a final answer? The Lancet Global Health. 2019;7(2):e161–e2. doi: 10.1016/S2214-109X(18)30493-5 [DOI] [PubMed] [Google Scholar]
  • 44.Choi SW, Wong GTC. Quality improvement studies—pitfalls of the before and after study design. Anaesthesia. 2018;73(11):1432–5. Epub 2018/09/28. doi: 10.1111/anae.14451 . [DOI] [PubMed] [Google Scholar]
  • 45.Sedgwick P. Before and after study designs. BMJ: British Medical Journal. 2014;349:g5074. doi: 10.1136/bmj.g5074 [DOI] [PubMed] [Google Scholar]
  • 46.Hernán MA, Hernández-Díaz S, Robins JM. A Structural Approach to Selection Bias. Epidemiology. 2004;15(5). doi: 10.1097/01.ede.0000135174.63482.43 [DOI] [PubMed] [Google Scholar]
  • 47.Hernán MA, Robins JM. Estimating causal effects from epidemiological data. J Epidemiol Community Health. 2006;60(7):578–86. doi: 10.1136/jech.2004.029496 . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Lesko CR, Buchanan AL, Westreich D, Edwards JK, Hudgens MG, Cole SR. Generalizing Study Results: A Potential Outcomes Perspective. Epidemiology. 2017;28(4):553–61. Epub 2017/03/28. doi: 10.1097/EDE.0000000000000664 ; PubMed Central PMCID: PMC5466356. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Chani K, Sekadde MP, Dlodlo RA, Graham SM. Evaluating the impact of Xpert MTB/RIF on mortality from TB: are we asking the right questions? Public health action. 2022;12(2):53–4. doi: 10.5588/pha.22.0021 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.B GP S BB, G HM, E SB. Post-randomization Biomarker Effect Modification Analysis in an HIV Vaccine Clinical Trial. Journal of Causal Inference. 2020;8(1):54–69. doi: 10.1515/jci-2019-0022 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Cole SR, Hudgens MG, Tien PC, Anastos K, Kingsley L, Chmiel JS, et al. Marginal structural models for case-cohort study designs to estimate the association of antiretroviral therapy initiation with incident AIDS or death. Am J Epidemiol. 2012;175(5):381–90. Epub 2012/02/04. doi: 10.1093/aje/kwr346 ; PubMed Central PMCID: PMC3282878. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Shepherd BE, Gilbert PB, Jemiai Y, Rotnitzky A. Sensitivity analyses comparing outcomes only existing in a subset selected post-randomization, conditional on covariates, with application to HIV vaccine trials. Biometrics. 2006;62(2):332–42. Epub 2006/08/22. doi: 10.1111/j.1541-0420.2005.00495.x . [DOI] [PubMed] [Google Scholar]
  • 53.Franke MF, Rodriguez CA, Mitnick CD. Causal inference in tuberculosis treatment studies: bias considerations and data needs. The International Journal of Tuberculosis and Lung Disease. 2019;23(8):960–1. doi: 10.5588/ijtld.19.0037 [DOI] [PubMed] [Google Scholar]
  • 54.Marks G. Causal inference studies: improving the quality of evidence. The International Journal of Tuberculosis and Lung Disease. 2018;22(12):1389–. doi: 10.5588/ijtld.18.0711 [DOI] [PubMed] [Google Scholar]
  • 55.Rodriguez CA, Mitnick CD, Franke MF. Value of observational data for multidrug-resistant tuberculosis. The Lancet Infectious Diseases. 2019;19(9):930–1. doi: 10.1016/S1473-3099(19)30424-4 [DOI] [PubMed] [Google Scholar]
  • 56.Siddique AA, Schnitzer ME, Bahamyirou A, Wang G, Holtz TH, Migliori GB, et al. Causal inference with multiple concurrent medications: A comparison of methods and an application in multidrug-resistant tuberculosis. Stat Methods Med Res. 2019;28(12):3534–49. Epub 2018/11/02. doi: 10.1177/0962280218808817 ; PubMed Central PMCID: PMC6511477. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Vanderweele TJ, Vansteelandt S, Robins JM. Effect decomposition in the presence of an exposure-induced mediator-outcome confounder. Epidemiology. 2014;25(2):300–6. Epub 2014/02/04. doi: 10.1097/EDE.0000000000000034 ; PubMed Central PMCID: PMC4214081. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Vo T-T, Davies-Kershaw H, Hackett R, Vansteelandt S. Longitudinal mediation analysis of time-to-event endpoints in the presence of competing risks2020 July 01, 2020:[arXiv:2007.03288 p.]. Available from: https://ui.adsabs.harvard.edu/abs/2020arXiv200703288V. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

S1 Fig. Graphic representation of the total effect (TE), Natural Direct Effect (NDE) and Natural Indirect Effect (NIE).

The Expected (E) value of the outcome (2-year mortality) (Y) under a certain exposure status [(1) being exposed to a Xpert diagnosis, (0) having a diagnosis made under SOC], and certain mediator value (RR-TB treatment) under a given exposure status [M(1) being the mediator value when exposed, M(0) being the mediator value when unexposed].

(DOCX)

S1 Text. Properties of the Inverse Odds of Sampling weights, Inverse probability of treatment weights.

(DOCX)

Data Availability Statement

De-identified clinical data is available on Mendeley data repository: De Vos, Elise; Van Rie, Annelies; Scott, Lesley; DaSilva, Pedro; Stevens, Wendy; Voss de Lima, Yara (2023), “EXITRIF-Causal inference and mediation analysis in RR-TB diagnostics”, Mendeley Data, V1, doi: 10.17632/7mg7j7j9yp.1.


Articles from PLOS Global Public Health are provided here courtesy of PLOS

RESOURCES