| DESCRIPTION OF ENHANCEMENTS |
This patch will resolve the following issue:
Problem:
-------
The Togus VA Medical Center reported a problem with the Activity Log after
editing the Stop Date/Time on an IV order using the Inpatient Order Entry [PSJ
OE] option. After they edited the Stop Date/Time field if correctly created a
new order, however the Activity log for the original/discontinued order showed
a 'Changed From' value equal to the new Stop Date/Time entered by the user
instead of the original Stop Date/Time before the order was edited. Below is a
capture of the Activity Log display showing the problem:
...
# MMM DD,YYYY HH:MM:SS EDIT USER,NAME
Comment: Order discontinued due to edit
Field: 'STOP DATE/TIME'
Changed from: 'MMM DD,YYYY HH:MM' <<< New Stop Date/Time (wrong)
To: 'MMM DD,YYYY HH:MM' <<< Current Date/Time (correct)
...
1) INC16771491 - Activity Log shows wrong 'Changed from' value when Stop
Resolution:
----------
After a few tests it was identified that the software was indeed using the
wrong value for the Stop Date/Time when recording the 'Changed From' value in
the Activity log of the original/discontinued order when the Stop Date/Time
was edited by the user. A change was made to use the original Stop Date/Time
value from the orignial order instead of using the new Stop Date/Time entered
by the user for the new order.
Technical Resolution:
Date/Time field is edited and Order is DC'd
--------------------
The Activity Log entry is recorded by the code in STOP^PSIVORAL. It used the
value in the P(3) array variable to compare against the value in the order to
identify whether the field had been changed or not and also used this value to
record the 'Changed from' value in case it determines it was changed. The
problem happened because the value in the P(3) array variable contained the
Stop Date/Time value for the new order and not the original value (before the
user edited). The code was changed to use the value from the ORIGINAL STOP
DATE field (#116) in the IV sub-file (#55.01) in the PHARMACY PATIENT file
(#55) for DC'd orders as the 'Changed From' value instead of the value in the
P(3) array variable.
Defect Tracking System Ticket(s) & Overview:
--------------------------------------------
1) INC16771491 - Activity Log shows wrong 'Changed From' value when Stop
Date/Time field is edited and Order is DC'd
|