Select PATCH: PSO*7*505    MEDICATION PERMISSIONS/DISPENSING UPDATES    UND BF

DEVICE: HOME// ;;999  SSH VIRTUAL TERMINAL

VistA Patch Display                                                   Page: 1
=============================================================================
Run Date: JAN 08, 2018                      Designation: PSO*7*505  TEST v
Package : OUTPATIENT PHARMACY               Priority   : MANDATORY
Version : 7                                 Status     : UNDER DEVELOPMENT
=============================================================================

Subject:  MEDICATION PERMISSIONS/DISPENSING UPDATES

Category:  ROUTINE

Description:
===========
 
As part of the Clinical Ancillary Services project (CAS) - Medication 
Permission/Dispensing Updates (MPDU), the outpatient pharmacy package has 
been modified to provide several enhancements to the Outpatient Pharmacy 
package.
 
Outpatient pharmacy is being enhanced to provide new and updated 
functionality. Certain fields in controlled substance prescriptions can 
no longer be edited (such as Provider, Orderable Item, and drug). 
Controlled substance prescriptions will now require that the patient have 
a zip code on file in order for the order to be written or dispensed 
through the 'Patient Prescription Processing' option [PSO LM BACKDOOR] or 
the 'Finish Orders from OE/RR option [PSO LMOE FINISH]. 
Titration/Maintenance functionality is also being blocked for all 
controlled substance prescriptions.
 
New sorting/filtering criteria have been added to 'Finish Orders from 
OE/RR' [PSO LMOE FINISH] to allow pharmacist more flexibility in 
selecting the prescriptions they wish to finish. These changes will 
improve efficiency during the process of finishing prescriptions. A new 
secondary sort criteria is being introduced, allowing another level of 
restriction on the list of prescriptions being provided to the user. Two 
new options within controlled substance sorting have been added as well. 
These are NON-CS + SCHEDULES III-IV, and NON-CS. Supply item sorting has 
also been incorporated into the sort/filter process.
 
The current email generated from the scheduled option 'Expire 
Prescriptions' [PSO EXPIRE PRESCRIPTIONS] has been modified to a new 
format, and to include the facility name/instution file internal entry 
number. This is being done to provide better information to the user 
receiving the email.
 
Finally, the HL7 logic has been modified so that 'EL' for Electronic is 
sent to the Outpatient Pharmacy Automation Interface if a controlled 
substance prescription has been digitally signed.
 
Patch Components:
-----------------
 
 
Files & Fields Associated:
--------------------------
N/A
 
Forms Associated:
-----------------
N/A
 
Mail Groups Associated:
-----------------------
N/A
 
Options Associated:
-------------------
N/A
 
Protocols Associated:
---------------------
N/A
 
Security Keys Associated:
------------------------
N/A
 
Templates Associated:
---------------------
N/A
 
Additional Information:
-----------------------
 
New Service Requests (NSRs):
----------------------------  
NSR #20130711
 
Item #1:
--------
As a pharmacist, I need the system to prevent the use of the 
titration/maintenance functionality on all controlled substance 
prescriptions, so that it is consistent between Electronic Prescriptions 
for Controlled Substances (EPCS) prescriptions and paper prescriptions.
 
Resolution:
-----------
Routine PSOOTMRX has been modified to check for and prevent the use of 
the titration functionality on all controlled substance prescriptions.
 
Item #2:
--------
As a pharmacist, I need the system to allow leading zeros in fractional 
quantity prescriptions so that I can accurately finish orders and 
dispense outpatient medications.
 
Resolution:
-----------
Modified PSODIR1 to add a 0 (zero) in front of the decimal place for 
fractional quantity prescriptions.
 
Added logic to NFILE^PSON52 to ensure a leading zero is attached to 
fractional quantity prescriptions.
 
Modified PSOORNEW to remove the + from the quantity display so leading 
zeros will display for fractional quantity prescriptions.
 
Old logic:
I $P(OR0,"^",24) S ^TMP("PSOPO",$J,IEN,0)="   Provider ordered: days 
supply "_+$P(OR0,"^",22)_", quantity "_+$P(OR0,"^",10)_" & refills 
"_+$P(OR0,"^",11)
 
