After you file

Interest on the loan is not deductible.  Only what you paid for medical care is deductible, the IRS doesn't care what the source of the money is.