What is a diet used as a medical treatment?