the patient needs to pay both the deductible and their portion of the coinsurance ... for this scenario with the $1000 deductible and 20% coinsurance that means taking
1000 + (1278 - 1000)*20%
=1000 + 55.60
=1055.60
meaning that the patient owes a total of $1,055.60 for the surgery