To diagnose celiac disease or wheat allergy