Going with the algorithm’s suggestion would always be statistically the best option  so it’s hard to argue that a physician would be negligent in following the algorithm, even if it turns out to be wrong and the doctor ends up harming a patient.