An apparatus and method for detecting an occlusion in a downstream fluid line of a medical pump in relation to increased pressure in the downstream fluid line between the beginning and the end of each interval of a series of intervals of operation of the pump even if one or more intervals between the first and last intervals does not reflect such an increase in pressure in the downstream fluid line.