A system is disclosed that includes a sensor for acquiring a physiological bioelectrical impedance signal from a patient functionally connected to a computing device. Preferably, the computing device analyzes the physiological bioelectrical impedance signal and provides an output for an assessment of the patient ' s ventilation rate based on the analyzed bioelectrical impedance signal. Preferably, the system monitors the signal over time, automatically decreasing the drug level when the respiratory level falls, or providing a control signal instructing the IV pump to automatically regulate the drug level by completely stopping the flow of the drug IV pump.컴퓨팅 디바이스에 기능적으로 연결된 환자로부터 생리학적 생체 전기 임피던스 신호를 획득하기 위한 센서를 포함하는 시스템이 개시된다. 바람직하게는, 컴퓨팅 디바이스는 생리학적 생체 전기 임피던스 신호를 분석하고 분석된 생체 전기 임피던스 신호에 기초하여 환자의 분당 환기량의 평가에 대한 출력을 제공한다. 바람직하게는, 시스템은 시간이 지남에 따라서 신호를 모니터링하고, 호흡 수준이 떨어질 경우 약물 수준을 자동으로 낮추거나 약물의 흐름을 완전히 중단시킴으로써 약물 수준을 자동으로 조절하도록 IV 펌프에게 지시하는 제어 신호를 IV 펌프로 제공한다.