I cannot speak to the pregnancy issue, but at both SFO and OAK recently I have opted out medically by stating I have a rotator cuff injury and cannot raise my arms as required.
Sent straight to the WTMD no questions asked, no demands for a doctor's note to prove a shoulder injury.