An apparatus is operable to process a medical instrument by passing adetergent and adisinfectant through a plurality of channels defined by the medicalinstrument. The apparatusincludes a detection system, a set of instrument profiles, and a controlsystem. The detectionsystem is configured to collect information regarding the channels of themedical instrument.The control system is configured to pass a detergent and a disinfectantthrough the channels ofthe medical instrument based at least in part on a selected instrument profileselected from the setof instrument profiles. The selected instrument profile is selected based atleast in part on theinformation collected by the detection system.