In either configuration, blood in the first compartment is pumped along one side of a semipermeable membrane while a crystalloid solution (dialysate) is pumped along the other side, in a separate compartment, in the opposite direction.