Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
None
-
None
-
Low
Description
When registering a new patient, after inputting the new patient name, a list of similar already registered patients should be retrieved and shown on top of the "Register a patient" section.
The issue is that, if more than one similar patient exists, an error occurs on the backend and, no similar patients are retrieved and shown.
No indication of the error is shown to the user, application frontend behaves as if there are no existing similar patients. Error is seen when analysing the browser requests though.
To reproduce:
- Open the browser developer console to view the network requests
- Login to qa-refapp
- Go to "Register a patient"
- Input "John" for given name and "S" for family name
- Click on an empty spot to trigger the onblur of the input
- No similar results are shown although we already have 3 existing patients with similar name
- On the developer console we see that, the request to retrieve similar results, returned http 500
When creating a new patient:
Existing patients: