How does the doctor diagnose asthma?