What patterns are used to diagnose asthma