Cat scans while pregnant? Help

Ash
In the emergency room and they think I have blood clots in my lungs. Possibly getting a cat scan. I'm five weeks and really afraid for my baby. Has anyone else had one during pregnancy and was your baby ok?