Added code to group appts with same date into sets for display in the Patient Summary...
commit9dc1347e190634e5e0780bd2ab9412a8d1cefcd4
authorepsdky <sequex@hushmail.com>
Fri, 10 Jun 2016 21:24:10 +0000 (11 07:24 +1000)
committerbradymiller <bradymiller@users.sourceforge.net>
Sun, 12 Jun 2016 06:51:33 +0000 (11 23:51 -0700)
tree1cd8d2441110bd5a9845c210d4e8635d306dabc5
parent9537e6230fdef82bf93e80b725be0a466d13793a
Added code to group appts with same date into sets for display in the Patient Summary, take 2.

Added code to group appts with same date into sets for display in the Patient Summary

When the number of appts scheduled is greater than the number of appts configured to appear in the Appointments widget the last set turns green if all appts for the corresponding date are included for display and pink if all appts are not present.

Also two fixes...

Fix 1.

If the Calendar (including the Appointments widget) is deactivated the Clinical Reminders widget is disabled also (it was within the scope of the if statement that controls whether the Appointments code executes).

Fix 2.

When an appt is opened for editing in the Past Appointment widget fields contain either no data or wrong data (parameter list mismatch between call to oldEvt from Past Appointment code and the function itself caused when I changed oldEvt to support recurring appts in Appoinments).
interface/patient_file/summary/demographics.php