Pulmonary function in advanced pulmonary hypertension.