Should I claim medical expenses if I was charged for them in 2022 but did not completely pay for them in 2022?

I had surgery in November 2022 so I have medical bills from that, but I only paid off small portion of them in 2022. I will pay the rest over the next 2 years