This can help a doctor identify exposures or other diseases that might have caused lung injury and scarring. The doctor will also often order pulmonary function tests, a chest xray, blood work, and a highresolution CT scan. Pulmonary function tests measure how much air the lungs can hold, and how the lungs are working overall.