I’m very sorry for your loss :'( And I’m sorry you are on this rotation that is causing you such distress. 🙁
I guess you have two choices at this point: getting through this rotation or switching to a completely different rotation. I don’t know if the latter is an option, but I’m sure people would be willing to switch with you if they knew what had happened (if you feel comfortable sharing that). Regardless, I hope you are able to talk to somebody with some expertise in helping people after pregnancy loss. You are probably already doing that, but if not, maybe your OB or your primary could recommend somebody?
I wish I had a better answer for your question. I do hope that things get better soon. (((hugs)))