In summary , T2DM is associated with impaired pulmonary function consistent with obstructive ventilation pattern and fasting plasma glucose is an independent risk factor of reduced pulmonary function .