A data processing method of determining a treatment plan including a corresponding program and a computer running the program. The treatment plan describes a medical treatment to be carried out on a patient and executed by a computer, including acquiring current patient data comprising current patient information about a current patient's body, and determining, based on the current patient data, reference treatment plan data comprising reference treatment plan information about a reference treatment plan.