How to predict the patient loyalty in a clinic