Any anomaly measure by pulmonary function testing, which includes spirometry, measures of diffusing capacity, and plethysmography. The phenotype is Human Phenotype Ontology id HP_0030878 (Abnormality on pulmonary function testing). Also known as: Abnormal pulmonary function test.