use delegate in model paciente and doctor to cliente