The X-ray is a painless and non-invasive test that is generally safe for most patients. However, patients who are pregnant or may be pregnant should inform their doctor before the test, as radiation exposure can be harmful to a developing fetus. Additionally, patients with metal implants, such as joint replacements or pacemakers, may not be able to undergo the test.