New Date Widget

sunsetsystems wrote on Thursday, June 29, 2006:

This is to announce that I have found and tried out an excellent replacement for the old popup calendar widget.  Most importantly it solves the problem with IE where some form fields such as <select> lists were bleeding through.  In addition the new widget is nicer and more versatile.

The license is LGPL.  You can learn more about it at:

http://www.dynarch.com/projects/calendar/

I have checked in the following new files from this project (with new names to keep it clean for us):

openemr/library/dynarch_calendar.js
openemr/library/dynarch_calendar_en.js
openemr/library/dynarch_calendar_setup.js
openemr/library/dynarch_calendar.css

So far I’ve put this into only three OpenEMR source modules:

interface/main/calendar/add_edit_event.php
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/default.html
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/week/default.html

You can see the changes required to make the switch by running this command, assuming you have
a current CVS checkout:

cvs diff -r 1.7 -r 1.8 interface/main/calendar/add_edit_event.php

I won’t have time to get back to this for a week or two.  If anyone is interested in similarly changing the remaining places in OpenEMR that use popup calendars, please leave a note here to avoid any duplicated effort.

Rod
www.sunsetsystems.com

drbowen wrote on Sunday, July 02, 2006:

Thanks Rod for all that you do for us.

Sam Bowen, MD

drbowen wrote on Saturday, July 08, 2006:

I’m liking all the new additions.

Ron McDaniel had this to say about the date widget:

"""It would be nice if the button used for the date picker was also used on the "Billing View" to assist in choosing the date. It should be used throughout the program for consistency and to reduce user error. Just a thought."""

Seems like a good idea to me.  Ron McDaniel describes himself as "IT Director for school system, consultant/engineer"

Sam Bowen

sunsetsystems wrote on Sunday, July 09, 2006:

Agree 100%.  It would not be difficult, I just don’t happen to have any funding for that item at the moment.

Rod
www.sunsetsystems.com

markleeds wrote on Sunday, July 09, 2006:

I agree with the date widget everywhere idea too.  I think I tried to do it a while back and it was not the quick cut&paste job I thought it would be.

Regarding the billing page, what about filtering by patient id and/or primary insurance company?  I have this working in my version and I have found it to be useful, especially when I had to reprint all of my medicare claims because of a date and zip code problem.

markleeds wrote on Sunday, July 09, 2006:

I just added the new date widget to the billing report page for the From and To dates.

The changes are committed, so try it out.  You can most likely just replace the one file with no problem:

openemr/interface/billing/billing_report.php