Anyone had Morphine at 7 weeks pregnant ?

I am worried! I am in A&E I have been diagnosed with gallstones and abnormal bloods related to my gallbladder. I have to go for a gallbladder scan first thing in the morning. For the past 13 hours I have been crippled in pain. Doctor gave me IV morphine and then 2 lots of oral morphine. Now that the pain has started to ease. I am so worried the medicine will have caused risks to my baby. Has anyone had morphine in the early stages and baby been okay?. Doctor hasn’t been back round yet or I would ask but I cannot sleep now for worry 😖