Diagnosis typically involves a thorough medical history and a physical examination. The doctor may listen to the child's lungs with a stethoscope and may request additional tests like a chest X-ray or blood tests to rule out more serious conditions. In cases of suspected allergies, allergy testing may be recommended.