Hi all. Tony wanted me to let the forum know about a helpful snippet of code written by Terry Hill. This code allows reverse sorting of past appointments if the user puts a negative number in the global field. The link to the repo with Terry’s addition can be found here:
Will port this to dev tip (it’s 412 based) and merge it later this evening if we hear no objections. Terry is working on some other cool stuff, like UB04 support as well.
PS: Daniel is my newest employee and is soaking up OpenEMR modalities rapidly…
–
Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone. The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to hipaa-security@mrsb-ltd.com and
destroy this message.
Queries used for the appointment widgets do not consider recurring appointments accurately. In case anyone is interested, we use attached code based on appointments standard function. Create and test the patch for demographics.php as follows:
Add the following line somewhere
require_once("$srcdir/appointments.inc.php");
Replace the code between the following lines by attached file
// Show current and upcoming appointments.
…
// END of past appointments
To keep appointments relevant, code looks for 3 years in past and 1 year in future. Obviously there are better solutions and different approaches. This is one of the possibilities.
Sorry, can’t provide a patch - severely diverged UI & functionality differences.