An approach to providing predictable and uniform drug delivery across many instances of an automated drug delivery procedure involves measuring features of the drug delivery system prior to delivery. An automated drug delivery procedure is configured to compensate for or otherwise accommodate the impact of these features based on the measured features. In some examples, the measured features are encoded by value or by reference to an external database onto the drug containing component, for example, by affixing a tag (e.g., RFID, barcode, etc.) to the component. At the time of drug delivery, the features are accessed, for example using the affixed tag, and the drug delivery procedure is controlled according to the features.