During my OB/Gyn rotation as a 3rd-year student the chief resident told us which days they would be doing elective D&C's
and gave us an alternative learning option (basically moved us to a different OR room) that day. It was NBD, no issues for students who opted out. The senior resident in charge of the team was totally cool about it.