This invention relates to a microprocessor-based medical pump with a number of manual controls. The operation of this pump requires the attachment of a magnetic label to the front of the pump. This magnetic label includes a given number of strong permanent magnets in a pre-determined configuration which indicate the pharmaceutical product type and concentration to be infused. The magnetic label also changes the visual scales around the manual controls. Hall Effect sensors read the pre-determined configuration and send the data to the microprocessor which also reads the manual controls. Using the pre-determined configuration data and the manual control data, the microprocessor determines the desired infusion parameters.