According to IRS Pub 502, deductible medical expenses are the costs of diagnosis, cure, mitigation, treatment, or prevention of disease, and for the purpose of affecting any part or function of the body. These expenses include payments for legal medical services rendered by physicians, surgeons, dentists, and other medical practitioners. They include the costs of equipment, supplies, and diagnostic devices needed for these purposes.