A system for optimizing a patient's insulin treatment, comprising a drug delivery device (320) with an identifier representing information for a specific drug contained in a reservoir. An accessory device (310) comprises a blood glucose meter (BGM) and a processor programmed to determine for at least two pre-defined specific drugs a recommendation for an amount of the given drug based on a blood glucose value. The recommendation for a given pre-defined drug can be calculated when the corresponding identifier has been captured with the accessory device in a current mounted state, the recommended dose being calculated based on one or more blood glucose values, one or more patient specific parameters as well as parameters for the identified specific type of drug.