A portable diabetes management device calculates medication dosages from
glucometer readings and data such as food intake entered by the patient,
according to a management plan that can be personalized by a health-care
professional using a template. The device may also store and communicate
past data and plan revisions.