Filter appointments by provider in List/Calendar view on load

Hi Everyone,

We are using the Bahmni appointments module on top of an OpenMRS implementation. We have a requirement to filter appointments based on provider by default during page load in appointments list view & calendar view pages.

So when we are expecting to achieve this by passing provider uuid in the query string. The below urls will filter appointments respectively in list & calendar view pages.

Calendar View Page

{app-url}/appointments/index.html#/home/manage/appointments/calendar?provider={provider-uuid}

List View Page

{app-url}/appointments/index.html#/home/manage/appointments/list?provider={provider-uuid}

We are using existing filter for achieving this functionality

We have also created a card for the same. https://bahmni.atlassian.net/browse/AP-35

Please let us know your thoughts.

@angshuonline, @mksd, @snehabagri, @binduak, @mddubey, @sukreet, @rmkanda

Created a PR for this change.

1 Like