When we select an appointment say 'appointmnetOne' in list view and then move to patient search and click on edit appointmentOne is opened in edit mode.
*Expected: *When we move to patient search no appointment should be selected.
Steps to Reproduce:
As shown in the above screenshot
Only select “Test Diabetes” in the list view
Go to “Patient Name or ID” search button and select “Test Hyperthyroidism” patient and enter
Once the search is done, click on “Edit” button on the bottom of the page
It opens up the edit page for “Test Diabetes” instead “Test Hyperthyroidism”
Expectation: it should open “Test Hyperthyroidism” edit screen.