New Logic:
I $P(OR0,"^",24) S ^TMP("PSOPO",$J,IEN,0)="   Provider ordered: days 
supply "_+$P(OR0,"^",22)_", quantity "_$P(OR0,"^",10)_" & refills 
"_+$P(OR0,"^",11)
 
 
Item #3:
--------
As a pharmacy user, I need to see the indication of whether a 
prescription was digitally signed or not digitally signed on a label 
generated by Outpatient Pharmacy automation, so that I know whether there 
is a hard-copy prescription to be collated with the medication.
 
Resolution:
-----------
Routine PSOHLDS4 has been modified to pass 'EL' in the ORC | 30 segment 
if the prescription is a controlled substance and has been digitally 
signed.
 
Item #4:
--------
As a pharmacist, I need the system to ensure that any uneditable fields 
(e.g., Orderable Item, Dose, Provider, Refills) are part of the multiple 
fields of a pending Schedule II-V order being edited, so that editing 
field by field is not allowable, but will stop when the first uneditable 
field is encountered.
 
Resolution:
-----------
Routines PSOOREDT and PSOORNEW have been modified to check each 
individual field when being edited. If the field is an uneditable field 
for a controlled substance prescription, those fields will not be 
available to the user during their editing.
 
Item #5:
--------
As a pharmacist finishing orders, I need to be able to select legend 
drugs and controlled substances C-III through C-V (the lower schedules of 
controlled substances) while bypassing pending orders for C-II 
medications, so that I can efficiently process the pending prescription 
queue.
 
Resolution:
-----------
Routine PSOORFI5 has been modified to now include legend drugs and 
controlled substances C-III through C-V.
 
Item #6:
--------
As a pharmacist finishing orders, I need to be able to select 
non-controlled drugs while bypassing pending orders for controlled 
substances C-II through C-V, so that I can efficiently process the 
pending prescription queue.
 
Resolution:
-----------
Routine PSOORFI5 has been modified to now include a selection of 
'non-controlled' drugs.
 
 
Item #7:
--------
As a pharmacist finishing orders, I need to be able to select the CLINIC 
SORT GROUP for processing after choosing to sort prescriptions by 
controlled substance schedule, so that I can focus on the controlled 
substance prescriptions written by the providers to whom I am assigned.
 
Resolution:
-----------
Routines PSOORFIN, PSOORFI5, PSOORFI3, and PSOORFI6 have been modified to 
now allow a user to select a primary and a secondary sort criteria. After 
selecting a primary sort criteria, the user will not be able to select 
the same criteria as the secondary sort.
 
 
 
 
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 retrieve files from download.DNS      .URL. 
 
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:
 
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
-----------------------------------------------------------------------
<Documentation title>       
 
 
Patch Installation:
 
 
Pre/Post Installation Overview:
-------------------------------
N/A
 
 
Pre-Installation Instructions:
------------------------------
N/A
 
 
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 
    PSO*7*505.
    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 Rebuild Menu Trees Upon Completion of
    Install? NO//', answer 'NO'.  
 
6.  When prompted 'Want KIDS to INHIBIT LOGONs during the install?
    NO//', answer 'NO'
 
7.  When prompted 'Want to DISABLE Scheduled Options, Menu Options, 
    and Protocols? NO//', answer 'NO'.
 
8.  If prompted 'Delay Install (Minutes):  (0 - 60): 0//' respond 0.
 
 
Post-Installation Instructions:
-------------------------------
N/A


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


The second line of each of these routines now looks like:
 ;;7.0;OUTPATIENT PHARMACY;**[Patch List]**;DEC 1997;Build 31

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

Routine Name: PSODIR1
    Before: B93842245   After: B14588281  **23,46,78,102,121,131,146,166,
                                           184,222,268,206,266,340,391,
                                           444,446,505**
Routine Name: PSOHELP
    Before: B49812789   After: B50313084  **3,23,29,48,46,117,131,222,
                                           268,206,276,282,444,505**
Routine Name: PSOHLDS4
    Before: B16602666   After: B16987762  **156,255,279,385,505**
Routine Name: PSOHLEXP
    Before: B22400492   After: B24025393  **10,22,36,73,148,257,391,505**
