Functional impact of sequelae in drug-susceptible and multidrug-resistant tuberculosis