A method of infusing a fluid includes receiving values of one or more infusion parameters for an infusion of a fluid. Based on the received infusion parameter values, an occlusion pressure threshold for the infusion of the fluid is automatically calculated. During the infusion, a fluid pressure value is sensed. An indication is provided responsive to whether a value of the sensed fluid pressure is greater than the occlusion pressure threshold.