I don't think one X-ray would cause horrible stomach issues. Please see a doctor to get a diagnosis.
Idk about learning issues, But I have horrible stomach issues constantly. Do you think that is the cause?
Well, your 22 now right? It certainly doesn't seem like it. X rays aren't the best idea while pregnant, but I doubt one single x ray would pose a big problem. Do you have any learning or health issues? Even if you do, I doubt there is any way to know if it was caused by the x ray.