pathology diagnostic algorithms