Observation:
When logged in to either a city of Hamilton Public Health clinic production site or the 3030 demo server, a user cannot consistently perform a search for existing patients (those who are already enrolled in the program)using the general "search" field, or s using the"make an appointment" search field when searching by just last name or partial last name.
At times, using just the last name will work in the general search field, but then it will not work when preforming a search for a demographic when making an appointment time.
Matches are only returned when searches are in the following format: lastname, first name initial (e.g. Smith, J) or last name, first name. This issue was observed with some patient records but not others and occurs sporadically.
Sample to replicate:
Login to demo site
"Search" Edwards - no results are found
"Search" Edw- no results found
"Search" Edwards, T - Client "Edwards, Tegan" is successfully returned.
Next..
Create an appointment and search for "make an appointment" window for existing client:
Searching for Edwards will not return a match
Searching for Edwards, T will not return a match even though this patient is in program.
Similar issues also occurred with following patient demographics:
o Taylor, Luke – doesn’t work unless “, L”
o White, Josan Doesn’t work in the appointment search but comma with first initial"J" will
Requirement:
A user should be able to search for an existing demographic and have results returned in Search field and in the "make an Appointment" search field using short form of last name and just the last name, as well as "last name, first initial"
https://source.oscartools.org:8080/11270
Master commit: https://source.oscartools.org:8080/#/c/11208/
Re-tested Master -> issue has been resolved