The present invention provides a system and method for detecting and removinga gas bubble from a vascular infusion line. The system has a disposablecassette (5), a body (10), a flexible hollow tube (15), a base unit (100), asensor (35) to detect the presence of a gas bubble, a pinch valve (40) toarrest the flow of fluid and an electronic control unit (200) to operate thebase unit.