When "Auto-Create New Encounter" is checked in Administration > Globals > Calendar, and comments are added to the Add/Edit Event window, every time a comment is edited or added to that event and Save is clicked, it will create a new encounter for each time Save is clicked.
The work-around of disabling that function in Globals remedies the issue, but breaks the convenient auto-create functionality.
I suppose, handling the auto-create functionality only when the 'status' (Arrived) is change and not for other edits in the saved appointment will solve the problem.
Brady, we have the solution ready to commit. Shall we commit it in our git repo for review
Hi,
Yes, recommend placing it on github and announcing here for review.
thanks,
-brady
OpenEMR
Hi,
We have placed the fix for the same in our git for your review https://github.com/visolve-openemr/openemr_bug_fixes/commit/Final_Bug_Fix_For_Appointment
Please do share your views
Thanks
ViSolve
Hi,
Thanks for your comments yehster. It sounds reasonable.
We have fixed that and placed in our github for furthur review
https://github.com/visolve-openemr/openemr_bug_fixes/commit/Changed_Fix_For_Appointment_Bug
Please do share your views
Thanks
ViSolve