The present invention relates to removing disease causing agent such as pathogens from the blood of a patient. Specifically, the invention relates to using coating materials to trap disease causing agent that is desired to be removed from the blood of a patient. It also related to using lights of specific wavelength to inactivate pathogens. The light is used to activate reactive oxygen species using a photo-sensitizer or directly kill the pathogen using light of wavelength between 100 nm and 450 nm.