Routine Name: PSON52
    Before: B99620667   After:B103621262  **1,16,23,27,32,46,71,111,124,
                                           117,131,139,157,143,219,148,
                                           239,201,268,260,225,303,358,
                                           251,387,379,390,391,313,408,
                                           473,505**
Routine Name: PSOOREDT
    Before: B82334396   After: B91435250  **4,20,27,37,57,46,78,102,104,
                                           119,143,148,260,281,304,289,
                                           298,379,377,391,313,427,411,
                                           505**
Routine Name: PSOORFI1
    Before: B82061614   After: B86566158  **7,15,23,27,32,44,51,46,71,
                                           90,108,131,152,186,210,222,258,
                                           260,225,391,408,444,467,505**
Routine Name: PSOORFI3
    Before: B74671626   After: B77499735  **15,27,32,46,84,99,130,117,
                                           139,172,225,300,384,372,505**
Routine Name: PSOORFI5
    Before: B47164460   After: B77755003  **225,315,266,391,372,416,505**
Routine Name: PSOORFI6
    Before: B23497771   After:B120107597  **225,505**
Routine Name: PSOORFIN
    Before: B64024579   After: B72047260  **7,15,27,32,44,46,84,106,111,
                                           117,131,146,139,195,225,315,
                                           266,338,391,372,416,446,505**
Routine Name: PSOORNE6
    Before: B50160901   After: B50434819  **46,103,117,156,210,488,505**
Routine Name: PSOORNEW
    Before: B98552577   After:B112855650  **11,23,27,32,55,46,71,90,94,
                                           106,131,133,143,237,222,258,
                                           206,225,251,386,390,391,372,
                                           416,431,313,408,436,411,444,
                                           486,446,505**
Routine Name: PSOOTMRX
    Before: B20486782   After: B23205494  **313,505**
 
Routine list of preceding patches: 385, 446, 467, 473, 488


=============================================================================
User Information:  
  Entered By  :   FISHER,BRADLEY       Date Entered  :   OCT  9,2017
  Completed By:                        Date Completed:   
  Released By :                        Date Released :   
=============================================================================


Select PATCH: PSO*7*505    MEDICATION PERMISSIONS/DISPENSING UPDATES    UND BF

DEVICE: HOME// ;;999  SSH VIRTUAL TERMINAL

VistA Patch Display                                                   Page: 1
=============================================================================
Run Date: JAN 08, 2018                      Designation: PSO*7*505  TEST v
Package : OUTPATIENT PHARMACY               Priority   : MANDATORY
Version : 7                                 Status     : UNDER DEVELOPMENT
=============================================================================

Subject:  MEDICATION PERMISSIONS/DISPENSING UPDATES

Category:  ROUTINE

Description:
===========
 
As part of the Clinical Ancillary Services project (CAS) - Medication 
Permission/Dispensing Updates (MPDU), the outpatient pharmacy package has 
been modified to provide several enhancements to the Outpatient Pharmacy 
package.
 
Outpatient pharmacy is being enhanced to provide new and updated 
functionality. Certain fields in controlled substance prescriptions can 
no longer be edited (such as Provider, Orderable Item, and drug). 
Controlled substance prescriptions will now require that the patient have 
a zip code on file in order for the order to be written or dispensed 
through the 'Patient Prescription Processing' option [PSO LM BACKDOOR] or 
the 'Finish Orders from OE/RR option [PSO LMOE FINISH]. 
Titration/Maintenance functionality is also being blocked for all 
controlled substance prescriptions.
 
New sorting/filtering criteria have been added to 'Finish Orders from 
OE/RR' [PSO LMOE FINISH] to allow pharmacist more flexibility in 
selecting the prescriptions they wish to finish. These changes will 
improve efficiency during the process of finishing prescriptions. A new 
secondary sort criteria is being introduced, allowing another level of 
restriction on the list of prescriptions being provided to the user. Two 
new options within controlled substance sorting have been added as well. 
These are NON-CS + SCHEDULES III-IV, and NON-CS. Supply item sorting has 
also been incorporated into the sort/filter process.
 
The current email generated from the scheduled option 'Expire 
Prescriptions' [PSO EXPIRE PRESCRIPTIONS] has been modified to a new 
format, and to include the facility name/instution file internal entry 
number. This is being done to provide better information to the user 
receiving the email.
 
