Patent attributes
Disclosed are a device, a computer-readable medium, and techniques that provide an onboarding process and an adaptivity process for a drug delivery device. A processor executing an onboarding process determines whether a history of delivered insulin to a user meets certain sufficiency requirements. The onboarding process enables a processor to cause the drug delivery device to administer doses of insulin to a user according to an initial total daily insulin dose calculation that is determined based on the sufficiency of the insulin delivery history. The initial total daily insulin may be adapted according to the adaptivity process as new insulin delivery is collected. The insulin delivery history, when sufficient, may be used to set total daily insulin dosages that enable automated insulin delivery upon replacement of a drug delivery device. The adaptivity process may be implemented to modify an initial insulin delivery doses to provide adapted insulin delivery doses.