Disclosed is a system that includes a sensor for acquiring a physiological bioelectrical impedance signal from a patient functionally connected to the computing device. The computing device preferably analyzes the physiological bioelectrical impedance signal and provides outputs an assessment of minute ventilation of the patient based on the analyzed bioelectrical impedance signal. Preferably the system monitors the signal over time provides a control signal to an IV pump that instructs the IV Pump to automatically adjust medication levels by automatically lowering medication levels when respiration levels fall or completely stopping flow of the medication.