Introduction

Tuberculosis (TB) affects about nine million people and causes 1.5 million deaths worldwide every year [1]. In 2016, tuberculosis claimed 1.3 million lives among HIV-negative people, exceeding the total number of deaths caused by HIV and becoming the first killer among infectious diseases [2]. On Sep 26, 2018, all UN Member States promised to end the global tuberculosis epidemic by 2030 in the UN General Assembly High Level meeting [3]. Currently, pleural tuberculosis (PT) is the most common type of extrapulmonary tuberculosis, and the frequency of all TB varies significantly in different countries. PT accounts for more than 20% of all TB cases in Africa [4, 5], 6.5 to 8.7% in China [6, 7], 8.7% in Brazil [8], and 3.7% in the United States [9]. PT appears to be the leading cause of pleural effusion (PE) in countries with a high prevalence of tuberculosis (e.g., in India) [10].

Tuberculous pleural effusion (TBPE) accounts for about 40% of PE cases in China [11, 12]. For patients with TBPE, untimely anti-tuberculosis treatment will affect its prognosis. The diagnostic criteria of TBPE is dependent on bacteria culture and histopathology, but the diagnostic sensitivity is limited and time-consuming. Thoracoscopic Pleural Biopsy is an effective method in diagnosing TBPE, but its application is limited because of its invasiveness, complexity, and technical difficulty [5, 13, 14]. Moreover, the diagnostic value of a single clinical biomarker of TBPE is limited, including erythrocyte sedimentation rate (ESR), blood T-cell spot (T-SPOT), adenosine deaminase (ADA), and lymphocyte ratio, so the diagnosis of TBPE is still challenging. Thus, our study aimed to build a scoring diagnostic model based on laboratory variables and clinical features to differentiate TBPE from non-TBPE.

Methods

Study subjects

A retrospective study was conducted from 2016 to 2021 after approval by the Ethics Committee of Dongguan People's Hospital. All the enrolled patients met the indications of thoracic puncture or thoracoscopic pleural biopsy and signed the informed contents. The patients selected in the study should meet the following criteria: (1) Adult group; (2) Presence of PE on chest radiographs and ultrasonography; (3) Complete data in clinical were available for all patients. Finally, 125 PE patients were included in the retrospective study. In addition, we collected data from 29 new patients diagnosed with TBPE or non-TBPE to validate the diagnostic model. The data we collected mainly included six factors in the diagnostic model in calculating the model's score.

Diagnostic criteria

TBPE diagnosis was confirmed when PE met at least one of the following criteria: (1) pleural fluid/sputum/bronchial aspirate/bronchoscopic brushing specimen was positive for acid-fast bacilli or positive culture or positive polymerase chain reaction (PCR) for Mycobacterium tuberculosis. (2) Positive acid-fast staining or epithelioid caseous granuloma in pleural or lung tissue [15,16,17].

Malignant Pleural Effusion (MPE) was diagnosed when pleural histopathology demonstrated malignant lesions or when cytological examination of pleural effusion demonstrated malignant cells.

Empyema cases with negative M. tuberculosis culture were confirmed according to ATS guidelines [18]. Parapneumonic effusion (PPE) was caused by pneumonia which was approved based on the criteria of the American Thoracic Society (ATS) [19]. Thoracoscopic pleural biopsy was performed in patients with unknown etiology of PE. Except for the cases with TBPE, all the other cases were classified as a non-TBPE group.

All patients underwent a standard thoracocentesis procedure to collect pleural effusion samples, and blood was collected by venepuncture before intervention procedures. Record items include sex, age, clinical symptoms (cough, fever, chest pain, night sweats), T-SPOT, ESR, C-reactive protein (CRP), PE lymphocyte ratio, PE protein, PE lactate dehydrogenase (LDH), ADA, PE location, presence of cancer or not. Patients who had incomplete data were excluded from this study. The statistical analysis was performed using the first pleural fluid sample data before treatment. Hematological data were collected from the blood samples nearest to the first thoracentesis.

T-SPOT TB test was measured using Enzyme-Linked Immunospot (T-SPOT TB assay kit, Oxford Immunotec Co., Ltd., Abingdon, UK). Pleural effusion protein was measured using Colorimetric Determination (Dry tablets assay kit, Ortho-Clinical Diagnostics Co., Ltd., New York, USA). The activity of ADA was measured using a peroxidase assay (ADA assay kit, Beijing Leadman Biochemistry Co., Ltd., Beijing, China). LDH levels were measured using the lactic acid substrate method (LDH assay kit, Beckman Coulter Laboratory Systems Co., Ltd., Suzhou, China). CRP level was measured using the Quantitative Immunofluorescence method (Boditech Biotechnology Co., Ltd., Guangxi, China). ESR was measured using an Italian.

