VistA Patch Display                                                   Page: 1
=============================================================================
Run Date: JUL 06, 2016                      Designation: PSJ*5*327  TEST v
Package : INPATIENT MEDICATIONS             Priority   : MANDATORY
Version : 5                                 Status     : UNDER DEVELOPMENT
=============================================================================

Associated patches: (v)PSJ*5*129   <<= must be installed BEFORE `PSJ*5*327'
                    (v)PSJ*5*275   <<= must be installed BEFORE `PSJ*5*327'
                    (v)PSJ*5*281   <<= must be installed BEFORE `PSJ*5*327'
                    (v)PSJ*5*287   <<= must be installed BEFORE `PSJ*5*327'
                    (v)PSJ*5*316   <<= must be installed BEFORE `PSJ*5*327'
                    

Subject:  MENTAL HEALTH NCC PROJECT 5.01

Category:  ROUTINE
           ENHANCEMENT
           DATA DICTIONARY

Description:
===========
 
This patch will add enhancements to the Inpatient Order Entry routines
for the National Clozapine T4 project.  Below is a list of all the 
applications involved in this project along with their patch number:
 
   APPLICATION/VERSION                                   PATCH
   ---------------------------------------------------------------
   INPATIENT MEDICATIONS (IP) V. 5.0                     PSJ*5*327
   OUTPATIENT PHARMACY (OP) V. 7.0                       PSO*7*457 
   MENTAL HEALTH (MH) V. 5.01                            YS*5.01*122
   ORDER ENTRY/RESULTS REPORTING (OR) V. 3.0             OR*3*427
 
The patches (PSJ*5*327, PSO*7*457, YS*5.01*122, and OR*3*427) are 
being released  in the Kernel Installation and Distribution System (KIDS)
multi-build  distribution MENTAL HEALTH NCC PROJECT 5.01.
 
The purpose of this software package is to maintain compliance with 
legislative and federal mandates and to add Clozapine Order Checking 
to the Inpatient Pharmacy application.  It also adds real-time updating
functionality of the data sent to the National Clozapine Server.
 
This specific patch contains the following functionality:
---------------------------------------------------------
The routines for the VistA Inpatient Order Entry [PSJ OE] option
will be modified to
 
1. Add logic to verify that the ordering provider holds the
   YSCL AUTHORIZED key when the pharmacist enters a new 
   Clozapine order. If the ordering provider does NOT hold
   The YSCL AUTHORIZED key a message will be displayed and
   will prevent the order from being entered
 
2. Add logic to verify that the pharmacist holds the PSOLOCKCLOZ
   key if a local override is needed when the ANC lab values are
   >= 1000 and < 1500.
 
3. A new routine ^PSJCLOZ will be created to perform various 
   order checks and override functions.
 
4. A new file CLOZAPINE MEDICATION OVERRIDES (#53.8)  will be a
   cloned from the CLOZAPINE PRESCRIPTION OVERRIDE file #52.52and will
   hold the override data for Inpatient Medication orders.
 
5. A new menu PSJL MANAGER (PSOL MANAGER)
   This option displays results of lab tests for patients
   receiving clozapine as required by the circular regarding patient
   management protocol for the use of clozapine.
   This is for inpatient pharmacy.  This menu contains the following
   options:
 
6. A new option PSJLAB LIST (Display Inpatient Lab Tests and Results)
   This new option displays results of lab tests for patients
   receiving clozapine as required by the circular regarding patient
   management  protocol for the use of clozapine. This is for
   inpatient pharmacy.
 
7. A new option PSJLIST OVERRIDES (List Inpatient Clozapine Overrides)
   This new option is used to generate a list of inpatient ordered
   clozapine prescriptions entered by overriding the lockout.
 
8. The new menu PSJU MGR (Unit Dose Medications)
   This is the main menu for the Unit Dose Medications software.
   This menu must be given to all Unit Dose Medications users.
 
9. Add new field CLOZAPINE DOSAGE (MG/DAY) (#301) to the sub-file
   UNIT DOSE (#55.06) of the PHARMACY PATIENT file (#55) to hold
   the Clozapine Total Daily Dose enterd by the Pharmacist.
 
Patch Components
================
Files & Fields Associated:
 
File Name (Number)      Field Name (Number)              New/Modified/Deleted
------------------      -------------------              --------------------
CLOZAPINE MEDICATION OVERRIDES (#53.8)                       NEW
PHARMACY PATIENT file (#55) sub-file UNIT DOSE (#55.06)
                        CLOZAPINE DOSAGE (MG/DAY) (#301)     NEW
 
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
-----------                   ----           --------------------
PSJL MANAGER                  Menu|TAB||TAB|   New
PSJLAB LIST                Run Routine             New
PSJLIST OVERRIDES          Run Routine             New
PSJU MGR                      Menu                 New
 
Protocols Associated:
 
Protocol Name                     New/Modified/Deleted
-------------                     --------------------
N/A
 
Security Keys Associated:
 
Security Key Name                 New/Modified/Deleted
----------------------            --------------------
N/A
 
Templates Associated:
 
Template Name      Type      File Name (Number)  New/Modified/Deleted
-------------      ----      ------------------  --------------------
N/A
 
Additional Information:
 
New Service Requests (NSRs)
----------------------------
Request Name: National Clozapine Coordination Project
  Request ID: 20100703
 
Patient Safety Issues (PSIs)
-----------------------------
N/A
 
Remedy Ticket(s) & Overview
---------------------------
N/A
 
Test Sites:
----------
TBD
 
Documentation Retrieval Instructions
------------------------------------
Updated documentation describing the new functionality introduced by this
patch is available.
 
The preferred method is to SFTP the files from
ftp://download.DNS   med.DNS   . This transmits the files from the first
available SFTP server. Sites may also elect to retrieve software directly
from a specific server as follows:
 
 Albany         ftp.DNS      .med.DNS     <ftp://ftp.DNS      .med.DNS   >
 Hines          ftp.DNS     .med.DNS      <ftp://ftp.DNS     .med.DNS   >
 Salt Lake City ftp.DNS   .med.DNS        <ftp://ftp.DNS   .med.DNS   >
 
Documentation can also be found on the VA Software Documentation Library at:
http://www.DNS   /vdl/
 
Title                                 File Name                   FTP Mode
-------------------------------------------------------------------------
TBD
 
Patch Installation:
 
Pre/Post Installation Overview
------------------------------
N/A
 
Installation Instructions
-------------------------
This patch should take up to 20 minutes to install.
DO NOT QUEUE the installation of this patch.
 
To avoid disruptions, these patches should be installed during non-peak
hours when there is minimal activity on the system.
 
Pre-Installation Instructions
-----------------------------
 
1.  OBTAIN PATCHES
    --------------
    Obtain the host file MH_NCC_PROJECT_5_01.KID, which contains the
    following patches:
 
        YS*5.01*122
        PSO*7*457
        PSJ*5*327
        OR*3*427
 
     Sites can retrieve VistA software from the following SFTP addresses.
     The preferred method is to SFTP the files from:
 
                    download.DNS   med.DNS   
 
     This will transmit the files from the first available SFTP server.
     Sites may also elect to retrieve software directly from a specific
     server as follows:
 
       Albany                  ftp.DNS      .med.DNS   
       Hines                   ftp.DNS     .med.DNS   
       Salt Lake City          ftp.DNS   .med.DNS   
 
     The MH_NCC_PROJECT_5_01.KID host file is located in the
     anonymous.software directory. Use ASCII Mode when downloading the
     file.
 
2.  START UP KIDS
    -------------
    Start up the Kernel Installation and Distribution System Menu option
    [XPD MAIN]:
 
         Edits and Distribution ...
         Utilities ...
         Installation ...
 
    Select Kernel Installation & Distribution System Option: INStallation
                                                             ---
         Load a Distribution
         Print Transport Global
         Compare Transport Global to Current System
         Verify Checksums in Transport Global
         Install Package(s)
         Restart Install of Package(s)
         Unload a Distribution
         Backup a Transport Global
 
    Select Installation Option:
 
3.  LOAD TRANSPORT GLOBAL FOR MULTI-BUILD
    -------------------------------------
    From the Installation menu, select the Load a Distribution option.
 
    When prompted for "Enter a Host File:", enter the full directory path
    where you saved the host file MH_NCC_PROJECT_5_01.KID (e.g.,
    SYS$SYSDEVICE:[ANONYMOUS] MH_NCC_PROJECT_5_01.KID)
 
    When prompted for "OK to continue with Load? NO//", enter "YES."
 
    The following will display:
 
      Loading Distribution...
 
        MENTAL HEALTH NCC PROJECT 5.01
        YS*5.01*122
        PSO*7*457
        PSJ*5*327
        OR*3*427
      Use INSTALL NAME: MENTAL HEALTH NCC PROJECT 5.01 to install this
      Distribution.
 
4.  RUN OPTIONAL INSTALLATION OPTIONS FOR MULTI-BUILD
    -------------------------------------------------
    From the Installation menu, you may select to use the following
    options (when prompted for the INSTALL NAME, enter
    YS*5.01*122):
 
    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.  INSTALL MULTI-BUILD
    -------------------
    This is the step to start the installation of this KIDS patch.  This
    will need to be run for the MENTAL HEALTH NCC PROJECT 5.01.
 
    a. Choose the Install Package(s) option to start the patch install.
    b. When prompted for the "Select INSTALL NAME:", enter YS*5.01*122  
 
    This Distribution was loaded on Mar 10, 2016@13:46:45 with header of 
    MENTAL HEALTH NCC PROJECT 5.01  ;Created on Mar 09, 2016@08:27:27
    It consisted of the following Install(s):
    YS*5.01*122    PSO*7.0*457    PSJ*5.0*327     OR*3.0*427
    Checking Install for Package YS*5.01*122
 
    Install Questions for YS*5.01*122
 
    Checking Install for Package PSO*7.0*457
 
    Install Questions for PSO*7.0*457
 
    Incoming Files:
 
    52.52     CLOZAPINE PRESCRIPTION OVERRIDES  (Partial Definition)
    Note:  You already have the 'CLOZAPINE PRESCRIPTION OVERRIDES' File.
 
    52.54     CLOZAPINE OVERRIDE REASONS  (including data)
 
    Checking Install for Package PSJ*5.0*327
 
    Install Questions for PSJ*5.0*327
 
    Incoming Files:
 
    53.8      CLOZAPINE MEDICATION OVERRIDES
 
    Checking Install for Package OR*3.0*427
 
    Install Questions for OR*3.0*427
 
    c. When prompted "Want KIDS to Rebuild Menu Trees Upon Completion of
    d. Install? YES//", enter YES unless your system does this in a nightly
       TaskMan process.
    e. When prompted "Want KIDS to INHIBIT LOGONs during the install?
       YES//", enter NO.
    f. When prompted " Want to DISABLE Scheduled Options, Menu Options,
       and Protocols? NO//", enter NO.
    g. When prompted "Device: HOME//", respond with the correct device 
       but do not queue this install.
 
     DEVICE: HOME//   HOME  (CRT)
     ----------------------------------------------------------------------
 
     YS*5.01*122 Already Installed 
 
     PSO*7.0*457 Already Installed 
 
     PSJ*5.0*327 Already Installed 
 
     Install Restarted for OR*3.0*427 at Mar 10, 2016@16:28:45
 
     Build Distribution Date: Mar 09, 2016
 
     Routines already installed.
 
     Pre-Install already finished.
 
     Running Post-Install Routine: ^ORY427ES .
 
     Order Check Expert System Rule Transporter
     Created: FEB 23,2016 at 15:22  at  NCCLAB1.AAC.DNS   
     Current Date: MAR 10,2016 at 16:28  at  NCCLAB3.AAC.DNS   
 
     Loading Data  . . . . . . . .
     Installing '863.8  OCX MDD PARAMETER' records...............
     . . . . . . .. . . . . . .. . .
     Installing '864.1  OCX MDD DATATYPE' records...  . . .. .
     Installing '863.7  OCX MDD PUBLIC FUNCTION' records...........
     Installing '863.9  OCX MDD CONDITION/FUNCTION' records..........
     .
     Installing '863.4  OCX MDD ATTRIBUTE' records...............
     Installing '863.2  OCX MDD SUBJECT' records....
     Installing '863.3  OCX MDD LINK' records..................
     Installing '860.9  ORDER CHECK NATIONAL TERM' records..........
     . . . . .. . . . .
     Installing '860.8  ORDER CHECK COMPILER FUNCTIONS' records......
     . .. .. . .. . .. .... . ..
     Installing '860.6  ORDER CHECK DATA CONTEXT' records.......
     Installing '860.5  ORDER CHECK DATA SOURCE' records.........
     Installing '860.4  ORDER CHECK DATA FIELD' records............
     ..
     Installing '860.3  ORDER CHECK ELEMENT' records..........
     Installing '860.2  ORDER CHECK RULE' records.....
 
      No data filing errors.
 
     Transport Finished...
 
    ---Creating Order Check Routines-----------------------------------.
 
    Build list of Active Rules, Elements and Datafields....
 
     94 DATA FIELDS
 
     77 ELEMENTS
 
     39 RULES.
 
    Compile DataField Navigation code....
 
     99 DataField Navigation Code Arrays.
 
    Compile Element Evaluation code....
 
     71 Event Evaluation Code Arrays.
 
    Compile Element MetaCode....
 
     77 Element Metacode Arrays.
 
    Get Compiler Function Code....
 
     51 Compiler Include Functions.
 
    Compile Rule Element Relation code....
 
     56 Rule Element Relation Code Arrays.
 
    Construct Decision Tree....
 
    692 Sub-Routines.
 
    Optimize Sub-Routines....
 
    278 Sub-Routines
 
    59.9% Optimization.
 
    Assemble Routines....
 
     39 OCXOZ* Routines.
 
Post-Installation Instructions
------------------------------
N/A


Routine Information:
====================


Routine Name: PSGNE3
    Checksum:
  Before: 86381204   After: 89726178 **4,26,47,50,63,69,105,80,111,
                                       183,193,179,275,327**
Routine Name: PSGOD
    Checksum:
  Before: 24552546   After: 25427452 **67,58,111,133,181,286,281,327**
Routine Name: PSGOE41
    Checksum:
  Before: 27985656 After: 37515595 **50,63,64,69,58,111,136,113,267,327**
Routine Name: PSGOE42
    Checksum:
  Before: 10177522   After: 12591176  **327*
Routine Name: PSGOE7
    Checksum:
  Before: 28469184   After: 35767530  **9,26,34,52,55,50,87,111,181,
                                        254,267,260,288,327**
Routine Name: PSGOE8
    Checksum:
  Before: 48942874 After: 53571835 **47,50,65,72,110,111,188,192,113,223
                                   ,269,287,327**
Routine Name: PSGOE81
    Checksum:
  Before: 32608596 After: 40027816 **26,50,64,58,82,110,111,136,113,267,327**
Routine Name: PSGOE82
    Checksum:
  Before: 21878874   After: 25952597  **2,35,50,67,58,81,127,168,181,276,327**
Routine Name: PSGOE92
    Checksum:
  Before: 30935948   After: 33386592 **2,35,50,58,81,110,215,237,276,316,327**
Routine Name: PSGOEF
    Checksum:
  Before: 92772116   After: 108959334 **7,11,29,35,127,133,221,181,327**
Routine Name: PSGOER
    Checksum:
  Before: 85734604   After: 91310828 **11,30,29,35,70,58,95,110,111,133,141
                                     ,198,181,246,278,281,327**
Routine Name: PSGOER0
    Checksum:
  Before: 39916956   After: 24952711 **11,45,47,50,63,64,70,69,58,80,110,127
                                       ,136,181,281,327**
Routine Name: PSGOESF
    Checksum:
  Before: 31588811   After: 32063464 **7,11,29,35,127,133,221,181,327**
Routine Name: PSGOEV
    Checksum:
  Before: 81429110 After: 92599651 **5,7,15,28,33,50,64,58,77,78,80,110,
                                   111,133,171,207,241,267,268,260,288,
                                   199,281,327**
Routine Name: PSGOT
    Checksum:
  Before: 23046911 After: 24198514 **13,68,90,110,173,134,161,254,267,257,
                                     327**
Routine Name: PSGPEN
    Checksum:
  Before: 39805137 After: 41329909 **30,37,50,58,115,110,127,129,327**
Routine Name: PSJCLOLS
    Checksum:
  Before: N/A        After: 11327318 **327**
Routine Name: PSJCLOZ
    Checksum:
  Before: N/A        After: 72366132   **327**
Routine Name: PSJCOM
    Checksum:
  Before: 41203922   After: 43612843  **110,186,267,281,327**
Routine Name: PSJOE
    Checksum:
  Before: 88042799   After: 114310748  **7,26,29,33,42,50,56,72,58,
                                         85,95,80,110,111,133,140,151,
                                         149,181,252,327**
Routine Name: PSJOE1
    Checksum:
  Before: 88042799   After: 34250433  **2,7,25,30,47,56,64,179,181,252
                                        ,281,327**
Routine Name: PSJRXLAB
    Checksum:
  Before: N/A        After: 47487387 **327**


=============================================================================
User Information:  
  Entered By  :   WIPERT,RANDY T       Date Entered  :   JAN  6,2016
  Completed By:                        Date Completed:   
  Released By :                        Date Released :   
=============================================================================