Pump application programs include, for example, pump protocols including both patient specific and non-patient specific pump parameters, and instructions for allocating memory, user interfaces, or algorithms for monitoring various sensors and driving a motor for the pump mechanism.