Microsed-System Automatic Blood Sedimentation Instrument. Differential cell counts in PE were counted manually.

Statistical analysis

The analyses were carried out using SPSS 22.0 software (SPSS Inc., Chicago, IL, USA). Continuous data are reported as median, with first and third quartiles. Mann–Whitney U test was used for comparisons between groups. The Chi-square test was used for the analysis of categorical variables. The results with p values less than 0.05 were considered statistical significance. Sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), accuracy, and the Youden index were calculated to estimate the diagnostic performance of the indicators. In addition, the receiver operating characteristic (ROC) curve was plotted to evaluate the diagnostic value of continuous data for TBPE. The continuous variable was converted into a binary variable according to the cut-off value corresponding to the maximum value of the Youden index. The factors with statistically significant differences between the two groups were selected in the binary logistic regression. A goodness-of-fit test of the binary logistic regression model was evaluated by Hosmer and Lemeshow test. Variables B coefficients were used to define a numerical score to calculate a scoring model. A receiver operating characteristic (ROC) curve was used to calculate the best cut-off value and evaluate the performance of the scoring model. Finally, a statistical evaluation of the diagnostic scoring model was performed in a validation cohort.

Results

Clinical and laboratory findings of the 125 patients with PE

In this study, 125 patients (63 with TBPE; 62 with non-TBPE) were enrolled according to the selection criteria. The demographic and clinical characteristics were collected from the patient's medical records and summarized in Table 1. There was no significant difference between the two groups in cough, chest pain, night sweats, pleural fluid protein, and LDH (p > 0.05). Still, there were significant differences among age, male, cancer diagnosis, pleural fluid location, fever, ESR, CRP, T-SPOT, pleural fluid lymphocyte ratio, and ADA (p < 0.05). The mean age of the TBPE group was lower than that of the non-TBPE group. TBPE predominated in men (46/63, 73.0%) who with unilateral pleural effusion (62/63, 98.4%). MPE accounts for most of the non-TBPE (43/62, 69.4%). The proportion of fever, positive T-SPOT, and the mean values of ESR, CRP, pleural fluid lymphocyte ratio, and ADA in patients with TBPE was higher than in patients with non-TBPE.

Table 1 Clinical and laboratory findings of the 125 patients with PE

The diagnostic performance of a single indicator for TBPE

ROC curve was used to evaluate the diagnostic value of continuous data (Fig. 1A, B). The continuous variable was converted into a binary variable according to the cut-off value corresponding to the maximum value of the Youden Index (Table 2). The diagnostic performance, including Sensitivity, Specificity, Positive predictive value (PPV), Negative predictive value (NPV), and Accuracy, were calculated and summarized in Table 3.

Fig. 1
figure 1

The diagnostic value for TBPE. A The diagnostic value of ESR, CRP, Lymphocyte ratio, and ADA for TBPE, the AUC value was 0.623, 0.760, 0.707, and 0.898, respectively; AUC: area under the curve. B The diagnostic value of Age for TBPE, the AUC value, was 0.752

Table 2 Youden index and the cut-off value of continuous data
Table 3 The diagnostic performance of a single indicator for TBPE

The multivariate logistic regression of binary variables and the establishment of the scoring model

The factors with statistically significant differences between the two groups were selected in the logistic regression, using the forward selection method to select indicators to enter the final model. At last, ESR ≥ 27.5 mm/h, fever, lymphocyte ratio ≥ 91.5%, unilateral pleural effusion was eliminated by the model, And age ≤ 46.5 years, male, no cancer, positive T-SPOT, CRP ≥ 52.8 mg/L, ADA ≥ 24.5 U/L were accepted into the final binary logistic regression model. Hosmer and Lemeshow test Confirmed a good goodness-of-fit test of the binary logistic regression model (p = 0.499). Variables B coefficients were used to define a numerical score to calculate a scoring model (Table 4).

Table 4 Score for diagnosis based on the B coefficient of the variables

The diagnostic performance of the scoring model

The total score is equal to the sum Variables score in Table 4 when matching the scoring criteria. The calculation equation as follow: Y (total score) = Age score + Gender score + Cancer score + T-SPOT score + CRP score + ADA score. ROC curve was used to calculate the best cut-off value. When the total score was ≥ 11.038, The area under the curve (AUC) value was 0.992 (95%CI 0.982–1.000) (Fig. 2). The scoring model's performance for diagnosing TBPE was summarized in Table 5.

