You can include medical expenses you paid for a deceased dependent in the year you paid the expenses, whether this was before or after the date of your dependent’s death. The same test applies – the person must have qualified as your dependent at the time the medical services were provided or at the time you paid the expenses.