A cap configured to disinfect a medical device or portion thereof, the cap comprising a power source that provides electric power, an electromagnetic radiation source that uses the electric power received from the power source to emit photons for disinfection and a switch that is configured to be operated by user action, wherein upon activation of the switch, the electric power from the power source is applied to the electromagnetic radiation source to radiate photons onto the medical device or portion thereof.