The doctor who did surgery on the wrong side of the patient is punishable under section –
The doctor who has operated on the wrong side of the patient has committed criminal negligence. Sec. 304- A IPC deals with criminal negligence. 
It states that "Whoever causes the death of any person, by doing any rash or negligent act not amounting to culpable homicide shall be punished with imprisonment up to two years or with fine or with both.
S. IPC
S. 304 IPC
S. 305 AIPC
S. 305 IPC