Fuzzy Algorithms for Pattern Recognition in Medical Diagnosis