An apparatus and a system for controlling and/or managing administration of a drug to a body of a patient. The apparatus includes a drug infusion device configured to deliver drug at a predetermined location in the body of the patient, at least one sensor disposed in the drug infusion device and configured to measure a. corresponding property related to the patient and selected from the group consisting of physiological properties, biochemical properties, environmental properties and drug-related properties, a controller disposed in the drug infusion device and configured to receive from the at least one sensor data representative of the measured corresponding property and based on the received data, determine a drug delivery rate. The drug delivery device is configured to deliver the drug to the body of the patient based on the determined drug delivery rate.