The invention relates to a method of determining an infusion rate in a medical device to aid with administration of a substance as a function of a physiological parameter and a device adapted to implementation of the method, and a computer program implementing the method.