Fill an opening
The opening
How patients are ranked
Only patients who are waiting, want this provider/type (or any), are available on this date and whose current appointment is later are shown.
They're ordered by priority, time on the list, and how well the day and time fit their preferences.