-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patient dashboard loading is delayed due to the slow execution of demographics.php #7869
Comments
Replace the get_patient_balance method in library/patient.inc.php file. In this method optimized select statement to load in 1-2 seconds.
|
thanks @Valcz , maybe breaking out this function into a class and method in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The patient dashboard takes 2-3 minutes to load when a patient has over 500 encounters, causing significant delays in workflow. The issue appears to be related to processing a large volume of encounter data during dashboard loading. Optimizing performance in such cases is essential to improve usability and efficiency.
Ref:
https://community.open-emr.org/t/patient-dashboard-loading-is-delayed-due-to-the-slow-execution-of-demographics-php/23986
To Reproduce
Steps to reproduce the behavior:
Open Patient Dashboard having 700+ encounter & visits
Expected behavior
takes 2-3 min load dashboard and demographic view
The text was updated successfully, but these errors were encountered: