A method, system and apparatus for performing peritoneal dialysis are provided.
To this end, in part, a method of controlling pressure in a medical fluid pump
is provided. The method includes the steps of controlling a pump member acceleration
during a first portion of a pump stroke and adaptively changing the pump member
velocity during a second portion of the pump stroke.