$TXT Created by at CEP2S.DEVSLC.DOMAIN.EXT (KIDS) on Thursday, 11/16/23 at 12:11 ============================================================================= Run Date: JAN 11, 2024 Designation: OR*3*605 Package : OR - ORDER ENTRY/RESULTS REPORTING Priority: Mandatory Version : 3 SEQ #512 Status: Released Compliance Date: FEB 11, 2024 ============================================================================= Associated patches: (v)OR*3*578 <<= must be installed BEFORE `OR*3*605' Subject: INCORRECT ORDER CHECK MESSAGE Category: - Routine Description: ============ This patch will address the following issue: MOCHA duplicate order check displaying "UNRELEASED" on a released prescription (Active, Discontinued, etc.), which is misleading. Patch Components: ----------------- Files & Fields Associated: File Name (Number) Field Name (Number) New/Modified/Deleted ------------------ ------------------- -------------------- N/A Forms Associated: Form Name File Number 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 Remote Procedures Associated: Remote Procedure Name New/Modified/Deleted --------------------- -------------------- N/A Parameter Definitions Associated: Parameter Name New/Modified/Deleted -------------- -------------------- N/A Additional Information: ----------------------- Blood Bank Team Coordination: ----------------------------- N/A New Service Requests (NSRs): ---------------------------- None Patient Safety Issues (PSIs): ----------------------------- HITPS-9476 Defect Tracking System Ticket(s) & Overview: -------------------------------------------- 1. INC25382971 - MOCHA duplicate order check displaying "UNRELEASED" on a "DISCONTINUED" order. Problem 1: ---------- When placing an outpatient order in CPRS, when it triggers a drug-drug or duplicate therapy interaction message, it displays "UNRELEASED" status on a released prescription (Active, Discontinued, etc.), which is misleading. On researching, we noticed this happens only on prescriptions where the internal entry number (IEN) of the duplicate drug being checked, ends with a zero (0). Resolution 1: ------------- The code generating the duplicate drug check is looking at the last character ending with zero to check for "UNRELEASED" order status, which is not always the case. Technical Resolution 1: ----------------------- In routine ORKPS1, variable ORNUM is set to "O;IEN" for prescription (IEN) associated with the order. If the order is not released in CPRS, ORNUM is then set to "O;0". Currently, the code is checking if the last character is zero (0) to identify "UNRELEASED" status, however, if the IEN ends with a zero, it will fall into "UNRELEASED" status, which is incorrect. The code is modified to check if the second piece of variable ORNUM is only one character and the value is zero, and then to display "UNRELEASED" prescription status. Test Sites: ----------- CENTRAL CALIFORNIA HCS (FRESNO, CA) HC NETWORK UPSTATE NY (UPSTATE, NY) SNOW Change Order #: -------------------- UNY: FRESNO: Software and Documentation Retrieval Instructions: -------------------------------------------------- The software for this patch is being released in a PackMan message. Documentation describing the new functionality is not included in this release. Documentation Title File Name --------------------------------------------------------------------- N/A 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 build. Then select the INSTALL/CHECK MESSAGE PackMan option to load the build. 2. From the Kernel Installation and Distribution System Menu, select the Installation Menu. From this menu, A. Select the Verify Checksums in Transport Global option to confirm the integrity of the routines that are in the transport global. When prompted for the INSTALL NAME enter the patch or build name. OR*3.0*605 NOTE: Using will not bring up a Multi-Package build even if it was loaded immediately before this step. It will only bring up the last patch in the build. B. Select the Backup a Transport Global option to create a backup message. You must use this option and specify what to backup; the entire Build or just Routines. The backup message can be used to restore the routines and components of the build to the pre-patch condition. i. At the Installation option menu, select Backup a Transport Global ii. At the Select INSTALL NAME prompt, enter your build OR*3.0*605 iii. When prompted for the following, enter "R" for Routines or "B" for Build. Select one of the following: B Build R Routines Backup Type: B// iv. When prompted "Do you wish to secure this message? NO//", press and take the default response of "NO". v. When prompted with, "Send mail to: Last name, First Name", press to take default recipient. Add any additional recipients. vi. When prompted with "Select basket to send to: IN//", press and take the default IN mailbox or select a different mailbox. C. You may also elect to use the following options: i. Print Transport Global - This option will allow you to view the components of the KIDS build. ii. 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 of the components of this patch, such as routines, DDs, templates, etc. D. Select the Install Package(s) option and choose the patch to install. i. If prompted 'Want KIDS to Rebuild Menu Trees Upon Completion of Install? NO//', answer NO. ii. When prompted 'Want KIDS to INHIBIT LOGONs during the install? NO//', answer NO. iii. When prompted 'Want to DISABLE Scheduled Options, Menu Options, and Protocols? NO//', answer NO. Post-Installation Instructions: Back-Out/Roll Back Plan: ------------------------ 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. To request assistance with a back-out, please log a ServiceNow ticket, and state that you're requesting assistance with backing out patch OR*3*605. Routine Information: ==================== The second line of each of these routines now looks like: ;;3.0;ORDER ENTRY/RESULTS REPORTING;**[Patch List]**;Dec 17, 1997;Build 4 The checksums below are new checksums, and can be checked with CHECK1^XTSUMBLD. Routine Name: ORKPS1 Before:B119007398 After:B122608538 **232,272,346,352,345,311,402, 457,469,481,578,605** Routine list of preceding patches: 578 ============================================================================= User Information: Entered By : Date Entered : MAY 22, 2023 Completed By: Date Completed: JAN 10, 2024 Released By : Date Released : JAN 11, 2024 ============================================================================= Packman Mail Message: ===================== $END TXT