Resident doctors across Maharashtra have gone on strike after a doctor was attacked by a patient's relatives.