Continuous ambulatory peritoneal dialysis uses a machine to clean the blood during the day.