An x-ray is sometimes taken as part of a medical examination.