| DESCRIPTION OF ENHANCEMENTS |
When editing a prescription through the pharmacy backdoor, if the
Prescriptions [PSO EXPIRE PRESCRIPTIONS] and the Manual Auto Expire Rxs
[PSO MANUAL AUTO EXPIRE] options both use the "AG" cross-reference to
flag prescriptions past the expiration date as expired and they do
not flag those prescriptions that had a missing "AG" cross-reference
entry. Hence, the expired prescriptions show as active, especially when
using the Orders Tab protocol from the Computerized Patient Record System
(CPRS) package. This patch ensures that the "AG" cross-reference is reset
only when the expiration date changes.
The Expire Prescriptions [PSO EXPIRE PRESCRIPTIONS] and the Manual Auto
following fields are edited: QTY field (#7), DAYS SUPPLY field (#8) or #
Expire Rxs [PSO MANUAL AUTO EXPIRE] options are patched to have an
additional check to ensure that the expiration date subscript in the
"AG" cross-reference is equal to the EXPIRATION DATE field (#26) of the
PRESCRIPTION file (#52), and to flag those prescriptions that have
expired in Outpatient Pharmacy but show as active in the CPRS Orders Tab
as expired.
The Expire Prescriptions [PSO EXPIRE PRESCRIPTIONS] option flags
prescriptions that have passed the expire date as expired and sends an
HL7 message across to CPRS to flag those prescriptions as expired.
OF REFILLS field (#9), of the PRESCRIPTION file (#52), the software
Currently, this functionality not only sends the expire message for
expired prescriptions but also for discontinued prescriptions, and as a
result in CPRS the discontinued prescriptions are flagged as expired,
which is incorrect. This patch will ensure that only expired
prescriptions are sent across to CPRS to be flagged as expired.
Note: There is an optional site selectable post-install background job
included in this patch. This job will make sure that the "AG"
cross-reference of the EXPIRATION DATE field (#26) of the PRESCRIPTION
file (#52) is properly set, starting from the date Outpatient Pharmacy V.
recalculates the EXPIRATION DATE field (#26) of the PRESCRIPTION file
7.0 was installed. It will also reset the statuses of all those
discontinued prescriptions which were flagged as expired in CPRS by the
Expire Prescriptions [PSO EXPIRE PRESCRIPTIONS] option back to
discontinued statuses. At the completion of this job, a MailMan message
with the subject "PATCH PSO*7*73 - 'AG' Cross-reference Cleanup
Information", will be sent to the installer notifying the time of
completion. The date/time to queue this job is site selectable and can be
queued to run during the installation of the patch or at another time by
calling the entry point BEG^PSOPOST from programmer mode. Also the site
could use this entry point at any time to re-start the cleanup process in
(#52) and also kills the corresponding "AG" cross-reference entry of the
case the job was interrupted for any reason.
For sites experiencing the problem reported above, i.e., prescriptions
past the expiration date appearing as active, it is recommended that
they also run the Manual Auto Expire Rxs [PSO MANUAL AUTO EXPIRE] option
any time after the completion of the Post-Install run of this patch.
PRESCRIPTION file (#52). In the case when the expiration date remains the
same after the edit process, it does not reset the "AG" cross-reference
entry and therefore the link to the PRESCRIPTION file (#52) for that
prescription from the "AG" cross-reference is lost. The Expire
|