Gluten intolerance

If I get a gluten free diet prescribed to me for only a gluten intolerance is that a medical expense or is it only applicable to having celiacs?