A medical device and a method for configuring a process for determining a dose of insulin to be administered for glycemic control is provided, wherein the dose is stepwise adapted, comprising defining different dose adjustment profiles for stepwise adapting the dose, wherein each of the different dose adjustment profiles is based at least on a specific initial dose value, a specific time interval for increasing the dose, a specific dose increase step and a specific low blood glucose threshold value, storing the different dose adjustment profiles, selecting one of the stored different dose adjustment profiles based on specific requirements for stepwise adapting the dose, and personalizing the selected dose adjustment profile by defining at least a specific target blood glucose value for a specific user.