create method doctor_select in UI