Either the doctor was negligent in treating the patient or they were not. The patient's part in causing the initial injury is irrelevant to a malpractice claim.

You can shoot yourself in the head and if the surgeon screws up in treating you, he's responsible for whatever harm his negligence caused.