X-rays while pregnant?

Has anybody had X-ray’s done while pregnant?

Me and my husband have been TTC for over a year and a half... we’ve had one pregnancy but that ended up being our rainbow baby. The past few weeks I’ve had chest pain and numbness on my left side. I tried to put it off as long as I could but it got too scary so I went to the hospital. The hospital is packed, but they get me in and they run EKG ... says I’m not having a heart attack. (Thank u God ) They then have me go to get an X-ray.... I am prompted to sign a consent form stating whether I am pregnant or not or unsure. I checked unsure, because I am, unsure. I have been avoiding pregnancy tests (they make me sad) but... we REALLY tried this past month, so Theres a chance I could be. I asked the technician what were the risks for the baby if anything, he said they would be minimal especially since there was a device to block the lower half of my body. So, with the thought process of: “if I’m not healthy, thats not good for the baby” .... (if there is a baby) which, they should have done a pregnancy test before hand... or maybe I should have done one. Either way, wasn’t done.

Anyway, I get back to the lobby my mind starts running. I google what the risks are... and it says the scariest things possible!! Childhood cancer, abnormal brain function, deformities!! Omg what did I just do!!?? I never prayed so hard to not be pregnant.

My question is to the moms who have had xrays while pregnant.... have you or your child been affected from/by it?