Dropdown entity source - cannot display correct type of user
Application Type

I have a screen with a form where a pet owner can register their pet. The issue is that on this screen, I want a dropdown where the owner can select the veterinarian for that pet. (I'm not sure if it's the most convenient regarding UX, but I think it's irrelevant to this question...). The problem is that the dropdown I implemented displays all the registered users in my domain, and I only want the veterinarians to appear (for whom I already have an entity).

How can I do this? Do I need to populate the "veterinarians" entity first and use it as the source entity for the form's dropdown? Since I created the 'veterinarian' role, is it possible to introduce some logic that only returns users registered as vets?

Thank you for your availability!"