Patent ID: 8527208

Claim:
A method of operating an electronic device to compute an optimal insulin infusion profile which is used as a postprandial blood glucose control for a specific patient/meal combination, said method comprising: providing a pre-meal measurement of blood glucose concentration to the electronic device; providing a meal intake comprising size and composition of a meal to be consumed by a patient to the electronic device; providing pre-meal history of insulin infusion to the electronic device, providing a chosen insulin infusion pattern for the postprandial blood glucose control which defines a target blood glucose trace to the electronic device; providing a model having model parameters which are predetermined for the specific patient/meal combination to the electronic device, wherein said model parameters describe a relationship between the infused insulin, the meal intake and the blood glucose concentration of the specific patient/meal combination which values differs from other patient/meal combinations and define a predicted blood glucose trace for specific patient/meal combination; computing automatically on the electronic device the optimal insulin infusion profile for the meal intake before an amount of insulin is delivered by optimizing the chosen insulin infusion pattern via minimizing an objective function which defines a relationship between the target blood glucose trace and the predicted blood glucose trace for the specific patient/meal combination, wherein the value of the objective function will be lower for an insulin profile which represents the best postprandial blood glucose control for the specific patient/meal combination, and said minimizing resulting in the optimal insulin infusion profile; and providing, via the electronic device, the optimal insulin infusion profile for the meal intake.