select group in appointment