Objective: To understand the status of tuberculosis diagnosis and treatment capacity and the development and changes of tuberculosis diagnosis and treatment in provincial and municipal designated medical institutions in China from 2017 to 2022, so as to provide a basis for the formulation of relevant policies for the improvement and development of designated medical institutions for tuberculosis and the tuberculosis prevention and treatment service system, and to provide reasonable support for further strengthening the capacity of designated medical institutions for tuberculosis. Methods: This study was initiated and carried out by Beijing Chest Hospital affiliated to Capital Medical University/Clinical Center for Tuberculosis Prevention and Control of China CDC (hereinafter referred to as "Clinical Center") by means of questionnaire survey, and the investigation was carried out from March to November 2023. During this period, the clinical center distributed questionnaires to the hospital member units of "Beijing Tuberculosis Diagnosis and Treatment Technology Innovation Alliance", retrospectively collected their tuberculosis-related diagnosis and treatment data from 2017 to 2022, and used descriptive statistical methods to analyze the number of tuberculosis beds, outpatients and hospitalizations in medical institutions. The results were expressed in absolute numbers (percentages), and three-line tables, bar charts and line charts were drawn to describe the analysis results and changing trends. Results: The 54 medical institutions surveyed in this survey included 21 provincial-level designated medical institutions and 33 prefecture-level designated medical institutions. Most medical institutions have set up clinical departments, auxiliary departments and functional departments to undertake public health tasks of infectious diseases. The tuberculosis laboratory in the hospital has a comprehensive ability and has the detection technology needed for most tuberculosis diagnosis; The number of tuberculosis beds, children's tuberculosis beds and ICU beds all showed an increasing trend from 2017 to 2022. The proportion of tuberculosis beds in the hospital decreased slightly, from 39.31% in 2017 to 34.76% in 2022, showing a slight downward trend. Compared with the hospital surveyed, the number of tuberculosis outpatients in 2019 was 562 029, and the number of outpatients in 2020-2022 was 462 328, 519 630 and 424 069 respectively, which was significantly lower than that in 2019. The number of tuberculosis outpatients in medical institutions decreased significantly from 2020 to 2022. By analyzing the proportion of patients with different types of tuberculosis, the proportion of sensitive tuberculosis outpatients in 2017-2022 decreased from 84.49% in 2017 to 78.05% in 2022, showing a downward trend year by year. The proportion of patients with multidrug-resistant/ rifampin-resistant tuberculosis increased from 2.03% in 2017 to 7.18% in 2022. From 2017 to 2019, the total number of inpatients with tuberculosis showed an upward trend. Compared with 2019, the number of inpatients in 2020, 2021 and 2022 showed a downward trend, and the decline in 2020 was large (down 14.94% compared with 2019). Among the inpatients, the absolute number and proportion of patients with sensitive pulmonary tuberculosis remained relatively stable, and the number and proportion of inpatients with multidrug-resistant/rifampin-resistant pulmonary tuberculosis increased year by year. Conclusions: Most medical institutions have the capacity to carry out routine diagnosis and treatment of tuberculosis, but the public health function needs to be strengthened. The transformation of medical institutions requires proper guidance and adequate support. During 2019-2022, most medical institutions were affected by the COVID-19 epidemic, and their tuberculosis diagnosis and treatment work also changed to varying degrees. During this period, hospitals took various measures to overcome difficulties and tried their best to maintain the normal development of tuberculosis diagnosis and treatment, and the tuberculosis diagnosis and treatment work of various institutions gradually resumed in 2022.