Vital Signs Date Bug in 4.1.2 release

yehster wrote on Monday, August 19, 2013:

The 4.1.2 release has a bug with the date field for the Vitals Signs Form.
When creating a fresh entry on
http://demo.open-emr.org:2099
The date field is populated with “1901-12-13 12:45” instead of the current date.
On my system the date field is populated with
“639890-04-06 00:30”
The difference is probably due to differing PHP versions between my system and the demo site.

Dr. Bowen reports having the same problem.

yehster wrote on Monday, August 19, 2013:

This commit appears to be the problem. What seems to be happening is that the date string is being passed in as
20130819152701 which is being interpreted as elapsed number of milliseconds since epoch rather than years/months/day/hours/minutes/seconds.

weesnerkim wrote on Tuesday, August 20, 2013:

This is bad, it has stopped me from entering encounters. I have to have a fix soon or I’m in trouble. I am chasing this myself.
Kevin - you think this is PHP version related? I get 1979-10-09 10:30
- By the way, your allscripts interface is so hot, we just love it.
Kim

yehster wrote on Tuesday, August 20, 2013:

You can patch this immediately with this file:
https://raw.github.com/openemr/openemr/7080e87bbabb66d0456d75c3121f71bd6912572d/library/plugins/shared.make_timestamp.php
download it and overwrite the original file in /library/plugins/

yehster wrote on Tuesday, August 20, 2013:

You can still edit the date after the fact if you have entries with a garbage date.

weesnerkim wrote on Tuesday, August 20, 2013:

Thanks Kevin, your saving my life.

weesnerkim wrote on Tuesday, August 20, 2013:

That fixed it, way to go. One more time, your allscripts interface is totaly cool, good job.

Kim

yehster wrote on Tuesday, August 20, 2013:

Don’t forget to checkout the “Fee Sheet Enhancements” that I wrote for 4.1.2.
Try out the review button on the fee sheet, or click on a CPT code for the improved “justification” method.

blankev wrote on Tuesday, August 20, 2013:

Tnx Kevin for the correction of Vitals!

bradymiller wrote on Wednesday, August 21, 2013:

Thanks Kevin,

Placed the fix in OpenEMR 4.1.2’s first patch:
http://sourceforge.net/p/openemr/discussion/202506/thread/3a8445be/

-brady
OpenEMR

fsgl wrote on Wednesday, August 21, 2013:

Not quite sure how the Review button will be used, but the “Top Ten” list of ICD-9 codes is a nice feature. Even though I know these codes by heart, it will make the transition to ICD-10 easier. Thanks.

weesnerkim wrote on Wednesday, August 21, 2013:

Kevin
I have been using the review feature and I love it, it has cut my time significantly, a very important feature, good job

Kim