Both "In order to save the patient the doctor is performing surgery" and "In order to save the patient the doctor is performing surgery on him" were marked incorrect. Should one of my answers have been accepted?
They seem fine to me. I've added some variations. If you have trouble with this sentence again, please report it using the flag so I can compare your sentence to the ones we have.