Finally, the HL7 logic has been modified so that 'EL' for Electronic is 
sent to the Outpatient Pharmacy Automation Interface if a controlled 
substance prescription has been digitally signed.
 
Patch Components:
-----------------
 
 
Files & Fields Associated:
--------------------------
N/A
 
Forms Associated:
-----------------
N/A
 
Mail Groups Associated:
-----------------------
N/A
 
Options Associated:
-------------------
N/A
 
Protocols Associated:
---------------------
N/A
 
Security Keys Associated:
------------------------
N/A
 
Templates Associated:
---------------------
N/A
 
Additional Information:
-----------------------
 
New Service Requests (NSRs):
----------------------------  
NSR #20130711
 
Item #1:
--------
As a pharmacist, I need the system to prevent the use of the 
titration/maintenance functionality on all controlled substance 
prescriptions, so that it is consistent between Electronic Prescriptions 
for Controlled Substances (EPCS) prescriptions and paper prescriptions.
 
Resolution:
-----------
Routine PSOOTMRX has been modified to check for and prevent the use of 
the titration functionality on all controlled substance prescriptions.
 
Item #2:
--------
As a pharmacist, I need the system to allow leading zeros in fractional 
quantity prescriptions so that I can accurately finish orders and 
dispense outpatient medications.
 
Resolution:
-----------
Modified PSODIR1 to add a 0 (zero) in front of the decimal place for 
fractional quantity prescriptions.
 
Added logic to NFILE^PSON52 to ensure a leading zero is attached to 
fractional quantity prescriptions.
 
Modified PSOORNEW to remove the + from the quantity display so leading 
zeros will display for fractional quantity prescriptions.
 
Old logic:
I $P(OR0,"^",24) S ^TMP("PSOPO",$J,IEN,0)="   Provider ordered: days 
supply "_+$P(OR0,"^",22)_", quantity "_+$P(OR0,"^",10)_" & refills 
"_+$P(OR0,"^",11)
 
New Logic:
I $P(OR0,"^",24) S ^TMP("PSOPO",$J,IEN,0)="   Provider ordered: days 
supply "_+$P(OR0,"^",22)_", quantity "_$P(OR0,"^",10)_" & refills 
"_+$P(OR0,"^",11)
 
 
Item #3:
--------
As a pharmacy user, I need to see the indication of whether a 
prescription was digitally signed or not digitally signed on a label 
generated by Outpatient Pharmacy automation, so that I know whether there 
is a hard-copy prescription to be collated with the medication.
 
Resolution:
-----------
Routine PSOHLDS4 has been modified to pass 'EL' in the ORC | 30 segment 
if the prescription is a controlled substance and has been digitally 
signed.
 
Item #4:
--------
As a pharmacist, I need the system to ensure that any uneditable fields 
(e.g., Orderable Item, Dose, Provider, Refills) are part of the multiple 
fields of a pending Schedule II-V order being edited, so that editing 
field by field is not allowable, but will stop when the first uneditable 
field is encountered.
 
Resolution:
-----------
Routines PSOOREDT and PSOORNEW have been modified to check each 
individual field when being edited. If the field is an uneditable field 
for a controlled substance prescription, those fields will not be 
available to the user during their editing.
 
Item #5:
--------
As a pharmacist finishing orders, I need to be able to select legend 
drugs and controlled substances C-III through C-V (the lower schedules of 
controlled substances) while bypassing pending orders for C-II 
medications, so that I can efficiently process the pending prescription 
queue.
 
Resolution:
-----------
Routine PSOORFI5 has been modified to now include legend drugs and 
controlled substances C-III through C-V.
 
Item #6:
--------
As a pharmacist finishing orders, I need to be able to select 
non-controlled drugs while bypassing pending orders for controlled 
substances C-II through C-V, so that I can efficiently process the 
pending prescription queue.
 
Resolution:
-----------
Routine PSOORFI5 has been modified to now include a selection of 
'non-controlled' drugs.
 
 
Item #7:
--------
As a pharmacist finishing orders, I need to be able to select the CLINIC 
SORT GROUP for processing after choosing to sort prescriptions by 
controlled substance schedule, so that I can focus on the controlled 
substance prescriptions written by the providers to whom I am assigned.
 
