To correct this, return to the medical expenses section of your return and select the option to have your spouse claim the medical expenses.