The general rule is that you can deduct medical expenses for yourself, your spouse and your dependents. However, there is a special rule in the case of divorced or separated parents that the non-custodial parent can still claim a deduction for medical expenses for their children when the other parent claims them as dependents.