1. Introduction
The global attempts to control tuberculosis (TB) notwithstanding, TB is positioned as the top contributor to mortality from a single infectious agent and a grave public health dilemma. The WHO reported that an estimated 10.6 million people contracted TB in 2022, with 1.3 million patient fatalities [
1,
2,
3]. Tuberculosis (TB) is an infectious disease caused by
Mycobacterium tuberculosis [
4,
5]. Drug-resistant TB (DR-TB) occurs when these bacteria become resistant to the drugs used to treat TB and can no longer destroy the TB germ [
5]. Among cases of DR-TB in 2019, people who were categorized as TB monoresistant, which is resistance displayed to isoniazid, termed INH-R, were over a million in number, while patients who demonstrated resistance to rifampicin, RR, were about half a million with multidrug-resistant TB (MDR-TB) accounting for 78% of this estimate. [
2,
6,
7]. DR-TB is associated with diagnostic and therapy intricacies, longer therapy regimens, morbidity, and fatality, which makes it challenging to deal with. The WHO report in 2022 indicated that only about 40% of patients with DR-TB accessed treatment [
3]. MDR-TB happens when resistance to two main antituberculosis medications, isoniazid and rifampicin, is displayed and associated with prolonged hospitalization and increased mortality [
1,
8,
9]. Globally, RR-TB and MDR-TB represent 3.3% and 18% of incident cases and previously treated cases, respectively; hence, the emergence of MDR-TB seriously threatens the END TB strategy of the WHO to reduce TB deaths by 2030 [
7].
TB control has recorded good progress in recent times. However, the emergence of MDR-TB in many regions has made the gains almost inconsequential, with a global treatment success rate (TSR) pegged at 59% [
10]. This public health crisis is aggravated by co-infections, comorbidities, and an increase in the pool of latent infection [
11]. In 2021, global deaths from TB recorded 1.6 million people, out of which 11% were HIV-coinfections. In the USA, 7,882 cases were reported, and an estimated 13 million people live with latent tuberculosis infections [
4]. Sub-Saharan Africa harbors the highest burden of coinfection, with 71% of global cases [
12]. while in South Africa, approximately 180,000 incident TB cases are people with HIV-coinfection [
13]. Despite the scale-up of antiretroviral therapy (ART), TB remains the main cause of HIV-related morbidity and mortality worldwide [
3]. The correlation between TB and HIV infection fast-tracks the advancement of disease in people living with HIV(PLHIV) thereby contributing to the failure of TB-control programs to reach successful treatment targets, particularly in high-burden countries. Furthermore, TB and HIV coinfection facilitates the acquisition of MDR and extensively drug-resistant TB (XDR-TB) strains. There is a higher risk (19-fold) of developing active TB in PLHIV, especially with a CD4 count lower than 200/cm3, as compared with people who are HIV-negative [
12]. Despite the introduction of new ART and anti-TB drugs, the dual management of TB and HIV coinfection represents an intricate clinical conundrum requiring a logical approach to curtail treatment failure and minimize morbidity and fatality [
14]. Safety concerns of co-administration in therapy include drug-drug interactions, resulting in subtherapeutic concentrations of ART and anti-TB drugs resulting in impaired efficacy, development of overlapping toxicities, and immune reconstitution inflammatory syndrome (IRIS) [
14].
Several targets [
15] to limit the co-epidemics of TB and HIV and the emergence of MDR-TB were set in the 2011-2015 Global Plan to End TB [
16]. These targets include 100% of TB patients knowing their HIV status, 100% of HIV/TB coinfected patients should receive antiretroviral therapy and newly enrolled patients in HIV care programs with latent TB infection should receive isoniazid as a form of preventive TB therapy [
15]. The target to detect and treat all MDR-TB cases with 2nd-line TB medications was set in 2015, with a 75% treatment success rate. None of these targets have been attained in SSA [
17]. The 2030 End TB strategy now seeks to end the global TB epidemic, with targets of a TB mortality reduced by 95% and TB incidence reduced by 90% compared to 2015 [
15].
Computerised predictive model is a statistical technique using machine learning (ML) and data mining to predict and forecast possible future outcomes with the help of an existing dataset. Liu et al. [
18] defined ML methods as the method of generating predictive models based on patterns of learning features from data to predict new data or outcomes through the constructed model. These methods are subdivided into three types, supervised learning, unsupervised learning, and reinforcement learning [
19,
20]. Supervised learning uses categorized data as a training dataset in its algorithm, where the outcome of interest is defined [
19]. The decision tree algorithm uses supervised learning to predict and classify data [
21]. The trees are diagram-like resembling flowcharts, with a root node for data inquiry [
22]. ML has been found useful in the medical field for clinicians in practice and occasionally performs better than human expertise [
23]. In the clinical space, ML has also been used to analyze biological datasets for cancer and HIV/AIDS research including drug discoveries [
24]. ML systems have been developed in several fields of medicine, including radiology, for interpreting chest X-ray scans or magnetic resonance imaging for diagnostic purposes [
25,
26]. A first-of-its-kind independent approval was issued by the FDA in 2018 to IDx, an ML system, to detect diabetic retinopathy [
27]. In infectious diseases, research, drug development, or clinical microbiology remains the focus of most ML systems. These include HIV genotyping and susceptibility prediction to antiretroviral (ARV) drugs [
28]; the analysis of bacterial genomes and improvement of resistance prediction [
29,
30]; discovery of vaccines and antibacterial drugs [
31,
32]; and epidemic patterns for surveillance purposes [
33,
34]. Évora et al. [
35] used ML methods for the identification of MDR-TB patients in the Brazilian city, Rio de Janeiro. Most common predictive models include decision trees, regressions (linear and logistic), and neural networks. Machine learning techniques such as artificial neural networks, random forests, and support vector machines have employed clinical and genotypic data to provide useful predictions about patient outcomes [
23,
36]. Such methods have proven viable in selecting new regimens [
23,
37]. Moreover, including clinical data in training a prediction model enhances its accuracy [
23]. However, limited research is available on the efficacy of machine learning techniques for predicting treatment outcomes in our setting.
Given these interrelated disease conditions, analyzing treatment efficacy for patients burdened with DR-TB and HIV requires an integrated approach. It involves evaluating how each condition affects the others and determining the most effective strategies for integrated care. This study aims to analyze treatment efficacy (treatment outcomes and treatment success rate) in patients burdened with DR-TB/HIV coinfection and factors associated with successful treatment outcomes among patients in the OR Tambo and to use a machine-learning algorithm to predict and determine the risk factors associated with DR-TB disease.
3. Results
3.1. Socio-Demographic and Clinical Characteristics of Study Participants
A total of 456 participants with records of DR-TB patients were assessed. The study had more male patients (n = 256, 56.1%) than female patients (n = 200, 43.9%). The study participants’ age distribution ranged from 1–86 years, with a mean age of 37.5 (SD ± 14.9) years. The median age (50th percentile) and 75th percentile was 36 and 47 years, respectively. The proportion of patients aged 19–35 was 41.6%, followed by those aged 36–50 with 31.9%. HIV/TB coinfection was observed in 281 (61.6%) patients. Those above the age of 66 comprised 4.7%, whereas 51–65 constituted 14.6%.
Table 1 presents the sociodemographic and clinical characteristics of the patients.
Table 2 shows the type of DR-TB patients from 2018 to 2020 categorised by age. Most of the DR-TB cases were categorised as RR-TB with 45.0% prevalence, while the proportion of MDR-TB was 42.5%. pre-XDR and XDR-TB only accounted for 8.7%. The 19-35 age group had the highest concentration of RR-TB cases at 41.5%, followed by the age group 36-50 with 32.7% prevalence. A similar pattern was observed with the MDR-TB cases, with the 19-35 age group accounting for 43.3% followed by the age group 36-50 with 32% prevalence.
Figure 1 is a graphical illustration of the categorisation of DR-TB by HIV status. The results of the Chi-square tests for each DR-TB type reveal that for each DR-TB type, the differences in distribution between HIV-positive and HIV-negative patients are not statistically significant. This suggests that while there are more cases of certain DR-TB types in HIV-positive patients, the differences observed in the dataset may be due to random variation rather than a systematic association between HIV status and DR-TB type.
3.2. Treatment Outcomes of DR-TB
The final DR-TB treatment outcome results recorded for the patients cured (n = 153, 33.77%), treatment completed (n = 126, 29.17%), and those identified as lost to follow-up (n = 43, 9.43%); those who died (n = 50, 11%), those who moved out (n = 1, 0.2%), transferred out (n = 37, 8.55%) and those who experienced treatment failure (n = 7, 1.54%) and those who were still on treatment (n=29, 6.36%) (
Figure 2).
3.3. Treatment Outcomes of DR-TB Comparing COVID-19 Pre-Pandemic (2018-2019) and Pandemic (2020-2021) Periods
There was a significant decrease in patients cured during the Covid-19 pandemic (42 cases) compared to the pre-pandemic period (111 cases). Similarly, the number of completed treatments dropped from 95 cases pre-pandemic to 31 during the pandemic. The number of patients lost to follow-up (LTFU) also decreased significantly during the pandemic, possibly due to fewer patients starting treatment or challenges in tracking patients. The number of deaths remained relatively stable, slightly decreasing during the pandemic.
Figure 3 below presents a graphical illustration comparing treatment outcomes between the pre-pandemic and pandemic periods. It highlighted the significant differences in the number of cases for each outcome, with the pandemic period showing a notable decrease in cured cases and completed treatments.
3.4. The Trend of Treatment Outcomes over Time
Cured and Treatment Completed: The highest number of cases where treatment was completed, or patients were cured occurred in 2019. However, there was a noticeable drop in 2020 and almost no cases in 2021, which correlates with the overall decrease in treatment starts.
Lost to Follow-Up (LTFU): The number of patients lost to follow-up remained relatively stable in 2018 and 2019, with a slight drop in 2020 and no cases in 2021.
Died: The number of deaths remained consistent across the years, peaking in 2020. This could suggest worsening cases or other external factors impacting patient outcomes.
Transferred Out: There was a decrease in patients transferred out in 2019, followed by a slight increase in 2020 and 2021.
Still on Treatment: Patients still on treatment increased significantly in 2020 and 2021, indicating that treatments might have been prolonged, or delays were experienced in completing treatments. (
Figure 4).
3.4. Association between DR-TB and Treatment Outcomes
The association between DR-TB type and treatment outcomes is statistically significant (p-value = 0.028). (
Figure 5). The results indicate a significant association between the type of DR-TB and the treatment outcome. Different types of drug resistance in TB are associated with different treatment outcomes, and these variations are statistically significant.
The proportion of cases for each treatment outcome within each DR-TB type is displayed in
Figure 6. The percentages within each bar segment represent the relative frequency of each outcome, providing a clear comparison of how treatment outcomes differ by DR-TB type.
Figure 7 shows the proportion of treatment outcomes by HIV status. The association using the chi-square test indicates a p-value of 0.051. The p-value is slightly above the common significance threshold of 0.05 suggesting that the association between HIV status and treatment outcome is marginally not statistically significant, though very close to the threshold. In other words, there may be some association, but the evidence is not strong enough to confidently reject the null hypothesis. While there appears to be some relationship between HIV status and treatment outcomes, the evidence is not strong enough to conclude a statistically significant association at the 0.05 level. However, given that the p-value is close to 0.05, this result could still be considered noteworthy, and further investigation with a larger sample size might be warranted.
From the above
Figure 7, a higher mortality was recorded with HIV-positive patients. The higher proportion of deaths among HIV-positive patients highlights the increased vulnerability of this group during TB treatment. The higher rate of “Lost to Follow-Up” among HIV-positive patients suggests potential difficulties in maintaining treatment adherence or access.
Overall Treatment Success: Although the proportions of “Cured” and “Treatment Completed” are substantial in both groups, HIV-negative patients generally fared slightly better, with higher success rates and lower mortality.
3.5. Impact of HIV Coinfection on Treatment Outcomes
A higher percentage of HIV-negative patients (37.95%) were cured compared to HIV-positive patients (32.16%). The death rate is significantly higher among HIV-positive patients (14.49%) compared to HIV-negative patients (5.42%); with the treatment completed category, the percentage of patients who completed treatment is slightly higher among HIV-negative patients (29.52%) than among HIV-positive patients (27.21%). (
Figure 8). This analysis suggests that HIV-positive patients are more likely to experience adverse outcomes, such as death, compared to HIV-negative patients.
3.6. Factors Influencing Treatment Outcomes
Using the regression analysis, multiple factors simultaneously influence treatment outcomes including HIV Status, gender, and education. The coefficient for HIV status is 0.41810, indicating that being HIV-positive is associated with a slight increase in the treatment outcome score, which suggests worse outcomes (since higher scores correspond to worse outcomes like “Died” or “Treatment Failed”). The p-value for HIV status is 0.0600, which is close to the 0.05 threshold, indicating a marginally significant impact on treatment outcomes. The coefficient for age is negative but very close to zero (−0.0071), suggesting that age has a negligible impact on treatment outcomes in this model. The p-value is 0.3420, indicating that age is not a significant predictor of treatment outcomes in this dataset. With gender, the coefficient for being male is 0.36410, suggesting that male patients might have slightly worse outcomes than female patients, but this is not statistically significant (p=0.092). The p-values for primary and tertiary education are 0.0340 and 0.0050, respectively, showing significant predictors of treatment outcomes. This analysis shows that HIV status, gender, and education level, particularly tertiary education, influence treatment outcomes, with education being a more significant factor.
3.7. Predictors of DR-TB Successful Treatment Outcome Using a Decision Tree Classifier (Supervised Machine Learning Algorithm)
The decision tree model that predicts successful treatment outcomes based on the factors analyzed is shown below (
Figure 9). The tree shows how factors such as age, income, gender, and comorbidities influence the likelihood of a successful outcome. Each node in the tree represents a decision point based on one of these factors, and the branches show how the data is split based on the values of these factors. The leaf nodes at the bottom represent the final prediction, with the color indicating the likelihood of success or failure.
The model achieved an accuracy of approximately 69%, meaning that it correctly predicted the treatment outcome for about 69% of the cases. The model performs well in predicting successful outcomes but is less effective at predicting unsuccessful ones, as indicated by the lower recall for the unsuccessful class. The model performs well when predicting successful treatment outcomes, as shown by the high recall (92%) and a balanced F1-score (78%). The model performs poorly in predicting unsuccessful outcomes, as indicated by the low recall (31%) and low F1-score (43%). This means that the model misses many actual unsuccessful outcomes. This discrepancy in performance could be due to class imbalance—if the dataset has many more successful cases than unsuccessful ones, the model will naturally perform better on the more frequent class (successful outcomes). It may also suggest that the features used in the model (e.g., age, income, comorbidities) are more predictive of success but less predictive of failure.
Age is the primary factor determining successful treatment, with younger patients (≤ 24.5) being more scrutinized based on their occupation and comorbidities. Income plays a significant role in older patients (> 24.5), where those with income generally have better outcomes. Comorbidities are a consistent factor influencing outcomes across different age and income groups. Gender and Specific Comorbidities further refine the predictions, highlighting more granular relationships between these factors and treatment outcomes.
The top predictors of treatment failure according to the decision tree include young age, certain occupations (such as students or prisoners), presence of comorbidities, low income, and age extremes. These factors are strongly associated with a higher likelihood of unsuccessful treatment outcomes, suggesting that patients with these characteristics might require additional support and targeted interventions to improve their chances of success.
In conclusion, the decision tree model performs very well in predicting successful DR-TB treatment outcomes but struggles with unsuccessful outcomes due to low recall and low F1-score. Improvements can be made through techniques like balancing the dataset or adjusting class weights to improve the model’s performance for the unsuccessful class.
4. Discussion
Studies have indicated poor outcomes and terrifying high mortality rates among PLHIV co-infected with DR-TB. HIV is also responsible for all forms of MDR and XDR-TB epidemics or outbreaks. TB in PLHIV is mostly smear-negative, and late diagnosis caused by scarcity of rapid diagnostic tests and appropriate treatment has resulted in high mortality in PLHIV. These twin epidemics of DR-TB and HIV have made Sub-Saharan Africa (SSA) and Eastern European regions hotbed of fatal human syndemics [
12,
17,
39,
40] apart from different levels of exposure in various regions of the world over the last decade, resulting in poor treatment outcomes and high fatality. The difference between the epidemic of HIV infection in the European region and SSA is that while it is concentrated within high-risk groups in the European region, the general population of the SSA has borne the brunt [
12].
This study showed a predominance of both RR-TB and MDR-TB in patients who are unemployed and within the economically active age with a 45.0% prevalence, while the proportion of MDR-TB was 42.5%. The 19-35 age group had the highest concentration of RR-TB cases at 41.5%, followed by the age group 36-50 with 32.7% prevalence. The age distribution revealed that the incidence of DR-TB was highest among patients aged 19-35 years, followed by the 36-50 group. This suggests the disease is prevalent in the more economically productive age group. The higher incidence of resistance in younger patients might be attributed to their reluctance to adhere to prescribed medication regimens. A similar pattern was reported by Seloma et al. [
41], with most of the DR-TB patients falling within the economically productive age range of 20-39 years, comprising 48.1% of cases. This trend suggests that DR-TB is particularly prevalent among individuals vital to the workforce and economic productivity. The prevalence of DR-TB among economically active age groups directly impacts workforce productivity, leading to reduced economic output [
5]; and increased healthcare costs due to the need for more complex treatment regimens, prolonged hospital stays, and additional healthcare interventions. This financial burden can strain public health systems, particularly in low-resource settings.
The study had 56.1% male participants with DR-TB than 43.9% of female patients. The finding is consistent with the findings from other studies, which report that more men than women are infected with TB or DR-TB [
41,
42]. This is further reinforced by the WHO 2020 Global Report, which proved that adult men bear the greatest burden of TB, accounting for 56% of all cases, while women and children were 33% and 11% respectively [
6].
About three-quarters (76.3%) of the cases of DR-TB in this study were unemployed and had no form of income. Similar findings were found in studies conducted in SSA, including other provinces in South Africa. Several studies in South Africa and SSA have found high rates of unemployment among patients with DR-TB. In a study in the Eastern Cape and Western Cape provinces of South Africa, most patients with MDR-TB were either unemployed or had jobs paying close to minimum wage before their illness [
43]. In another retrospective study in Limpopo province, South Africa, the authors attributed their results partially to the high unemployment rate in the predominantly rural province [
41]. Such findings underpin the close association between TB and poverty since people with no or low income tend to be vulnerable due to their exposure to different social and health conditions (2). A review of the socio-economic drivers of DR-TB in Africa identified unemployment as a common risk factor for DR-TB and poor treatment outcomes. Poverty and unemployment create barriers to accessing care and adhering to treatment [
44].
The prevalence of DR-TB among unemployed individuals in South Africa is notably high, and studies indicate similar trends in other regions with varying prevalence rates. In Poland, a study observed that over 60% of patients with DR-TB were unemployed. The study emphasized that unemployment is a significant risk factor for poorer treatment outcomes and increased mortality among TB patients [
45]. In Thailand, a study reported that unemployed individuals represented a significant percentage of TB cases, indicating that unemployment is a common risk factor for TB across different regions [
46].
Several outcomes of DR-TB therapy, including cured, treatment completed, successful outcomes, treatment failure, LTFU, and death, are important to evaluate the effectiveness of such therapy [
5,
47]. Among the 456 patients with DR-TB reviewed during the study period, 33.77% had been declared cured, 29.17% had completed treatment, 9.43% were LTFU and 10.96% had died. The findings of our study report a successful treatment outcome rate of 61.4%, which is below the targets set by the National Strategic Plan and the World Health Organization (WHO). This result agrees with the previous studies conducted in another rural town of Eastern Cape with 62% and 65.8% rates [
48,
49], Limpopo, 57.9% [
41], Ghana, 68.46% [
50], and North-Central Nigeria, 67.4% [
51]. The successful treatment outcome rate is higher than that reported in Abuja, Nigeria, which is 48.8% [
52] but lower compared to 88.4% in Northwest Ethiopia [
47], 80.7% in North-eastern Ethiopia [
53], and 78.6% in Cameroon [
54]. The disparity in treatment outcomes among these regions could be attributed to differences in number of study participants, sociodemographic characteristics, cultural practices, and socioeconomic status. These results underscore the significance of continued support and interventions for patients undergoing DR-TB treatment, especially for those at risk of losing follow-up or experiencing treatment failure. Addressing socio-economic barriers, improving patient education, and ensuring regular access to health care are crucial for improving treatment outcomes in this vulnerable population.
Although our study had a similar successful treatment rate to that conducted in Limpopo Province, the mortality rate and proportions of patients LTFU were 16.1% and 20.6% [
41], respectively. In comparison, our study recorded lower figures of 10.96% and 9.43% respectively, among the DR-TB participants. Various reasons highlighted to be associated with LTFU of DR-TB patients include untraceable residential address, inability to be located or contacted, death after diagnosis, side effects of medications, lack of knowledge of disease severity, alcoholism, social stigma, difficulty in transportation, long distance to health facility, religious beliefs, negative predisposition towards treatment, poverty and lack of family and social support [
55,
56,
57].
The COVID-19 pandemic had a devastating impact on the treatment outcomes of DR-TB in various regions of Africa, including South Africa. In Gabon, the number of newly detected TB cases fell by 80% in 2020 compared to the previous year. Botswana reported a 20% decline, and Lesotho reported a 35% decrease. Across Africa, 28% fewer patients with DR-TB were detected in 2020 compared to 2019. In South Africa, which has the largest number of DR-TB cases in the continent, 48% fewer people with drug-resistant TB were detected in 2020 compared to 2019. Globally, deaths from TB rose for the first time in a decade. In 2020, Africa reported 549, 000 deaths, an increase of around 2000 over 2019. The disruptions of health services by the COVID-19 pandemic also led to a reduction in the number of newly detected TB cases in high-burden African countries (58). According to the surveillance data analysis by Abdul et al. [
59] in Gabon, the COVID-19 pandemic substantially disrupted the case-finding approach dynamics in RR-TB. Consequently, it reduced the number of patients screened between 2020 and 2021.
In our study, DR-TB-HIV co-infected patients have a higher risk of having an unsuccessful treatment outcome compared to non-co-infected patients. The mortality rate is significantly higher among DR-TB/HIV coinfected patients (14.49%) as compared to HIV-negative patients (5.42%). In the treatment completed category, the percentage of patients who completed treatment is slightly higher among HIV-negative patients (29.52%) than among HIV-positive patients (27.21%). This suggests that HIV-positive patients are more likely to experience adverse outcomes, such as death, compared to HIV-negative patients, although regression analysis indicated a marginally significant impact on treatment outcomes. A similar trend was seen in another South African study [
60], with an association between HIV infection and TB mortality evident in their findings. TB/HIV co-infected patients had a 2.7 times higher risk of unsuccessful treatment outcomes, including death, compared to HIV-negative TB patients, according to the findings of a study conducted in Southern Ethiopia. The death rate was 5.6% in co-infected patients compared to 2% in HIV-negative patients [
61] A study in Kenya reported that although the proportion of TB/HIV coinfections declined from 32% in 2012 to 24% in 2020, the patients still had lower treatment completion compared to HIV-negative TB patients [
62]. There is a synergistic relationship between TB and HIV. TB infection aggravates HIV-associated immunodeficiency, while HIV infection modifies the pathogenesis of TB [
62]. HIV-associated immunosuppression increases the risk of death during TB treatment. These findings consistently show that HIV co-infection is associated with higher mortality and lower treatment completion rates among TB patients. Hence, TB/HIV coinfected patients may require longer than standard therapy to avoid relapses or treatment failure.
This study applied a decision tree classifier as a supervised machine learning method to determine predicted treatment outcomes and risk factors associated with DR-TB with HIV coinfections. The model performs well when predicting successful treatment outcomes, as shown by the high recall (92%) and a balanced F1-score (78%). (ranging between 67.5% and 73.4%). The model performs poorly in predicting unsuccessful outcomes, as indicated by the low recall (31%) and low F1-score (43%). This means that the model missed many actual unsuccessful outcomes. The study of Balogun et al. [
63] applied five machine learning methods, including a decision tree (DT), to determine predicted treatment outcomes and risk factors associated with TB patients. The overall classification showed that all the classification methods performed well in classifying the TB treatment outcome (ranging between 67.5% and 73.4%). Elhag [
22] reported that the DT model was more accurate than the artificial neural network (ANN) when used to predict and classify tuberculosis cases in the United States of America using tuberculosis case data. Kalhori et al. [
64] explored the use of machine learning to predict the outcome of a course of TB treatment. Using a data set of 6450 TB incidence from Iran in 2005, a comparison of six classifiers, including DT, Bayesian networks, logistic regression (LR), multi-layer perceptron (MLP), Radial Basis Function, and support vector machine (SVM), was made. The DT model presented the best performance with 97% of Area Under the Curve (AUC) Receiver Operating Characteristics (ROC). Using DT in our study, age was the primary factor determining successful treatment, with younger patients (≤ 24.5) being more scrutinized based on their occupation and comorbidities, with income playing a significant role in older patients (> 24.5). In contrast, those with income generally have better outcomes. Comorbidities are a consistent factor influencing outcomes across different age and income groups. Gender and specific comorbidities further refine the predictions, highlighting more granular relationships between these factors and treatment outcomes. Balogun et al. [
63], on the other hand, identified age and length of stay as significant risk factors, while gender was not a significant risk factor for TB patients.