The present invention provides a system and method for determining and maintaining a concentration level of medication in a patient sufficient to achieve and maintain a desired effect on that patient. Generally speaking, in accordance with one embodiment of the invention, a medication delivery controller uses a patient response profile to determine a concentration of medication in the patient that will achieve the desired effect on the patient. The patient response profile is a graphical, tabular or analytical expression of the relationship between the concentration of a medication and the effect of the medication at the specific concentration. Using this information, the medication delivery controller provides instructions to a medication delivery unit such as, for example, an infusion pump or inhalation device, to deliver the medication to the patient at a rate that will achieve the desired concentration level of the medication in the patient.