Where do I account for IRA withdrawals for medical expenses?

My wife was in a total care facility. 
We exhausted Medicare coverage and had to go to self-pay, $10,080 per month, room & board. 
I closed her IRA to make a few payments.  I then had to take funds out of my IRA.
I am now 67 and my wife was 68.  She passed away before my IRA funds were totally used for her medical expenses.  I deposited $7,000 (max allowed) back into my IRA account.  I still have approx. $12,000 in my savings account that I would like to deposit back into my IRA, without penalty if possible for 2022.