A medical device and a method forconfiguring a process for determining a dose ofin-sulin to be administered for glycemic control ispro-vided, wherein the dose is stepwise adapted,com-prising defining different dose adjustment profilesfor stepwise adapting the dose, wherein each of thedifferent dose adjustment profiles is based at leaston a specific initial dose value, a specific timein-terval for increasing the dose, a specific dosein-crease step and a specific low blood glucosethresh-old value, storing the different dose adjustmentpro-files, selecting one of the stored different dosead-justment profiles based on specific requirements forstepwise adapting the dose, and personalising theselected dose adjustment profile by defining at leasta specific target blood glucose value for a specificuser.