What happens to the x-ray beam when it meets the patient?

What happens to the x-ray beam when it meets the patient?

Two main interactions, Compton scatter and the photoelectric effect, occur.