A method and a system (100) to prevent occlusion of an intravenous catheter. A housing is provided, which includes a distal end configured to couple to a proximal end of a catheter adapter and an inner lumen forming a fluid pathway. The system (100) includes one or more transmitters (102), which are disposed within the housing. The transmitters (102) are configured to transmit first energy waves along a length of an intravenous catheter at a first frequency, and a portion of the first energy waves that are reflected back from the catheter is detected by the system (100). Based on the portion of the first energy waves that are reflected back from the catheter, the transmitters (102) transmit second energy waves along the length of the catheter at a second frequency, which is greater than the first frequency and configured to reduce formation of blood clots within the catheter.