Besides a clinical diagnosis of pneumonia made on history and physical examination, a chest x-ray is often required to confirm the diagnosis. Other tests may include sputum and blood tests.