Haematic pH sensor for extracorporeal circulation