If I enter the total amount and also the withdrawals from the HSA will TurboTax correctly calculate the net expense?
No, TurboTax will not subtract what you report for the HSA against what you enter as Medical Expenses for Itemized Deductions.
Please only enter the out-of-pocket expenses you paid.