Diagnosis typically involves a combination of medical history, physical examination, and diagnostic tests. Spirometry is a common test used to measure lung function. Other tests may include chest X-rays, CT scans, and blood tests to rule out other conditions and confirm the diagnosis.