Diagnosis of pneumonitis involves a combination of clinical evaluation and imaging studies. A healthcare provider may order a chest X-ray or CT scan to look for characteristic signs of lung inflammation. Pulmonary function tests and blood tests may also be conducted to assess the extent of the inflammation and rule out other causes like infections.