New/Search issues on version 8

Since upgrading to 8.0 from 7.0, we have an unusual issue which might be a bug. We have 33,000 patient records, and if we search using FINDER, it works as normal. But if we search using Patient → New/Search, it does not. We can’t find patients that way. We can use first name, last name, DOB, whatever, and no matter what, it just returns a list of all patients. New/Search does work as expected when adding new patients - no problems there. Adding and dup check all good. But New/Search will not properly search for anyone. Thoughts?

OpenEMR Version
8.0.3

Browser:
Chrome, Opera, Firefox, Safari - all same issue

Operating System
Mac/PC all same issue

1 Like

hi @hay201, we have a fix up.

1 Like

Awesome! So grateful for this forum and people like you!

1 Like

I came to ask this same question. I assume this will be in the next patch? If so, do you know when that might be released?

Are the linked changes safe to implement?

I implemented this fix last night. It seems to work. Thanks for this @stephenwaite .

We also implemented the fix in that line of code. However it only is working sometimes. With your fix, if we go and do a search in the new/search page, it works. It works for the first search. We get the correct result. If we click on the resulting patient from the list, and go to their dashboard, and then return to the new/search page to search again for someone else, it also works. Each time we leave the new/search page, and come back, and run a single search, it works. Of course this is the most common scenario for people.

But there’s still an issue. If we do NOT click on one of the returned results. If we just close the search results box without clicking a patient, and STAY on the new/search page, then if we run another search after that, it does not work - it returns all results. In other words, if you run a second search on the new/search page without going anywhere else, it doesn’t work. Or a third, or a fourth… This doesn’t happen often, but it does happen. Let’s say you made a typo while searching - you close the box because it has the wrong results in it, and you want to immediately search again to get the right patient. Well that won’t work. You have to go somewhere else and return to the new/search page.