Diagnosis usually involves a combination of patient history, physical examination, and diagnostic tests. The most common test is spirometry, which measures lung function by assessing the volume of air a patient can exhale forcefully after a deep breath. Additional tests may include chest X-rays, CT scans, and arterial blood gas analysis.