Diagnosis typically involves a combination of imaging techniques such as X-rays and CT scans, along with histological examination of lung tissue samples obtained through biopsy. Pulmonary function tests may also be used to assess the extent of lung impairment.