$TXT Created by at MNTVBB.DOMAIN.EXT (KIDS) on Wednesday, 10/14/20 at 15:06 ============================================================================= Run Date: DEC 16, 2020 Designation: PSO*7*627 Package : PSO - OUTPATIENT PHARMACY Priority: Mandatory Version : 7 SEQ #513 Status: Released Compliance Date: JAN 16, 2021 ============================================================================= Associated patches: (v)PSO*7*452 <<= must be installed BEFORE `PSO*7*627' Subject: SUSPENSE FUNCTION OPAI HL7 ORDER CONTROL CODE REASON ISSUES Category: - Routine Description: ============ This patch addresses the following issue: The "Order Control Code Reason" indicator sent to outpatient dispensing robots in the ORC-16 HL7 field might be incorrect if the prescription was queued to print from an option located in the Suspense Functions [PSO PND] menu. Defect Tracking System Ticket(s) & Overview: INC12531895: Suspense Function Printing/Reprinting Outpatient Pharmacy Automation Interface (OPAI) Health Level 7 (HL7) Issues Problem: -------- Two outpatient dispensing robot issues occur when printing from the Suspense Functions [PSO PND] menu: 1. The Print from Suspense File [PSO PNDLBL] option sends an HL7 ORC-16 Order Control Reason indicator of "NEW" instead of "REFILL" for refills. 2. The Reprint Batches from Suspense [PSO PNDRPT] option sends an HL7 ORC-16 Order Control Reason indicator of "NEW" instead of "REPRINT" when reprinting original (i.e. not refill) prescriptions. Resolution: ---------- 1. Modify routine PSOSULBL to set the Order Control Reason indicator as "REFILL" for refill prescriptions printed from the Print from Suspense File [PSO PNDLBL] option which is located under the Suspense Functions [PSO PND] menu. 2. Modify routine PSOSUSRP to set the Order Control Reason indicator as "REPRINT" when reprinting original (i.e. not refill) prescriptions. Reprint refills will continue to be sent with a "REFILL" status since there is no status field available for "reprints of refills". The receiving system parses the ORC segment based on statuses of "NEW", "REFILL", and "REPRINT" and needs to be able to accurately determine whether the transaction is a refill. Further explanation: Vendor parsing logic is as follows for OPAI RDS-O13 dispense request HL7 message to robot. ORC|16 is the Order Control Code; it can be one of four values: NEW, REPRINT, REFILL, or PARTIAL. ORC|15 (Order Effective Date) is the Original Label Date in VistA. RXD|3 (Date/Time Dispensed) is the Dispense Date in VistA. Routines: PSOSULBL, PSOSUSRP Test Sites: ----------- Louisville VA Medical Center (Louisville, KY) Orlando VA Healthcare System (Orlando, FL) Connecticut VA Healthcare System (West Haven, CT) Software and Documentation Retrieval Instructions: -------------------------------------------------- The software for this patch is being released in a PackMan message. Patch Installation: ------------------- Pre-Installation Instructions: This patch may be installed with users on the system although it is recommended that it be installed during non-peak hours to minimize potential disruption to users. This patch should take less than 5 minutes to install. Installation Instructions: 1. Choose the PackMan message containing this build. Then select the INSTALL/CHECK MESSAGE PackMan option to load the build. 2. From the Kernel Installation and Distribution System [XPD MAIN] Menu, select the Installation Menu. From this menu, A. Select the Verify Checksums in Transport Global option to confirm the integrity of the routines that are in the transport global. When prompted for the INSTALL NAME enter the patch or build name. (ex. PSO*7.0*627) NOTE: Using will not bring up a Multi-Package build even if it was loaded immediately before this step. It will only bring up the last patch in the build. B. Select the Backup a Transport Global option to create a backup message of any routines exported with this patch. It will not backup any other changes such as DDs or templates. C. You may also elect to use the following options: i. Print Transport Global - This option will allow you to view the components of the KIDS build. ii. Compare Transport Global to Current System - This option will allow you to view all changes that will be made when this patch is installed. It compares all of the components of this patch, such as routines, DDs, templates, etc. D. Select the Install Package(s) option and choose the patch to install. i. If prompted 'Want KIDS to Rebuild Menu Trees Upon Completion of Install? NO//', answer NO. ii. When prompted 'Want KIDS to INHIBIT LOGONs during the install? NO//', answer NO. iii. When prompted 'Want to DISABLE Scheduled Options, Menu Options, and Protocols? NO//', answer NO. Back-out/Roll Back Plan: ----------------------- Back-out will be done only with the concurrence and participation of development team and appropriate VA site/region personnel. The decision to back-out or rollback software will be a joint decision between development team, VA site/region personnel and other appropriate VA personnel. Prior to installing an updated KIDS package, the site/region should have saved a backup of the routines in a mail message using the Backup a Transport Global [XPD BACKUP] menu option (this is done at time of install). The message containing the backed-up routines can be loaded with the "Xtract PackMan" function at the Message Action prompt. The Packman function "INSTALL/CHECK MESSAGE" is then used to install the backed up routines onto the VistA System. The back-out plan is to restore the routines from the backup created. No data was modified by this patch installation and, therefore, no rollback strategy is required. Validation of Back-out Procedure: -------------------------------- The Back-out Procedure can be verified by printing the first 2 lines of the routines contained in this patch using the option First Line Routine Print [XU FIRST LINE PRINT]. Once the routines contained in the PSO*7.0*627 patch have been backed out, the first two lines of the routines will no longer contain the designation of this patch in the patch list section on line 2. Routine Information: ==================== The second line of each of these routines now looks like: ;;7.0;OUTPATIENT PHARMACY;**[Patch List]**;DEC 1997;Build 2 The checksums below are new checksums, and can be checked with CHECK1^XTSUMBLD. Routine Name: PSOSULBL Before:B105467816 After:B107637409 **139,173,174,148,200,260,264, 287,289,290,354,421,370,427, 466,539,452,627** Routine Name: PSOSUSRP Before: B14336043 After: B16530469 **354,627** Routine list of preceding patches: 452 ============================================================================= User Information: Entered By : Date Entered : SEP 28, 2020 Completed By: Date Completed: DEC 16, 2020 Released By : Date Released : DEC 16, 2020 ============================================================================= Packman Mail Message: ===================== $END TXT