The invention provides for a medical apparatus comprising a processor. Execution instructions causes the processor to receive a treatment plan descriptive of an ionizing radiation beam treatment of a target zone within a subject using a radiation beam therapy system with a radiation source and a gantry. The radiation source is operable for aiming a radiation beam path at a rotational axis of the gantry. The instructions further cause the processor to receive a planning thermal distribution descriptive of ultrasound heating of the subject with a high intensity focused ultrasound system of a heating zone and an ultrasound beam path within the subject. The target zone is within the heating zone. The instructions further cause the processor to generate radiation control command data using the planning thermal distribution and the treatment plan. The radiation control command data is executable to cause the radiation source to reduce irradiation of the target zone when more than a predetermined volume of the radiation beam path intersects the ultrasound beam path.