Deductions & credits

Yes.  You have to tell the IRS where the IRA withdrawal went, and you have to certify that you were enrolled in an eligible HDHP so the HSA contribution is allowed.  If you skip these steps, the IRS can assess tax on the IRA withdrawal, or a penalty on the HSA contribution, or both.