$TXT Created by WESLEY,PAUL at MNTVBB.FO-ALBANY.MED.VA.GOV (KIDS) on Friday, 09/09/05 at 13:43 ============================================================================= Run Date: OCT 27, 2005 Designation: PSA*3*53 Package : PSA - DRUG ACCOUNTABILITY Priority: Mandatory Version : 3 SEQ #38 Status: Released Compliance Date: NOV 27, 2005 ============================================================================= Associated patches: (v)PSA*3*15 <<= must be installed BEFORE `PSA*3*53' (v)PSA*3*40 <<= must be installed BEFORE `PSA*3*53' (v)PSA*3*42 <<= must be installed BEFORE `PSA*3*53' Subject: EDIT VERIFIED INVOICES, NEW DRUGS INDEXES & MESSAGES Category: - Routine Description: ============ This patch addresses the following problems: 1. HD68490 Editing Verified Invoices [PSA EDIT VERIFIED INVOICE] Saying 'NO" to processing the edit changes made for DISPENSE UNITS field (#14.5) and/or DISPENSE UNITS PER ORDER UNIT field (#15) of the Drug file (#50), does not restore those fields to their previous values. 2. HD68779 Editing Verified Invoices [PSA EDIT VERIFIED INVOICE] A drug that is newly picked and added newly to a pharmacy location in the DRUG ACCOUNTABILITY STATS file (#58.8) has several of it's indexes scrambled and the users are not able to select the drug within that pharmacy location for any further processing purposes. A post init routine will scan and clean up bad indexes it finds. 3. HD100058 Drug Balances by Location [PSA DISPLAY LOCATION] The report menu "Drug Balances by Location" show entries for inactive drugs that have a zero quantity. Those items are now not to be shown. 4. HD108683 Verify Invoices [PSA VERIFY INVOICES] Drugs that are new to a pharmacy location in the DRUG ACCOUNTABILITY STATS file (#58.8) may need more data such as current balance, stock level, and reorder levels entered to complete their setup for processing. A separate, individual mail message is currently sent regarding each drug that is newly added. The volume of messages is overwhelming. A single consolidated mail message by invoice regarding drugs that are newly added is needed to replace the individual mail messages. The mail messages will no longer be sent to holders of the PSAMGR and PSDMGR keys, but will now be sent only to the mail group G.PSA NDC UPDATES. ASSOCIATED NOIS/REMEDY: ======================= HD108683 HD100058 HD68692 Duplicate HD68779 HD104009 Duplicate HD68491 Duplicate HD100451 Duplicate HD98536 Duplicate HD68199 Duplicate HD105524 Duplicate HD68490 ASSOCIATED E3R(s): ================== N/A PARTICIPATING TEST SITES: ========================= INDIANAPOLIS, IN (C) MANILA OC, PI PUGET SOUND HCS SPOKANE, WA NOIS/REMEDY OVERVIEW: ==================== 1. HD68490 Editing Verified Invoices [PSA EDIT VERIFIED INVOICE] Problem: -------- Saying 'NO" to processing the edit changes made for Dispense Unit and Dispense Units per Order Unit does not restore those fields to their previous values. Resolution: ----------- The before values are now saved and restored if the user replies 'NO' to the prompt: Are you sure about this ? NO// TECHNICAL: ========== PSAVERA has been modified to store and restore the pre edit values for the DISPENSE UNITS field (#14.5) and DISPENSE UNITS PER ORDER UNIT field (#15) of the Drug file (#50) when needed. 2. HD68779 Editing Verified Invoices [PSA EDIT VERIFIED INVOICE] Problem: ======== A drug that is newly picked and added newly to the pharmacy location has several of it's indexes scrambled and the users are not able to select the drug within that pharmacy location for any further processing purposes. A post init routine will scan and clean up bad indexes it finds. Resolution: =========== The proper variable is now being set that will setup the indexes in the proper manner. A post-init routine will locate the bad indexes that have been built and correct them. TECHNICAL: ========== PSAVERA has been modified to properly set the variable X when adding a new drug to a pharmacy location. The variable X had been containing a FileMan date value which was being used to populate the indexes. PSAV3P53 is the post-init routine that will correct the bad indexes by locating the ^PSD(58.8,"C",xxx entries where xxx is of the form for a FileMan date and then build proper indexes for the entries and then remove the bad indexes. PSAV3P53 is the post init routine. 3. HD100058 Drug Balances by Location [PSA DISPLAY LOCATION] Problem: ======== The Drug Balances by Location report show entries for inactive drugs that have a zero quantity. Those items are now not to be shown. Resolution: =========== The report now ignores drugs that are inactive and have a zero quantity. TECHNICAL: ========== The routine PSADAI has been appropriately modified. 4. HD108683 Verify Invoices [PSA VERIFY INVOICES] Problem: ======== Drugs that are new to a pharmacy location in the DRUG ACCOUNTABILITY STATS file (#58.8) are needing more data entered to complete their being setup for processing. Such items as current balance, stock level, and reorder levels are needed. A separate, individual mail message is currently sent regarding each drug that is newly added. The volume is overwhelming. Single consolidated mail message by invoice regarding drugs that are newly added is needed to replace the individual mail messages. Resolution: =========== The routine PSAVER6 has been modified to consolidate the drugs into one report. Technical ========= Example: Subj: New Drugs Added by Order: CX45678989 Invoice: 45789000C [#1997035] 08/24/05@13:45 54 lines From: VERIFIED BY: WESLEY,PAUL In 'IN' basket. Page 1 *New* -------------------------------------------------------------------------- ----- New Drugs Added by Order: CX45678989 Invoice: 45789000C Verified by: WESLEY,PAUL Please use DA and CS menus to populate the balances, stock and re-order levels. MASTER VAULT CAFFEINE & SOD BENZOATE 500MG/2ML CODEINE 15MG & APC C.T. FENTANYL 0.05MG/ML 5ML S.S. METHADONE 5MG TAB MORPHINE 15MG/ML 20ML INJ OUTPATIENT ACETAMINOPHEN 500MG CAPSULE ACETAZOLAMIDE 125MG TAB ACETAZOLAMIDE 500MG INJ ATENOLOL 100MG TAB ATENOLOL 50MG TAB CAFFEINE & SOD BENZOATE 500MG/2ML CATAPRES .3MG TAB FUROSEMIDE 10MG/ML 10ML INJ MINOCYCLINE 100MG CAP ROUTINE SUMMARY =============== The following is a list of the routines included in this patch. The second line of each of these routines now looks like: ;;3.0;DRUG ACCOUNTABILITY;**[PATCH LIST]**;21-MAR-94 CHECK^XTSUMBLD results Routine name Before Patch After Patch Patch List ============ ============ =========== =========== PSADAI 9427047 9870938 15,53 PSAV3P53 n/a 3638601 53 PSAVER6 19376443 20061125 1,3,21,42,53 PSAVERA 27316373 27857555 21,36,40,53 CHECK1^XTSUMBLD results Routine name Before Patch After Patch Patch List ============ ============ =========== =========== PSADAI 18002920 18812836 15,53 PSAV3P53 n/a 5533759 53 PSAVER6 48612927 55845889 1,3,21,42,53 PSAVERA 61334319 64109668 21,36,40,53 DOCUMENTATION DISTRIBUTION: =========================== The revised Drug Accountability User Manual and the Change Pages document are available on the ANONYMOUS.SOFTWARE directory at one of the following Office of Information (OI) Field Offices. Sites may retrieve documentation in one of the following ways: (1) The preferred method is to FTP (using BIN mode) the files from download.vista.med.va.gov, which will transmit the files from the first available FTP server. (2) Sites may also elect to retrieve documentation directly from a specific server as follows: Albany ftp.fo-albany.med.va.gov Hines ftp.fo-hines.med.va.gov Salt Lake City ftp.fo-slc.med.va.gov The documentation distribution includes: FILE NAMES DESCRIPTION ---------- ----------- PSA_3_UM_R1005.PDF User Manual PSA_3_P53_UM_CP.PDF Change Pages (3) The documentation can also be retrieved from VISTA Documentation Library (VDL) on the Internet at the following address, http://www.va.gov/vdl. INSTALLATION INSTRUCTIONS ========================= This patch can be loaded with users in the system. Installation time is less than one minute. 1. This patch can be queued to run in the background and should be installed during a period when Drug Accountability users are not on the system. However, you don't need to inhibit logon's or disable any options. The install will be less than one minute. 2. Start up the Kernel Installation and Distribution System Menu [XPD MAIN]: Edits and Distribution ... Utilities ... Installation ... 3. Select Kernel Installation & Distribution System Option: Installation --- 1 Load a Distribution 2 Verify Checksums in Transport Global 3 Print Transport Global 4 Compare Transport Global to Current System 5 Backup a Transport Global 6 Install Package(s) Restart Install of Package(s) Unload a Distribution 4. From this menu, you may elect to use the following options (When prompted for the INSTALL NAME, enter PSA*3.0*53): 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 DD's 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, DD's, 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. 5. Use the Install Package(s) option and select the package PSA*3.0*53. a. When prompted 'Want KIDS to INHIBIT LOGONs during the install? YES//', answer NO. b. When prompted 'Want to DISABLE Scheduled Options and Menu Options and Protocols? YES//', answer NO. INSTALLATION EXAMPLE: ===================== Select Installation Option: INstall Package(s) Select INSTALL NAME: PSA*3.0*53 Loaded from Distribution 8/24/05@17:32:38 => PSA*3*53 V1 24AUG05 MNTVBB This Distribution was loaded on Aug 24, 2005@17:32:38 with header of PSA*3*53 V1 24AUG05 MNTVBB It consisted of the following Install(s): PSA*3.0*53 Checking Install for Package PSA*3.0*53 Install Questions for PSA*3.0*53 Want KIDS to INHIBIT LOGONs during the install? YES// NO Want to DISABLE Scheduled Options, Menu Options, and Protocols? YES// NO Enter the Device you want to print the Install messages. You can queue the install by enter a 'Q' at the device prompt. Enter a '^' to abort the install. DEVICE: HOME// UCX/TELNET ========================================================== Install Started for PSA*3.0*53 : Aug 24, 2005@17:34:02 Build Distribution Date: Aug 24, 2005 Installing Routines: Aug 24, 2005@17:34:02 Running Post-Install Routine: ST^PSAV3P53 Updating Routine file... Updating KIDS files... PSA*3.0*53 Installed. Aug 24, 2005@17:34:02 PSA*3.0*53 Install Completed Routine Information: ==================== Routine Name: PSADAI Routine Name: PSAV4P53 Routine Name: PSAVER6 Routine Name: PSAVERA ============================================================================= User Information: Entered By : WESLEY,PAUL Date Entered : JUN 17, 2005 Completed By: ANDERSON,MAXINE Date Completed: OCT 26, 2005 Released By : VECE,VIRGINIA Date Released : OCT 27, 2005 ============================================================================= Packman Mail Message: ===================== $END TXT