Refactor for getProfessionalList method.