Usage of the S-type equivalences in medical data classification