Using Supervised and Unsupervised Techniques to Determine Groups of Patients with Different Doctor-Patient Stability