Aec blood test calculation