Credits and deductions

I have a similar question.  I paid for my son's medical expenses in 2022.  He earns income and is doing his own tax return.  He turned 18 during 2022.  One of the expenses was incurred before he was 18 (i.e. still a dependent) and the other was incurred when he was no longer a dependent.  I paid for both expenses.   Is my son allowed to claim one or both expenses on his tax return?    3% of his earnings is a much easier threshold to reach, but is he allowed to claim an expense which he didn't pay for?  Thanks.