a dialysis machine can be used to remove waste from a patient's blood. which human body system works in a similar way ?