When using the find box, searching for a name and clicking the "Any" link will not find the patient. The user has to click on the "Name" link in order to find a patient by name.
The latest code from git seems to be working fine. Find by "Name" will find by last name and by "Any" does a wild card search in both first and last name.
I see that this is still considered open, so I've tested a few situations out.
Based on having a patient named John H Smith:
I have an update for this to improve the functionality of the search by "Name"... my plan is to update the search by "Any" function next to incorporate this.
To test this, I have a patient named John H Smith and another named John Ronald Reuel Tolkien. ("Roland Reuel" is entered in the Middle Name field.) Here are some of my test results:
My modification is for the /library/patient.inc, with modification to the getPatientLnames function and a new function called getPatientNameSplit.
Here is my changelist:
-Pinellas Hack Shack Member
Note there were two very recent commits in official codebase here that are related:
So, you will need to refactor your fix a bit on top of most recent codebase.
Log in to post a comment.