| DESCRIPTION OF ENHANCEMENTS |
Patch PSJ*5*275 introduced an issue with the Inpatient Profile that
Orders with stop dates earlier than the last admission date were ignored
by the profile; their statuses were not updated, and they were not
displayed.
Patch PSJ*5*275 attempted to make the inpatient profile consistent by
honoringing the HOURS OF RECENTLY DC/EXPIRED (#7) field in the INPATIENT
WARD PARAMETERS (#59.6) file so that no order would display if its stop
date was older than the value defined by this parameter. However, the
patch incorrectly retrieved the parameter's nominal 'hours' value
instead of its calculated 'date' value (derived by subtracting the hours
caused very old, corrupted Unit Dose orders display on the Inpatient
from the current date/time), so that regardless of the value of the
parameter, virtually no orders were ignored when displaying the profile.
Finally, while patch PSJ*5*275 changed how far into the past the profile
began searching for orders' stop date, the process that auto-expired
orders from the inpatient profile did not change, allowing corrupted
orders with stop dates in the past, and statuses of active or renewed,
to display in the patient's Inpatient medication profile without
performing a corresponding auto-expire on these orders.
Profile. This patch corrects the problem.
This patch corrects the issue by changing how the inpatient profile
begins to look for orders with stop dates in the past to the calculated
value of the HOURS OF RECENTLY DC/EXPIRED (#7) field in the INPATIENT
WARD PARAMETERS (#59.6) file subtracted from the current date/time.
For Example, given two active orders with stop dates in the past, and an
admission date, and a HOURS RECENTLY DC/EXPIRED value, the
following functionality would be observed prior to PSJ*5*275,
with PSJ*5*275, and after PSJ*5*275:
Current Date/Time : 06/06/2013@1300
Last Admission Date : 06/04/2013@1300
HOURS OF RECENTLY DC/EXPIRED : 120
Order 1 : Stop Date 01/01/2001@2400, Status=ACTIVE
Order 2 : Stop Date 06/03/2013@2400, Status=EXPIRED
Order 3 : Stop Date 06/05/2013@1200, Status=ACTIVE
Prior to PSJ*5*275 : (Order 1 is ignored and remains active)
(Order 2 is ignored and remains expired)
Prior to PSJ*5*275, the Inpatient Profile attempted to display only Unit
--------------------------------------------------------------------------
Inpatient Order Entry Jun 06, 2013@13:00:00 Page: 1 of 1
- - - - - - - RECENTLY DISCONTINUED/EXPIRED (LAST 120 HOURS) - - - - - -
-
1 Order 3 C 06/04 06/05 E
Give: PO Q4H
With PSJ*5*275 (Orders 1 and 2 are displayed and remain active)
--------------------------------------------------------------------------
Dose orders with a stop date later than the patient's last admission
Inpatient Order Entry Jun 06, 2013@13:00:00 Page: 1 of 1
- - - - - - - - - - - - - - - A C T I V E - - - - - - - - - - - - - - -
1 Order 1 C 12/30 01/01 A
Give: 10MG PO TID
2 Order 2 C 06/02 06/03 A
Give: 10MG PO TID
- - - - - - - - - RECENTLY DISCONTINUED/EXPIRED (LAST 24 HOURS) - - - -
- - - -
3 Order 3 C 06/04 06/05 E
Give: PO Q4H
date. Orders within this same period were checked for auto-expiration; if
With PSJ*5*292 (Order 1 is ignored and remains active)
(Order 2 is displayed and remains expired)
-------------------------------------------------------------------
Inpatient Order Entry Jun 06, 2013@13:00:00 Page: 1 of 1
- - - - - - RECENTLY DISCONTINUED/EXPIRED (LAST 24 HOURS) - - - - - - - -
1 Order 2 C 06/02 06/03 E
Give: 10MG PO TID
the order's stop date was in the past, the status was changed to expired.
2 Order 3 C 06/04 06/05 E
Give: PO Q4H
|