morphine while pregnant?


anyone have morphine while pregnant? not during labor . long story short I'm in the hospital fighting an infection my bf has the same one and was diagnosed with colitis. don't know if I have that yet, still testing. But my doctor gave me morphine. said it was fine. I've been googling it as well. just want to know about anyone else having it. please no bad remarks I've been in a car accident and now this sickness that's unknown .just a terrible weekend in general. thanks for the responses ahead of time. also I'm 20 weeks, I've had 3 ultrasounds over this weekend. baby is perfect. he's bouncing like he's on a trampoline in there. and I feel it all.