Error in the statistics provided by the flow chart

Good morning. I’ve been using OpenEMR since version 5. I’ve noticed a bug in the flow dashboard statistics from that version to the current one. I’ve also tested it on the demo version of the official website, version 7.0.3, and it hasn’t been fixed.
Below I’m uploading two demo images. The problem is that in the statistics, regardless of the filter used (professionals, centers, etc.), the statistics don’t change. They’re always the same and refer to all the appointments that day, for all professionals and all centers, which seems incorrect.
I’d like to help fix the bug, but I have almost no experience with PHP programming.
We hope @sjpadgett , @stephenwaite o @adunsulag can help us.
Best regards.


I’d bet it was designed this way. I’ll look.

1 Like

As suspected, I verified the current design ignores the left filter args for filtering view.
This is why the Filter button is positioned to right under right panel.

However we have the capability suggesting it once worked the way desired but was removed. My guess is for performance reasons because in the past we had numerous complaints concerning performance.

Not sure I want to change the behavior because I already get yelled at enough! :slight_smile:

Jerry, thank you so much for noticing. It’s a shame, since without the filters active, the statistics aren’t very useful, and I think this is an important issue for many. I remember some performance issues I detected, and luckily they were able to resolve them, but it wasn’t related to the filters. Could it have that much of an impact? If you want to try, I can modify what you tell me in mine (the same one that detected the problem that time) and I’ll test it. Thanks again, and best regards.

PD: On the other hand, the filters are active, but they are not used for accounting in the statistics.

I’ll get you something

Here’s PR Restore Flow Board Filter by sjpadgett · Pull Request #8700 · openemr/openemr · GitHub
Let me know

1 Like

Hi Jerry, I came to my office (where I have the server running openemr 7.0.2 on Win 10 + XAMPP) to test the modification…and…
I just tried it. I even tried filtering from January to today with three professionals, and it works perfectly, with completely normal times for the date ranges. Thanks a lot, Jerry. I’ll write back in a couple of weeks to confirm that it’s still working.