How do I filter a list of doctors?

I am trying to build an appointment booking app. The app will have a search and results page.
In the search page, patients will be able to select their appointment dates.
In the results page, a list of doctors who are available on that date will be displayed.
My assumption is that there are certain dates of the year where some doctors will take time off while others will be available to attend to patients.
What logic should I use to ensure that only doctors available on the date selected by the patients are displayed on the results page?

This topic was automatically closed after 70 days. New replies are no longer allowed.