Ambulatory pumps operate using a variety of mechanisms, including peristaltic, piston, and diaphragm pumps. They are programmed to deliver precise amounts of medication or fluid at predetermined intervals. Many pumps feature safety mechanisms to prevent over-delivery, under-delivery, or accidental bolus administration.