1. A method of determining information related to a drug reservoir, the method comprising: providing a medical delivery device, the device comprising a drug reservoir holder operable to receive a drug reservoir, a detector, and the drug reservoir, the detector determining an electrical property related to a coded material for the drug reservoir, wherein the coded material comprises at least one circuit, and, based at least on the determined electrical property, determining information related to the drug reservoir, wherein, when the drug reservoir is inserted in the drug delivery device, the method further comprises: controlling dose selection based on the identified drug reservoir, wherein controlling dose selection based on the identified drug reservoir comprises at least one of preventing dose selection when the identified drug reservoir is not intended for use with the drug delivery device, and setting a maximum dose or setting a minimum dose when the identified drug reservoir is intended for use with the drug delivery device, and controlling dispensing of the drug based on the identified drug reservoir, wherein controlling dispensing of the drug based on the identified drug reservoir comprises preventing dispensing of the drug when the identified drug reservoir is not intended for use with the drug delivery device and, controlling at least one of an adjustable dispense speed of the device or an adjustable dispense force of the device when the identified drug reservoir is intended for use with the drug delivery device, wherein controlling the at least one of the adjustable dispense speed or the adjustable dispense force comprises selecting, based on a medicament in the identified drug reservoir, at least one of a desired dispense speed or a desired dispense force.