Fig. 2
figure 2

The diagnostic value of the Scoring model for TBPE. The AUC value was 0.992; AUC Area under the curve

Table 5 The performance of the scoring model

Validation of the diagnostic scoring model

Twenty-nine new patients with PE in the validation cohort were from the same retrospective database from 2016–2021 and approved by the Ethics Committee of Dongguan People’s Hospital, of which 14 were diagnosed with TBPE; among the remaining 15 patients were non-TBPE; 13 of 14 patients with TBPE had a score of ≥ 11.038; 1 of 15 patients with non-TBPE had a score of ≥ 11.038. The baseline characteristics with six indicators included in the model in the validation cohort were summarized in Table 6. And the validation results of the scoring model are shown in Table 7.

Table 6 The baseline characteristics of the validation cohort
Table 7 The validation results of the scoring model

Discussion

There are many causes of pleural effusion. Since the high prevalence of TB occurred in China, TBPE accounts for about 40% of pleural effusion [11, 12]. Currently, the diagnostic performance of clinical features or laboratory variables in diagnosing TBPE is poor; therefore, it’s an urgent need to find a new method to diagnose TBPE. Our study built a scoring diagnostic model by using logistic regression based on laboratory variables and clinical features to differentiate TBPE from non-TBPE.

A total of 15 indicators were included in this study. No symptoms were introduced into the final binary logistic regression model, which shows that clinical symptoms had no significant diagnosis value to the TBPE. And the results were similar to the previously reported data [20]. In terms of pleural effusion tests, unilateral pleural effusion, pleural effusion protein, LDH, and pleural effusion lymphocytes ratio ultimately failed to enter the final model, which may be due to TBPE and MPE being dominated by unilateral lymphocytic exudates [21]. Most of the non-TBPE in this study were MPE. As expected, ESR, a non-specific indicator for the diagnosis of TBPE, was eventually eliminated by the regression model, even though there was a difference in univariate analysis between the two groups.

Finally, six indicators of age, sex, cancer, CRP, T-SPOT, and ADA were included in the diagnostic scoring model by multivariate binary logistics regression, which showed that those six indicators significantly contributed significantly to the diagnosis. In terms of age, the non-TBPE group was significantly older than the TBPE group, which may attribute to the elderly-onset of cancer that was the leading cause of non-TBPE. Our result showed that TBPE predominated in men (46/63; 73.0%), and it was similar to the previously reported data of Roberta et al. [21]. Consistent with the previous studies [22], we also demonstrated the potential diagnostic value of CRP for TBPE. The sensitivity and specificity of ADA, which had an excellent diagnostic performance in diagnosing TBPE, were above 90% in diagnosing TBPE. T-SPOT also showed an excellent diagnostic value for the diagnosis of TBPE that the sensitivity and specificity were 93.7% and 77.4%, respectively. The above results were similar to the previous studies [20, 23, 24].

Hosmer and Lemeshow test confirmed a good goodness-of-fit test of the binary logistic regression model (p = 0.499). The performance of the scoring model for diagnosis of TBPE was evaluated by the ROC curve; when the total score was ≥ 11.038, the AUC value was 0.992 (95%CI 0.982–1.000), the sensitivity, specificity, PPV, NPV were 93.7%, 96.8%, 100%, and 93.9% respectively, the diagnostic performance of the scoring model was better than the reported data of Petborom et al. [20, 25]. Our scoring model can aidin diagnosing TBPE and provide more evidence for anti-tuberculosis treatment. Still, we need to track the effectiveness of treatment to verify the accuracy of the diagnostic model follow-up. When anti-tuberculosis treatment is ineffective, a thoracoscopic pleural biopsy should be used to further confirm the diagnosis. For medical units with limited sanitary conditions, the diagnostic model can help to find TBPE, so that patients can be referred to specialist hospitals for earlier treatment.

The retrospective study has a selection bias; for example, patients with incomplete data were excluded from the study, leading to a reduction in the number of cases. Some test indicators, such as cytokines, CD4, and CD8, were not included in our study because of the small number of people tested. Therefore, establishing a better TBPE diagnostic scoring model requires a prospective, multi-center study to achieve.

Conclusions

The diagnostic score model established by logistic regression combined with multiple indicators improves diagnostic performance. It is better than a single index of laboratory variables or clinical features in diagnosing TBPE. In brief, establishing a scoring model for diagnosing TBPE provides a good diagnostic method based on routine clinical data to assist clinicians in making better clinical decisions.