$TXT Created by F at CLN1G1.AAC.DOMAIN.EXT (KIDS) on Thursday, 06/04/20 at 08:15 ============================================================================= Run Date: OCT 27, 2020 Designation: PSO*7*606 Package : PSO - OUTPATIENT PHARMACY Priority: Mandatory Version : 7 SEQ #506 Status: Released Compliance Date: NOV 26, 2020 ============================================================================= Associated patches: (v)PSO*7*591 <<= must be installed BEFORE `PSO*7*606' Subject: ERX 'VISTA SIG' MISSING AND LOGIN DATE STORED WITHOUT TIMESTAMP Category: - Routine Description: ============ This patch will address the following ePrescribing (eRx) issues: INC8108373 - Inbound eRx - Outpatient pharmacy bingo board causing stack error INC10596781 - e-prescription missing SIG or patient instruction Defect Tracking System Ticket(s) & Overview: 1. INC8108373 - Inbound eRx - Outpatient pharmacy bingo board causing stack error Problem: -------- VA Black Hills Health Care System reported a stack error causing VistA to terminate the user's session when they used the Class III VistA option Inpatient Pending Orders Display [PSOZ INPATIENT PENDING ORDERS]. Although the HPS (Health Portfolio Software) Sustainment Team does not support Class III software, it was determined that the root cause of the problem was the fact that the LOGIN DATE field (#15) in the PENDING OUTPATIENT ORDERS file (#52.41) was being populated with only the date (YYYMMDD) and not the time (YYYMMDD.HHMMSS) by the new eRx functionality. Although the field allows for date only content, every other function that creates a new entry in the PENDING OUTPATIENT ORDERS file (#52.41) also sets the timestamp along with the date. Resolution: ----------- This patch will modify the setting of the LOGIN DATE field (#15) in the PENDING OUTPATIENT ORDERS file (#52.41) for eRx pending orders to include the date and timestamp (YYYMMDD.HHMMSS) of when the order was created. This will prevent the error users are getting when running the Class III option mentioned above. Note: This fix will apply to future orders only, filed after the patch is installed. Technical Resolution: --------------------- The setting of the array PSOHY("EDT") at SETUP+72^PSOERX1B and PSOHY+34^PSOERXU3 was changed from PSOHY("EDT")=DT (DT holds the current date in the YYYMMDD format) to PSOHY("EDT)=$$NOW^XLFDT() (the $$NOW^XLFDT() function returns the current date and time in the YYYMMDD.HHMMSS format). 2. INC10596781 - e-prescription missing SIG or patient instruction Problem: -------- The VA Health Administration Center Denver reported that when viewing a RefillResponse type record in the Complete Orders from eRx [PSO ERX FINISH] option, the 'Vista Sig' field under the MEDICATION DISPENSED section was being suppressed, as shown in the example below: ****************************MEDICATION DISPENSED************************* Vista Drug: CHLORAMBUCIL 2MG TAB Vista Qty: 30 Vista Refills: 3 Vista Days Supply: 30 >>> 'Vista Sig' field should be displayed here. VA Rx#: Unable to resolve. Resolution: ----------- It was confirmed that the software was hiding the 'Vista Sig' field because of an error in the code. The defect will be addressed by this patch and the 'Vista Sig' field will display correctly, as shown in the example below: ****************************MEDICATION DISPENSED************************* Vista Drug: CHLORAMBUCIL 2MG TAB Vista Qty: 30 Vista Refills: 3 Vista Days Supply: 30 Vista Sig: TAKE ONE-HALF TABLE BY MOUTH TWICE A DAY FOR 30 DAYS ON A FULL STOMACH VA Rx#: Unable to resolve. Technical Resolution: --------------------- The array variable DIRARY was misspelled at line MEDDIS+37^PSOERXU3 and at line MEDDIS+39^PSOERXU3 it was using the variable DIRECT instead of the DIRARY array. Both issues were resolved. Test Sites: ----------- VA Pacific Islands HCS (Honolulu, HI) White River Junction VAMC (White River Junction, VT) 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. Staff should not be processing prescriptions while patch is being installed. 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 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. or XXXXX BUILD X.X) 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 PSO 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*606 patch have been backed out, the second line of the Routines will no longer contain the designation of patch PSO*7.0*606 in the patch list section. Routine Information: ==================== The second line of each of these routines now looks like: ;;7.0;OUTPATIENT PHARMACY;**[Patch List]**;DEC 1997;Build 5 The checksums below are new checksums, and can be checked with CHECK1^XTSUMBLD. Routine Name: PSOERX1B Before:B204199349 After:B185624398 **467,506,520,527,508,551,591,606** Routine Name: PSOERXU3 Before:B171565124 After:B169980946 **508,591,606** Routine list of preceding patches: 591 ============================================================================= User Information: Entered By : Date Entered : MAR 23, 2020 Completed By: Date Completed: OCT 22, 2020 Released By : Date Released : OCT 27, 2020 ============================================================================= Packman Mail Message: ===================== $END TXT