When do I record medical expense incurred in 2021 but billed in 2022?

I was in the hospital in December of 2021 but wasn't billed until January of 2022.  Do I claim my out of pocket expense in 2021 or wait until next year?

 

Thanks.