Diseases such as emphysema, chronic bronchitis, and asthma are diagnosed with pulmonary function tests and chest X-rays. Heart disease and congestive heart failure are diagnosed with chest X-rays, blood tests, an ECG or electrocardiogram, and a physical examination. A collapsed lung is diagnosed with a chest X-ray. Injuries to the chest are diagnosed by chest X-ray and by physical examination.