The IRS defines medical expenses as ??????the costs of diagnosis, cure, mitigation, treatment, or prevention of disease, and the costs for treatments affecting any part or function of the body.??? Medical expenses include those payments you make for legal medical services given by doctors, surgeons, dentists, and other medical professionals.