Pulmonary rehabilitation in inpatient conditions