A method and system for detecting an inclusion within an infusion system. The method includes monitoring an output signal of a flowrate sensor as fluid flows through an infusion system. The output signal is then converted with a noise reduction filter to obtain a filtered output signal. The filtered output signal is compared to a threshold value and an alarm is activated if the filtered output signal falls below a desired threshold, thereby indicating an occlusion within the infusion system.