Insights into the tuberculosis diagnostic pathway