$TXT Created by at CLN2G2.AAC.DOMAIN.EXT (KIDS) on Thursday, 08/09/18 at 13:03 ============================================================================= Run Date: NOV 28, 2018 Designation: PSA*3*80 Package : PSA - DRUG ACCOUNTABILITY Priority: Mandatory Version : 3 SEQ #62 Status: Released Compliance Date: DEC 28, 2018 ============================================================================= Associated patches: (v)PSA*3*70 <<= must be installed BEFORE `PSA*3*80' (v)PSA*3*71 <<= must be installed BEFORE `PSA*3*80' (v)PSA*3*72 <<= must be installed BEFORE `PSA*3*80' Subject: INVENTORY BALANCE PROBLEM AFTER INVOICE EDITING Category: - Routine Description: ============ This patch will resolve the following issue. INC0933704 - Unable to correct vault medication with negative balance which is also inactive in the drug file Defect Tracking System Ticket(s) & Overview: -------------------------------------------- INC0933704 - Unable to correct vault medication with negative balance which is also inactive in the drug file Problem: -------- VA Southern Nevada reported that they were unable to correct vault medication with negative balance which is also inactive in the drug file. The negative balance is caused by a problem in the Edit Verified Invoices [PSA EDIT VERIFIED INVOICE] option which incorrectly records transactions when an invoice is edited and a controlled substance drug is replaced with a non-controlled substance drug and vice-versa. Resolution: ----------- Modified the Edit Verified Invoices [PSA EDIT VERIFIED INVOICE] option to correctly record inventory transactions accordingly whether the drug is marked as controlled substance or not. Technical Resolution: --------------------- Changed the routines PSAVERA, PSAVERA1 and PSAHIS1 which are responsible for updating the inventory transactions after a verified invoice is edited. Patient Safety Issues (PSIs): ----------------------------- N/A Test Sites: ----------- Black Hills VAMC Southern Nevada HCS Pre/Post Installation Overview: ------------------------------- It is not necessary to disable any options. Pre-Installation Instructions: ------------------------------ This patch should be installed during non-peak hours to minimize potential disruption to users. This patch should take less than 2 minutes to install. Installation Instructions: -------------------------- 1. Choose the PackMan message containing this patch. 2. Choose the INSTALL/CHECK MESSAGE PackMan option. 3. From the Kernel Installation and Distribution System Menu, select the Installation Menu. From this menu, you may elect to use the following options. When prompted for the INSTALL NAME enter the patch # (ex. PSA*3.0*80): a. Backup a Transport Global - This option will create a backup message of any routines exported with this patch. It will not backup any other changes, such as DDs or templates. b. 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 components of this patch: routines, DDs, templates, etc.). c. Verify Checksums in Transport Global - This option will allow you to ensure the integrity of the routines that are in the transport global. 4. From the Installation Menu, select the Install Package(s) option and choose the patch to install. 5. When Prompted "Want KIDS to INHIBIT LOGONs during the install? NO//" respond NO. 6. When Prompted "Want to DISABLE Scheduled Options, Menu Options, and Protocols? NO//" respond NO. 7. If prompted 'Delay Install (Minutes): (0-60): 0//' respond 0. Post Installation Instructions: ------------------------------- None. Installation Verification: -------------------------- Successful installation can be verified by reviewing the first 2 lines of the routines contained in the patch. The second line will contain the patch number in the [PATCH LIST] section. ;;3.0;DRUG ACCOUNTABILITY/INVENTORY INTERFACE;**[Patch List]**; 10/24/97 The option Calculate and Show Checksum Values [XTSUMBLD-CHECK] can be run to compare the routine checksums to what is documented in the patch description. Back-out Procedures: -------------------- 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. Routine Information: ==================== The second line of each of these routines now looks like: ;;3.0;DRUG ACCOUNTABILITY/INVENTORY INTERFACE;**[Patch List]**; 10/24/97;Build 2 The checksums below are new checksums, and can be checked with CHECK1^XTSUMBLD. Routine Name: PSAHIS1 Before: B41022189 After: B47572389 **3,69,72,80** Routine Name: PSAVERA Before: B44615569 After: B75199708 **21,36,40,53,63,70,80** Routine Name: PSAVERA1 Before: B61000671 After: B68129439 **21,61,63,70,71,80** Routine list of preceding patches: 71, 72 ============================================================================= User Information: Entered By : Date Entered : AUG 01, 2018 Completed By: Date Completed: NOV 28, 2018 Released By : Date Released : NOV 28, 2018 ============================================================================= Packman Mail Message: ===================== $END TXT