Chest X-ray pregnant

Angenette • 34 year old mother of four beautiful little girls ages 14 and 13 and 7 and 5 year currently pregnant with my 5th wish me and my husband luck we been outdaughtered lol

So I’m 36 weeks and in the hospital with chest pain and they want to give me a X-ray the ekg showed I just had fast heart rate I’m so worried it’s going to effect my baby