Resolution:
-----------
Routines PSOORFIN, PSOORFI5, PSOORFI3, and PSOORFI6 have been modified to 
now allow a user to select a primary and a secondary sort criteria. After 
selecting a primary sort criteria, the user will not be able to select 
the same criteria as the secondary sort.
 
 
 
 
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 retrieve files from download.DNS      .va.gov. 
 
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:
 
Hines:                  DNS     .URL           
Salt Lake City:         fo-slc.URL       
 
Documentation can also be found on the VA Software Documentation Library 
at:
http://URL            /
Title                         File Name                       FTP Mode
-----------------------------------------------------------------------
<Documentation title>       
 
 
Patch Installation:
 
 
Pre/Post Installation Overview:
-------------------------------
N/A
 
 
Pre-Installation Instructions:
------------------------------
N/A
 
 
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 
    PSO*7*505.
    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 Rebuild Menu Trees Upon Completion of
    Install? NO//', answer 'NO'.  
 
6.  When prompted 'Want KIDS to INHIBIT LOGONs during the install?
    NO//', answer 'NO'
 
7.  When prompted 'Want to DISABLE Scheduled Options, Menu Options, 
    and Protocols? NO//', answer 'NO'.
 
8.  If prompted 'Delay Install (Minutes):  (0 - 60): 0//' respond 0.
 
 
Post-Installation Instructions:
-------------------------------
N/A


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


The second line of each of these routines now looks like:
 ;;7.0;OUTPATIENT PHARMACY;**[Patch List]**;DEC 1997;Build 31

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

Routine Name: PSODIR1
    Before: B93842245   After: B14588281  **23,46,78,102,121,131,146,166,
                                           184,222,268,206,266,340,391,
                                           444,446,505**
Routine Name: PSOHELP
    Before: B49812789   After: B50313084  **3,23,29,48,46,117,131,222,
                                           268,206,276,282,444,505**
Routine Name: PSOHLDS4
    Before: B16602666   After: B16987762  **156,255,279,385,505**
Routine Name: PSOHLEXP
    Before: B22400492   After: B24025393  **10,22,36,73,148,257,391,505**
Routine Name: PSON52
    Before: B99620667   After:B103621262  **1,16,23,27,32,46,71,111,124,
                                           117,131,139,157,143,219,148,
                                           239,201,268,260,225,303,358,
                                           251,387,379,390,391,313,408,
                                           473,505**
Routine Name: PSOOREDT
    Before: B82334396   After: B91435250  **4,20,27,37,57,46,78,102,104,
                                           119,143,148,260,281,304,289,
                                           298,379,377,391,313,427,411,
                                           505**
Routine Name: PSOORFI1
    Before: B82061614   After: B86566158  **7,15,23,27,32,44,51,46,71,
                                           90,108,131,152,186,210,222,258,
                                           260,225,391,408,444,467,505**
Routine Name: PSOORFI3
    Before: B74671626   After: B77499735  **15,27,32,46,84,99,130,117,
                                           139,172,225,300,384,372,505**
Routine Name: PSOORFI5
    Before: B47164460   After: B77755003  **225,315,266,391,372,416,505**
Routine Name: PSOORFI6
    Before: B23497771   After:B120107597  **225,505**
Routine Name: PSOORFIN
    Before: B64024579   After: B72047260  **7,15,27,32,44,46,84,106,111,
                                           117,131,146,139,195,225,315,
                                           266,338,391,372,416,446,505**
Routine Name: PSOORNE6
    Before: B50160901   After: B50434819  **46,103,117,156,210,488,505**
Routine Name: PSOORNEW
    Before: B98552577   After:B112855650  **11,23,27,32,55,46,71,90,94,
                                           106,131,133,143,237,222,258,
                                           206,225,251,386,390,391,372,
                                           416,431,313,408,436,411,444,
                                           486,446,505**
Routine Name: PSOOTMRX
    Before: B20486782   After: B23205494  **313,505**
 
Routine list of preceding patches: 385, 446, 467, 473, 488


=============================================================================
User Information:  
  Entered By  :   FISHER,BRADLEY       Date Entered  :   OCT  9,2017
  Completed By:                        Date Completed:   
  Released By :                        Date Released :   
=============================================================================


