Diagnosis often begins with a thorough history and physical examination. Physicians may ask about the onset, duration, and severity of symptoms, as well as any associated factors like fever or exposure to sick contacts. Diagnostic tests can include a chest X-ray, blood tests, pulmonary function tests, and nasal swabs to identify specific pathogens.