Globally, Tuberculosis (TB) remains one of the top ten causes of mortality. Furthermore, the incidence and prevalence of the disease spectrum remain high in low- and some middle-income countries. Due to the associated high morbidity and mortality, the World Health Organization (WHO) declared it a public health emergency. Furthermore, pulmonary cavitation, classified epidemiologically and clinically as the hallmark of TB, has been associated with increased bacillary burden, high infection transmission, and development of drug resistance. This complication has contributed to the persistence of TB worldwide and is further implicated in the high severity of the disease.
This study aimed to understand the sociodemographic and clinical risk factors associated with pulmonary cavitation among individuals with TB.
A retrospective analysis of a public health database with 958 eligible individuals was conducted. In addition to the primary analysis, machine learning was engaged in the development of predictive models. Receiver operating characteristics (ROC), sensitivity, specificity, accuracy, and Cohen's kappa were used as metrics to evaluate the best-performing models.
The results of the primary analysis revealed that the crude odds ratio (OR) for the effect of TB multidrug resistance on pulmonary cavitation was 3.10 (95% CI: 2.38-4.05, p-value < 0.001). The non-adjusted OR for the role of rifampin, isoniazid, and ethambutol resistance, as 'mono-drug resistance', on formation of pulmonary cavity are 4.26 (95% CI: 2.90-6.42 p-value < 0.001), 4.50 (95% CI: 3.07-6.76 p-value < 0.001), and 3.90 (95% CI: 2.55-6.18 p-value < 0.001), respectively. Other identified risk factors for emergence of pulmonary cavitation among individuals with TB include being a male (OR: 1.43, 95% CI: 1.04-1.96, p-value = 0.029), history of treatment failure (OR: 3.27, 95% CI: 2.50-4.30, p-value < 0.001), being disabled (OR: 5.36, 95% CI: 2.93-10.2, p-value < 0.001), unemployed (OR: 2.00, 95% CI: 1.39-2.90, p-value < 0.001), and homeless (OR: 2.01, 95% CI: 1.18-3.56, p-value = 0.010).
Pulmonary cavitation remains a significant driver for TB transmission within hospitals and in the community setting. Therefore, public health and clinical interventions that address risk factors associated with the incidence of pulmonary cavity offer a significant benefit in reducing the spread of TB, and subsequently, decreasing the associated morbidity and mortality.
Tuberculosis, Pulmonary cavitation, Multidrug resistance, Machine learning, Transmission
CART: Classification and Regression Tree; LDA: Linear Discriminant Analysis; LGM: Logistic Regression Model; KNN: K Nearest Neighbor; MDR: Multidrug Resistance; ML: Machine Learning; OR: Odds Ratio; RF: Random Forest; SVM: Support Vector Machine; TB: Tuberculosis
Globally, Tuberculosis (TB) remains one of the top ten causes of mortality . Furthermore, the incidence and prevalence of the disease spectrum remain high in low- and some middle-income countries. Due to the associated high morbidity and mortality, the World Health Organization (WHO) declared it a public health emergency [1,2]. In addition, pulmonary cavitation, classified epidemiologically and clinically as the hallmark of TB, has been associated with increased bacillary burden, high infection transmission, and development of drug resistance [3,4]. This complication has contributed to the persistence of TB worldwide and is further implicated in the high severity of the disease. To understand the drivers of TB transmission on a population level, it is relevant to explore one of the significant promoters, lung cavities. Therefore, this study aimed to explore the sociodemographic and clinical risk factors associated with pulmonary cavitation among individuals with TB.
A cross-sectional cohort study was conducted on individuals diagnosed with tuberculosis and subsequently received TB treatment in Moldova between January 1, 2009, and December 31, 2010. We enrolled individuals between 18 and 85 years who had positive TB culture and drug-susceptibility testing (DST) as observed in the TB surveillance database. DST was performed on a solid culture using the absolute concentration method. Individuals with rifampin, isoniazid, ethambutol, and pyrazinamide susceptibility information were captured in the analysis. In addition, Mono-drug and Multidrug resistance TB (MDR-TB) were evaluated among the study cohort. MDR-TB strains were defined as study participants with both rifampin and isoniazid resistance. Individuals with no culture or negative culture results, treatment failure at the time of study enrolment, and missing drug sensitivity and susceptibility results were excluded from the study. After evaluating potential study participants using the inclusion and exclusion criteria (Figure 1), a total of 958 individuals were finally enrolled in the study.
Figure 1: Inclusion and exclusion algorithm. View Figure 1
Descriptive statistics were developed for sociodemographic and clinical variables captured in the analysis, and the characteristics were compared between study participants with pulmonary cavity and individuals without lung cavity. Categorical characteristics were summarized as absolute numbers and their corresponding proportion. Numerical or continuous variables were documented using means (or median for non-parametric distribution) and standard deviation. We further developed three models for the study. The first model represented the univariable associations between the potential risk factors and the prevalence of our primary outcome, pulmonary cavitation. A second model, the multivariable logistic regression model, was developed using variables designated as fit for the model with stepwise regression. In addition, we developed a third predictive model, using the machine learning (ML) method to assess how accurately the variables included in the study predicted the outcome of interest. In the third model, the dataset was split into two, the training set (80%) and the validation set (20%). Tenfold cross-validation was utilized in the six machine learning models built, which includes linear discriminant analysis (LDA), classification and regression tree (CART), random forest (RF), k nearest neighbor (KNN), logistic regression (LGM), and support vector machine (SVM). Receiver operating characteristics (ROC), sensitivity, specificity, accuracy, and Cohen's kappa were used as metrics to evaluate the best-performing models. All statistical analyses were carried out using R Studio (R version 4.1.1). A p-value less than 0.05 was considered significant.
The analyses were conducted on an anonymized, routinely collected public health surveillance dataset. This non-identifiable dataset was made available secondarily through the Boston university school of public health. There was no interaction with patients and no collection of human samples.
In total, 958 individuals with culture-proven pulmonary TB were captured in the analysis between January 1, 2009, and December 31, 2010 (Table 1). The mean age for the total study sample was 51 (Standard Deviation, ± 13) years-old, and 767 (80%) participants were male. Stratifying by the primary outcome, pulmonary cavity vs. no pulmonary cavity, the mean age across the two strata was similar (51% vs. 52%, respectively). Most of the study participants were in the age category of 35 and 65 years (76%), unemployed (660; 69%), and sheltered (869; 91%). Many individuals in this study cohort attained education up to the primary level (214; 22%) and secondary level (566; 59%). Assessing the clinical characteristics, most participants were observed to have MDR (524; 55%). Stratifying MDR by the primary outcome, a higher percentage of MDR (67% vs. 39%) was seen among the cohort with a pulmonary cavity than those without a lung cavity. A similar trend is observed with rifampin, ethambutol, and isoniazid monodrug resistance. Fewer individuals (62; 6%) in this study were positive for the human immunodeficiency virus (HIV).
Table 1: Sociodemographic and clinical characteristics of study participants with culture positive pulmonary tuberculosis. View Table 1
In the univariable logistic regression analysis (Table 2), men were more likely to develop pulmonary cavity (OR: 1.43, 95% CI: 1.04-1.96). MDR was significantly associated with the outcome of interest statistically (OR: 3.10, 95% CI: 2.38-4.05). Monodrug resistance with isoniazid (OR: 4.5, 95% CI: 3.07-6.76), rifampin (OR: 4.26, 95% CI: 2.90-6.41), and ethambutol (OR: 3.9, 95% CI: 2.55-6.18) were also associated with a higher odd of developing a pulmonary cavity. Developing the outcome of interest (pulmonary cavity) were more likely when study participants attained only primary education (OR: 5.36, 95% CI: 2.93-10.2), had no education (OR: 2.00 95% CI: 1.39-2.90), were homeless (OR: 2.01, 95% CI: 1.18-3.56), and had treatment failure (OR: 3.27, 95% CI: 2.50-4.30).
Table 2: Demographic and clinical risk factors associated with pulmonary cavity (univariable model). View Table 2
In the multivariable logistic regression analysis (Table 3), similar risk factors (attaining primary education, no education, MDR, isoniazid resistance, homelessness, and treatment failure) for pulmonary cavity were observed. However, the statistically significant association previously observed with rifampin and ethambutol in the univariable model was no longer detected (p = 0.5 and 0.7, respectively). Further stratification of age into a categorical variable revealed individuals between 50 and 64 years (aOR: 2.33, 95% CI: 0.9-6.17, p = 0.085) and above 65 years (aOR: 4.37, 95% CI: 1.16-17.0, p = 0.031) were likely to develop the outcome.
Table 3: Demographic and clinical risk factors associated with pulmonary cavity (multivariable model). View Table 3
The LDA model (Figure 2) performed better (than other machine learning models) using 'accuracy' as an evaluation metric. The corresponding LDA model accuracy was 67.8% (58.7-72.0), while the KNN performed the least (61.5%; CL: 53.3-69.9). The results of the 'kappa' metric comparison were less robust than the 'accuracy'. Like the results of the metric accuracy evaluation, LDA performed better than other models (kappa: 33.7, 14.7-43.7), while KNN likewise performed least (kappa: 22.0, 7.4-37.3). Using ROC as an evaluation metric, LDA was the best performing model (71.1; 63.6-80.0) and CART the least performing model (66.2; 60.6-71.2). The ML model with the highest sensitivity and specificity are LDA (58.4; 45.5-68.8) and RF (80.8; 66.7-92.7). The corresponding least performing model (Figure 3) using sensitivity and specificity are RF (48.1; 33.1-59.4) and KNN (73.3; 56.1-85.4), respectively.
Figure 2: Evaluation metrics (Accuracy and Kappa) for the machine learning models utilized in the prediction of pulmonary cavity among study participants. View Figure 2
Figure 3: Evaluation metrics (ROC, Sensitivity, and Specificity) for the machine learning models utilized in the prediction of pulmonary cavity among study participants. View Figure 3
Tuberculosis is prevalent in a substantial number of low- and middle-income countries and poses as one of the top ten causes of death worldwide [1,5,6]. It is also the leading cause of death among individuals living with HIV and a significant contributor to antimicrobial resistance-related mortality globally. The hallmark of pulmonary TB is pulmonary cavitation, which is associated with a high sputum bacillary load . High mycobacteria burden among people with active TB disease contributes to the propagation of the disease within communities [4,8]. In addition, lung cavities have also been assessed as markers of disease severity [4,9]. In this study, we explored possible risk factors and determinants of pulmonary cavity among our study population.
Our research revealed that men and individuals above 65 years were more likely to develop lung cavities . These findings are similar to other studies and reports that observe a higher risk of pulmonary TB among this demographic [1,7,8]. Although some of these studies did not explore the risk of pulmonary cavities, the findings reveal a similar demographic trend. Palaci, et al. in their study of cavitary disease and quantitative sputum bacillary load, likewise observed that being male was statistically significantly associated with developing cavitation . This finding is also observed in Beynon, et al. paper on mycobacterium tuberculosis bacillary burden . Zhang, et al. revealed a higher proportion of pulmonary cavitation among males; however, the association was not statistically significant. One possible explanation for the lack of statistical significance is the different reference used . In our research, females were selected as the reference group. This approach was based on the priori that men are more likely to have incident TB disease, and in extension, develop lung cavities in a higher proportion. Also, participants 65 years and above were more at risk of the outcome as compared to the findings of Zhang, et al. where individuals between the ages of 45 and 64-years-old were more likely to develop lung cavities. However, some of the other reviewed studies on pulmonary cavitation did not explore age stratification to assess a specific sub-age group more at risk of the outcome of interest.
In addition to age and gender, MDR was also identified as a risk factor for developing lung cavities. Individuals with MDR were two times more likely to develop the outcome of interest than participants without MDR. Several studies have shown MDR to be clinically and statistically associated with worsening lung outcomes among people with active pulmonary TB [11,12]. Although MDR in our study is categorized as a predictor/independent variable of pulmonary cavity, the relationship between these two clinical variables is more likely to be bidirectional. The presence of lung cavities creates a favorable environment for high bacillary burden, increased mycobacterial replication, and formation of a quasi-safe haven against the body's innate and adaptive immune response. These resultant effects facilitate the emergence of TB multidrug resistance [10,12,13]. Likewise, the development of MDR will further promote the expansion of lung cavities due to unresponsiveness or decreased responsiveness to drug therapies [11,14]. Aside from MDR, mono drug resistance with Isoniazid was also associated with the study's outcome after adjusting for other variables and potential confounders.
Furthermore, we observed that attaining education up to the primary level only and receiving no education were significantly associated with a worse pulmonary outcome among individuals with active TB. People with only primary school education were four times more likely to develop the outcome than individuals who received education up to the tertiary level. Socioeconomic status influences access to education and healthcare, which are known risk factors for TB acquisition [15,16]. Inadequate access to or lack of education as a risk factor for TB disease or severity is similarly observed in other studies [17,18]. Aside from education, being homeless and treatment failure were twice more likely to develop a pulmonary cavity. Homeless individuals are more likely to be exposed to unfavorable environmental and living conditions, poor sanitation and hygiene, malnutrition, poor access to healthcare, and contact with high TB bacillary shedders [19,20]. Also important to note is the related effect of homelessness on treatment failure. Studies have explored this role and observed a marked reduction in treatment success on people newly diagnosed with pulmonary TB . Based on these findings, the interaction between homelessness and treatment failure also contributes substantially, independent of the individual demographic and clinical variables.
In comparison to the earlier mentioned sociodemographic and clinical variables, and their role in promoting incidence of the outcome, we observed a different pattern with HIV status. Individuals with HIV in our study cohort were less likely to develop pulmonary cavities. Although the association was not statistically significant, the effect measures still reveal a decreased odd of lung destruction for participants with HIV positivity. Our finding is consistent with other studies that explored the role of HIV infection in suppressing tuberculosis-induced pulmonary cavitation [3,22]. Metalloproteinases (MMPs), a group of zinc-containing proteases, have been identified in their role in promoting the breakdown and destruction of extracellular matrix [3,23]. MMPs are also significant in facilitating the recruitment of immune cells and the remodeling of tissue . Due to these functions, their activities have been instrumental in developing lung cavities in individuals with TB (specifically MMPs 1, 2, 3, 8) [3,24]. However, in HIV-TB co-infection, these concentrations are remarkably lower than those without the co-infection . The remarkably low specific type MMPs is likely to have contributed to the decreased risk of pulmonary cavity observed in our study. Also, outcomes of individuals with HIV-TB co-infections are influenced by the CD4 count. A lower CD4 count signifies a weaker mounted immune response against the mycobacterium. One of the limitations of this study is the lack of information on the CD4 counts of individuals diagnosed with HIV. Research has shown that lung cavities are more prevalent during the earlier phases of infection with HIV . During this phase, CD4 counts are relatively normal; hence, cellular immunity remains preserved. Studies also reveal reduced lung tissue destruction as HIV advances (CD4 counts < 200 cells/μL) .
The models scored less than seventy percent using the evaluation metrics (Accuracy, Kappa, ROC, Sn). This indicates a less robust prediction of our primary outcome of interest using the machine learning models (KNN, SVM, CART, LDA, RF, LGM). We believe having an assessment score of 85 percent or more in one or more of these models would have signified a more reliable model fit. Our hypothesis for the poorly performing models is attributed to the lack of better documentation and information on co-morbidities, specifically, diabetes mellitus (DM). The findings of previous studies have indicated a higher risk of lung cavities in people with DM as compared to those without DM. Two studies, Li-Kuo, et al. and Chiang, et al. demonstrated that poor glycemic control seen in a subpopulation of individuals with DM was a significant risk factor for developing destructive lung disease among individuals diagnosed with active TB [26,27]. Another study on poor treatment outcomes prediction among individuals with TB revealed a statistically significant association between lung cavitation and DM . Availability of information on DM comorbidity would strengthen the models and produce a more robust prediction. In addition, the absence of relevant unmeasured variables would also reduce the strength of the models in accurately predicting the outcome. Although the models performed below expectation for Accuracy, Kappa, ROC, and Sn, they were, however, higher for specificity. Therefore, the models were a better fit in predicting individuals without pulmonary cavities in our study cohort.
In conclusion, it is imperative that addressing TB complications be explored holistically. Targeting sociodemographic and relevant clinical variables will promote better pulmonary outcomes individually and result in a decreased transmission within communities and at larger population levels. In addition, the identified significant associations in our research can be generalized to regions of low- and lower-middle-income class with high prevalence and incidence of TB.
The author(s) received no financial support for the research, authorship, and/or publication of this article.
All authors contributed substantially to the production of the final version of this manuscript.