Deductions & credits

Thank you.  What if the parent claiming the medical deduction paid for all of the medical bill (100%), but was later reimbursed for a portion (50%) from the ex-spouse?   I'm guessing that means you can still only claim 50% in the deduction, but if the law allows 100% in that case then I would not want to miss that opportunity.  Thank you in advance!