Privacy-preserving data mining for distributed medical scenarios