If her doctor advised to do so, it's gonna be okay. Coz technician will use a very low ray. I had once, when I was 7 months pregnant, to find out the position of my baby, he was breech, so doctor need to check the planned c-section.

There must be good reason for the doc, to advise the x-ray. She should ask the doc for details.