The presently described method is directed to determining a way of positioning a patient before execution of a medical procedure involving irradiating the patient with ionizing treatment radiation based on comparing medical images of the patient with a pre-acquired medical image. The planning computed tomography is searched for an image of the reference structure in order to determine the position of the patient relative to a patient support device. A retroreflective marker device, having a known and advantageously fixed position relative to the base plate, is detected by a navigation system operatively coupled to a motor of the support device. Based on the detected position of the marker device, the motor of the support device is activated to drive the patient into a desired position relative to beam direction along which the treatment radiation is to be issued towards the patient to execute the medical procedure.