| DESCRIPTION OF ENHANCEMENTS |
Defect Tracking System Ticket(s) & Overview:
processing it in Inpatient Pharmacy and editing the STOP DATE before
accepting any order in the complex set of orders, the STOP DATE does not
get updated in CPRS. The problem is that an HL7 message is not sent to
CPRS after the STOP DATE is filed into PHARMACY PATIENT file #55.
Several lines after an HL7 message is sent to CPRS from routine PSJOEA1,
there is a call to UPDREN^PSGOER made where the following fields can be
updated in file #55; VERIFYING NURSE (#16), DATE VERIFIED BY NURSE (#17),
STATUS (#28), STOP DATE/TIME (#34), ADMIN TIMES (#41), FOLLOWING ORDER
(#105), REASON FOR FOLLOWING ORDER (#107), ORDERABLE ITEM (#108), and sub
record LAST RENEW [55.6114DA]. After UPDREN^PSGOER completes, another
===========================================
call to send updates via HL7 message to CPRS does not occur. Any of
these fields that are needed in CPRS may not be up to date in the ORDER
file (#100), most notably fields STATUS (#5) and STOP DATE (#22)
Resolution:
----------
A new call to send an HL7 message to CPRS is added after UPDREN^PSGOER
completes. This allows all the data in PHARMACY PATIENT file (#55) to be
updated when this HL7 message is sent for the current order.
Technical Resolution:
---------------------
In routine PSJOEA1, the call to routine UNL^PSSLOCK that unlocks the
ORDER file (#100) is moved from after the HL7 message is sent at line
CHK+30
....D EN1^PSJHL2(DFN,"SC",PSGORDR) ;,UNL^PSSLOCK(DFN,PSGORDR) move below
p433
This is necessary so that the call to EN1^PSJHL2 at line CHK+38^PSJOEA1
1. INC21776729 - Complex order renewal Stop Date not matching
will have the ORDER file (#100) locked after UPDREN^PSGOER is called at
line CHK+37^PSJOEA1
...D
UPDREN^PSGOER(DA,$P(ND14,U),$P(ND14,U,3),$P(ND14,U,4),$P($G(^PS(53.1,+PSJO
,.2)),U,3),$P(ND14,U,2))
...D EN1^PSJHL2(DFN,"SC",PSGORDR) ;p433
The unlock of the ORDER file (#100) is now at line CHK+42^PSJOEA1
.. D UNL^PSSLOCK(DFN,PSGORDR) ;Move unlock to here p433
between CPRS and Inpatient Pharmacy
Problem:
-------
When renewing a complex order with the AND conjunction in CPRS and
|