Deductions & credits

since you are reimbursing prior years did you take a tax deduction for those medical expenses? if not everything is fine. if so, then there would be a tax benefit in 2023 that likely would need to be reported as income not a reduction of the current year's medical expenses.