Filtering material out of the blood by passing it through a membrane