$TXT Created by FREEMAN,ANDREA at DNS   URL          (KIDS) on Tuesday, 07/25/17 at 14:48
=============================================================================
Run Date: JUL 25, 2017                     Designation: PSJ*5*336
Package : PSJ - INPATIENT MEDICATIONS         Priority: Mandatory
Version : 5                                     Status: Under Development
=============================================================================

Associated patches: (v)PSJ*5*194   <<= must be installed BEFORE `PSJ*5*336'
                    (v)PSJ*5*304   <<= must be installed BEFORE `PSJ*5*336'
                    (v)PSJ*5*317   <<= must be installed BEFORE `PSJ*5*336'
                    (v)PSJ*5*329   <<= must be installed BEFORE `PSJ*5*336'
                    (v)PSJ*5*334   <<= must be installed BEFORE `PSJ*5*336'

Subject:  INPATIENT MED ORDER UPDATES

Category: 
  - Routine

Description:
============

 The purpose of this patch is to implement the changes from NSR 20111103.
  
 Specifically, three changes are being made related to handling of 
 Inpatient Medication orders:
  
 1. In order entry options and selected reports, the year will now display 
 in four digit format.
 2. When a stop date is being entered or edited, there will be a hard stop 
 at 367 days. No stop date more than 367 from the start date will be 
 allowed.
 3. When a start date is being entered or edited, there will be a warning 
 given if the start date is more than seven days in the future. This 
 warning will not be present for Clinic Medications or Clinic Infusion 
 orders.
  
 Patch Components:
 -----------------
  
  
 Files & Fields Associated:
  
 File Name (Number)      Field Name (Number)     New/Modified/Deleted
 ------------------      -------------------     --------------------
 N/A
  
 Forms Associated:
  
 Form Name       File #  New/Modified/Deleted
 ---------       ------  --------------------
 N/A
  
 Mail Groups Associated:
  
 Mail Group Name New/Modified/Deleted
 --------------- --------------------
 N/A
  
 Options Associated:
  
 Option Name     Type    New/Modified/Deleted
 -----------     ----    -------------------- 
 N/A
  
 Protocols Associated:
  
 Protocol Name   New/Modified/Deleted
 -------------   -------------------- 
 N/A
  
 Security Keys Associated:
  
 Security Key Name
 -----------------
 N/A
  
 Templates Associated:
  
 Template Name   Type    File Name (Number)  New/Modified/Deleted 
 -------------   ----    ------------------  --------------------
 N/A
  
 Additional Information:
  
  
 New Service Requests (NSRs):
 ----------------------------  
 20111103 - Pharmacy VISTA Orders to Display Dates in MM/DD/YYYY format, 
 and Add a Hard Stop for Date Entry
  
 Patient Safety Issues (PSIs):
 -----------------------------
 N/A
  
 Defect Tracking System Ticket(s) & Overview:
 --------------------------------------------
 1. I13108353FY17 - There is an inconsistency for updating start date when 
                    editing a starred field and a non-starred field
                    depending on when you perform the edit
  
     Problem:
     --------
     When a starred (*) field is edited on an active order with a past
     start date, it creates a new order and the start date is updated to
     today's date. However, if a non-starred field is edited first and then
     the starred field is edited, the start date is not updated to today's
     date. 
  
     Resolution:
     ----------- 
     Added line tag, CKDT^PSGOEE to routine PSJOE1 to check if a new 
     start/stop dates should be calculated when the edit will create a new
     order.
  
 2. RTC-Defect 561161 - Hard Error occurs when using Patient Profile 
                        Report (IV)  [PSJI PROFILE REPORT] for most
                        (but not all) Patient names.
  
     Problem:
     --------
     An error will occur when the option 'PSJI PROFILE REPORT' is 
     selected. Variable PSGP is undefined:
  
     <UNDEFINED>CHK+2^PSIVACT *PSGP
  
     The profile will not be created. 
  
     Resolution:
     ----------- 
     Added a set command to CHK^PSIVACT for the variable PSGP. It  
     is set to the patient DFN. This variable is used to select
     the patient's clinic.
  
  
 Test Sites:
 ----------
  
  
 Documentation Retrieval Instructions:
 ---------------------------------------------------- 
 Documentation describing the new functionality introduced by this patch is
 available.
  
 The preferred method is to retrieve files from URL.DNS
 This transmits the files from the first available server. Sites may also
 elect to retrieve files directly from a specific server. 
  
 Sites may retrieve the documentation directly using Secure File Transfer
 Protocol (SFTP) from the ANONYMOUS.SOFTWARE directory at the following:
  
 OI Field Offices:
  
 Albany: DNS.URL       
 Hines:  DNS     .URL         
 Salt Lake City: DNS.URL       
  
 Documentation can also be found on the VA Software Documentation Library 
 at:
 http://URL            /
  
  
 Title                     File Name       FTP Mode
 -----------------------------------------------------------------------
 Release Notes
 Others TBD
  
 Patch Installation:
  
  
 Pre/Post Installation Overview:
 -------------------------------
  
  
 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 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 #PSJ*5.0*336: 
     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.
  
 8.      If prompted 'Delay Install (Minutes):  (0 - 60): 0//' respond 0.
  
  
 Post-Installation Instructions:
 -------------------------------
 N/A
  
 Back-out, Rollback Instructions:
 --------------------------------
 In the event of a catastrophic failure, the Facility CIO may make the 
 decision to back-out the patch.
  
 It is imperative that you have performed a backup of the routines included
 in this patch prior to installation.
  
 The back-out plan is to restore the routine from the backup created.
  
 No data was modified by this patch installation and, therefore, no 
 rollback strategy is required.
  
 To verify the back-out completed successfully, ensure the checksum 
 matches the pre-patch checksum from the patch description.
  
  
 Routine Information:
 --------------------

Routine Information:
====================
The second line of each of these routines now looks like:
 ;;5.0;INPATIENT MEDICATIONS;**[Patch List]**;16 DEC 97;Build 5

The checksums below are new checksums, and
 can be checked with CHECK1^XTSUMBLD.

Routine Name: PSGO
    Before: B35277270   After: B39407328  **4,58,110,181,275,336**
Routine Name: PSGOE41
    Before: B97532648   After:B102492308  **50,63,64,69,58,111,136,113,
                                           267,315,334,336**
Routine Name: PSGOE81
    Before:B107958906   After:B115958942  **26,50,64,58,82,110,111,136,
                                           113,267,315,334,336**
Routine Name: PSGOE91
    Before:B114633409   After:B121512869  **50,64,58,110,111,136,113,179,
                                           265,267,285,315,334,336**
Routine Name: PSGOEE
    Before:B103314834   After:B106702901  **4,7,29,47,64,58,82,91,110,
                                           111,112,142,179,181,254,267,
                                           268,281,315,336*
Routine Name: PSGOEEW
    Before: B28844185   After: B29287446  **7,58,111,315,336**
Routine Name: PSGOEF
    Before:B119034802   After:B119629383  **7,30,29,35,39,47,50,56,80,
                                           116,110,111,133,153,134,222,
                                           113,181,260,199,281,315,336**
Routine Name: PSGVW
    Before: B32841979   After: B33609179  **50,58,85,80,104,110,267,315,336**
Routine Name: PSIVACT
    Before: B30388063   After: B30616960  **15,38,58,110,181,275,304,336**
Routine Name: PSIVEDT1
    Before:B113503135   After:B119441864  **3,7,41,47,50,64,58,116,110,
                                           111,113,267,279,305,194,336**
Routine Name: PSIVPRO
    Before: B46921517   After: B47124885  **38,58,85,110,181,263,275,336**
Routine Name: PSIVUTL
    Before: B35163625   After: B38365099  **69,58,81,85,110,133,181,263,
                                           275,279,336**
Routine Name: PSJLIUTL
    Before: B52930175   After: B57144089  **39,50,58,81,85,110,180,263,
                                           267,336**
Routine Name: PSJLIVFD
    Before: B63240013   After: B65801416  **7,50,63,64,58,81,91,80,116,
                                           110,111,180,134,181,254,267,
                                           228,279,305,336**
Routine Name: PSJLIVMD
    Before:B100202267   After:B101716881  **37,50,63,58,81,91,80,116,110,
                                           111,180,134,209,254,267,275,
                                           279,336**
Routine Name: PSJLMGUD
    Before: B31031159   After: B31438742  **25,58,85,116,110,111,267,275,
                                           315,336**
Routine Name: PSJLMPRI
    Before: B22340639   After: B22711614  **58,85,118,110,133,154,181,275,336**
Routine Name: PSJLMPRU
    Before: B19004803   After: B21956541  **16,58,85,110,185,181,267,323,
                                           317,336**
Routine Name: PSJLMUDE
    Before: B86619867   After: B96119566  **7,47,50,63,64,58,80,116,110,
                                           111,164,175,201,181,254,267,
                                           228,315,317,336**
Routine Name: PSJLMUT1
    Before: B74824116   After: B75790799  **4,27,29,49,58,107,110,146,
                                           175,201,181,281,329,336**
Routine Name: PSJO
    Before: B32312057   After: B37050765  **31,58,110,181,267,275,317,336**
Routine Name: PSJOE1
    Before: B31281544   After: B32504124  **2,7,25,30,47,56,64,179,181,
                                           252,281,315,336**

=============================================================================
User Information:
Entered By  : PII                 Date Entered  : SEP 27, 2016
Completed By:                               Date Completed: 
Released By :                               Date Released : 
=============================================================================
