$TXT Created by G at CHY0077.FO-BAYPINES.DOMAIN.EXT (KIDS) on Thursday, 08/29/24 at 17:20 ============================================================================= Run Date: SEP 16, 2024 Designation: SD*5.3*887 Package : SD - SCHEDULING Priority: Mandatory Version : 5.3 SEQ #735 Status: Released Compliance Date: SEP 27, 2024 ============================================================================= Associated patches: (v)SD*5.3*875 <<= must be installed BEFORE `SD*5.3*887' (v)SD*5.3*878 <<= must be installed BEFORE `SD*5.3*887' (v)SD*5.3*880 <<= must be installed BEFORE `SD*5.3*887' (v)SD*5.3*886 <<= must be installed BEFORE `SD*5.3*887' Subject: Updates to Scheduling RPCs Category: - Routine - Enhancement (Mandatory) - Other Description: ============ VistA Scheduling (VS) patch SD*5.3*887 includes several defect corrections and enhancements including: The SDES2 GET CLINICS BY PROVIDER, SDES GET CLINIC INFO3 and the SDES GET CLINICS BY PROVIDER Remote Procedure Calls (RPC) were updated to return the new Veteran Self Cancel field. The Veteran self-cancel field was added to the returned clinic object for the following RPCs: SDES2 GET APPT BY APPT IEN SDES2 GET APPTS BY APPT IENS SDES2 GET APPTS BY CLINIC IEN SDES2 GET APPTS BY CLINIC LIST - This RPC should be used in lieu of SDES2 GET APPTS BY CLIN LIST APPTS BY CLIN LIST SDES2 GET APPTS BY CLN RES IEN SDES2 GET APPTS BY PAT DFN2 Logic was added to the SDES887P post install routine to set the Veteran self-cancel flag for clinics. The SDES2 SEARCH CLINIC ATTRIBUTES RPC was updated to return the correct empty object name when there is a validation error. The SDES2 GET CLINIC AVAIL BY SVC RPC was updated to adjust the way the Maximum records returned is calculated by using the timeslots, rather than the number of appointments per timeslot. In addition, the maximum number of records returned was increased from 100 to 500. The SDES DISPLAY CONTACT and SDES2 GET CONTACT ATTEMPTS RPCs were updated to include a field ServiceName. The SDES ADD/UPDATE CONTACT and SDES2 ADD CONTACT ATTEMPT were updated to calculate the Service based on Request and will no longer store the SERVICE field (#1.1) in the SDEC CONTACT file (#409.86). The SDES2 GET DISP CONT ATTEMPTS RPC was updated to return the external value of the associated Service from the Request. A post-install routine will remove the values from the SERVICE field (#1.1) in the SDEC CONTACT file (#409.86) The SDES GET CLINIC INFO3 RPC was updated to call INACTIVE^SDES2UTIL so that the correct inactive/active status for a clinic is returned. Patch Components: ----------------- Files & Fields Associated: New/Modified/Deleted -------------------------- -------------------- File Name (Number) Field Name New/Modified/Deleted ------------------ ---------- -------------------- 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 ------------- -------------------- 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 --------------------- -------------------- SDES ADD/UPDATE CONTACT Modified SDES DISPLAY CONTACT Modified SDES GET CLINIC INFO3 Modified SDES GET CLINICS BY PROVIDER Modified SDES2 ADD CONTACT ATTEMPT Modified SDES2 GET APPT BY APPT IEN Modified SDES2 GET APPTS BY APPT IENS Modified SDES2 GET APPTS BY CLINIC IEN Modified SDES2 GET APPTS BY CLINIC LIST Modified SDES2 GET APPTS BY CLN RES IEN Modified SDES2 GET APPTS BY PAT DFN2 Modified SDES2 GET CLINIC AVAIL BY SVC Modified SDES2 GET CLINICS BY PROVIDER Modified SDES2 GET CONTACT ATTEMPTS Modified Parameter Definitions Associated: --------------------------------- N/A Defect Tracking System Ticket(s) & Overview: -------------------------------------------- JIRA tasks: =========== 1) VSE-8228: VistA: Modify GET CLIN* RPCs to return the new Veteran Self Cancel field. Problem: As a MUMPS developer I want to modify GET CLIN* RPCs to return the new Veteran Self Cancel field. Resolution: The SDES2 GET CLINICS BY PROVIDER, SDES GET CLINIC INFO3 and the SDES GET CLINICS BY PROVIDER were updated to return the new Veteran Self Cancel field. 2) VSE-8230: VistA: Add Veteran self-cancel to the clinic object returned by SDES2 GET APPT* RPC's. Problem: As a MUMPS developer I want to add Veteran self-cancel to the clinic object returned by the following SDES2 GET APPT* RPC's: Resolution: The Veteran self-cancel field was added to the returned clinic object for the following RPCs: SDES2 GET APPT BY APPT IEN SDES2 GET APPTS BY APPT IENS SDES2 GET APPTS BY CLINIC IEN SDES2 GET APPTS BY CLINIC LIST - This RPC should be used in lieu of SDES2 GET APPTS BY CLIN LIST APPTS BY CLIN LIST SDES2 GET APPTS BY CLN RES IEN SDES2 GET APPTS BY PAT DFN2 3) VSE-8231: VistA: Create a post-install routine that will set the Veteran self-cancel flag for clinics. Problem: VistA: Create a post-install routine that will set the Veteran self-cancel flag for clinics. Resolution: Logic was added to the SDES887P post install routine to set the Veteran self-cancel flag for clinics. 4) VSE-8246: VistA: Modify SDES2 SEARCH CLINIC ATTRIBUTES to correct the empty object name and routine documentation. Problem: As a MUMPS developer I want to Modify SDES2 SEARCH CLINIC ATTRIBUTES to correct the empty object name so that the correct empty object is returned when there is a validation error. I also want to clean up program documentation with references to recalls so that the documentation truly reflects the functionality. Resolution: The SDES2 SEARCH CLINIC ATTRIBUTES RPC was updated to return the correct empty object name when there is a validation error. 5) VSE-8259: VistA: Modify SDES2 GET CLINIC AVAIL BY SVC to adjust the way the Maximum records returned is calculated. Problem: As a MUMPS developer I want to modify SDES2 GET CLINIC AVAIL BY SVC to adjust the way the Maximum records returned is calculated by using the timeslots, rather than the number of appointments per timeslot. I also want to Increase the maximum number returned from 100 to 500. Resolution: The SDES2 GET CLINIC AVAIL BY SVC RPC was updated to adjust the way the Maximum records returned is calculated by using the timeslots, rather than the number of appointments per timeslot. In addition, the maximum number of records returned was increased from 100 to 500. 6) VSE-8402: VistA: Modify SDES2 GET DISP CONT ATTEMPTS to fix an erroneous service IEN value. Problem: Issue of the IEN displaying on Service field for contact attempts vs external value was discovered when ISS was incorporating the new RPC SDES2 GET DISP CONT ATTEMPTS into the UI. When fixing the issue, we discovered that the TO SERVICE in File 123 is not pointing to 40.7, it is pointing to the 123.5 file. Therefore, when displaying the external value, the wrong service is being displayed. The team discussion decided the best solution based on the fact the the SERVICE field in 409.86 SDEC CONTACT attempts have never been populated via GUI. It didn't start storing a value until SDES was introduced is: 1. Update the SDES2 ADD CONTACT ATTEMPT and SDES ADD/UPDATE CONTACT logic to no longer store data in the SERVICE field. 2. Update SDES2 GET CONTACT ATTEMPTS, SDES DISPLAY CONTACT, and SDES2 GET DISP CONT ATTEMPTS to calculate the SERVICE from the request itself. 3. Need to verify that the SDES and SDES2 get requests RPCs call the above changes and are fixed with the above changes. 4. Data cleanup to clear out SERVICE from the 409.86 Resolution: The SDES DISPLAY CONTACT and SDES2 GET CONTACT ATTEMPTS RPCs were updated to include a field ServiceName. The SDES ADD/UPDATE CONTACT and SDES2 ADD CONTACT ATTEMPT were updated to calculate the Service based on Request and will no longer store the SERVICE field (#1.1) in the SDEC CONTACT file (#409.86). The SDES2 GET DISP CONT ATTEMPTS RPC was updated to return the external value of the associated Service from the Request. A post-install routine will remove the values from the SERVICE field (#1.1) in the SDEC CONTACT file (#409.86) 7) VSE-8234 - VistA: Modify $$INACTIVE^SDESUTIL to call $$INACTIVE^SDES2UTIL. Problem: As a CCM user, I need the active flag of a clinic to be correctly calculated when there is an existing reactivate date stored in the file. As a Mumps developer, I need to change the call to INACTIVE^SDESUTIL function to call the function INACTIVE^SDES2UTIL so that the correct inactive/active status for a clinic is returned. This will fix the problem found in RPC: SDES GET CLINIC INFO3 not returning the correct inactive/active status. Resolution: The SDES GET CLINIC INFO3 RPC was updated to call INACTIVE^SDES2UTIL so that the correct inactive/active status for a clinic is returned. Test Sites: ----------- Fargo, ND (FAR) San Diego, CA (SDC) Software and Documentation Retrieval Instructions: ---------------------------------------------------- Software is distributed by PackMan message. Other Software Files: This release also includes documentation and other software files. They can be obtained at: https://download.vista.domain.ext/index.html/SOFTWARE/ Documentation Title File Name FTP Mode -------------------------------------------------------------------------- PIMS Technical Manual PIMS_TM Binary Documentation describing the new functionality is included in this release. Documentation can be found on the VA Software Documentation Library at: https://www.domain.ext/vdl/ Patch Installation: ------------------- Pre/Post Installation Overview: ------------------------------- Post-install routine SDES887P will set the Veteran self-cancel flag for clinics. Routine will run at the end of patch installation process. Pre-Installation Instructions: ------------------------------ N/A Setup/Configuration 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. 1. Choose the PackMan message containing this patch. 2. Choose the INSTALL/CHECK MESSAGE PackMan option. 3. From the KIDS Menu, select the Installation Menu. From this menu, you may elect to use the following options. When prompted for the INSTALL NAME, enter SD*5.3*887. a. Backup a Transport Global - This option will create a backup message of any components exported with this patch. You are prompted to select "R" for Routines or "B" for Build. For this patch, backing up the "B"uild is suggested. Select one of the following: B Build R Routines Enter response: Build 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 when prompted for the INSTALL NAME, enter SD*5.3*887. 5. If prompted 'Want KIDS to Rebuild Menu Trees Upon Completion of Install? NO//' respond NO. 6. When prompted "Want KIDS to INHIBIT LOGONs during the install? NO//" respond NO. 7. If 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: ------------------------------- Post install routine SDES887P will automatically run at the end of the installation process. After the post install has finished running, sites can delete the SDES887P routine using the Delete Routines [XTRDEL] if they wish. Back-Out Plan/Roll Back Plan: ----------------------------- 1. Load the Backup MailMan Message a. Go into MailMan and find the backup message created in step 3a of the installation process and read that message. b. At the "Type to continue or '^' to exit:" prompt enter ^ to get to the command prompt. c. At the command prompt enter X for eXtract and press enter. d. At the "Select PackMan function:" prompt enter 6 for INSTALL/CHECK MESSAGE and press enter. e. At the "OK to Continue with Load? NO//" prompt, type YES and press enter. f. At the "Want to Continue with Load? YES//" prompt, press enter. g. Exit MailMan. 2. Go Into the Kernel Installation & Distribution System (KIDS) and load and install the backup like you would a regular patch. a. Enter D ^XUP at the command prompt. b. At the "Select OPTION NAME:" prompt, enter Kernel Installation & Distribution System" and press enter. c. From the main KIDS menu, select the Installation ... option. d. From the Installation ... option, select 6 Install Package(s). e. At the "Select INSTALL NAME:" prompt enter SD*5.3*887b. f. If prompted for "Want KIDS to INHIBIT LOGONs during the install? NO//" take the default by pressing enter. g. If prompted for "Want to DISABLE Scheduled Options, Menu Options, and Protocols? NO//" take the default by pressing enter. h. At the DEVICE: prompt, enter the output device of your choice. i. Verify that the SD*5.3*887b backup installs without any issues. Routine Information: ==================== The second line of each of these routines now looks like: ;;5.3;Scheduling;**[Patch List]**;Aug 13, 1993;Build 7 The checksums below are new checksums, and can be checked with CHECK1^XTSUMBLD. Routine Name: SDES2BLDAPPT44 Before: B39221427 After: B40046123 **871,877,880,887** Routine Name: SDES2CLNSEARCH Before: B72455182 After: B72786951 **870,871,875,887** Routine Name: SDES2CONTACTS Before: B87033509 After: B91853960 **860,873,878,887** Routine Name: SDES2GETCLINAVL Before: B42897591 After: B46583876 **880,887** Routine Name: SDES2GETDISPCONS Before: B34254607 After: B33494241 **885,886,887** Routine Name: SDES2PRVCLINSRC Before: B5695469 After: B6180993 **880,887** Routine Name: SDES2UTIL Before:B137824011 After:B137840669 **853,857,864,877,887** Routine Name: SDES887P Before: n/a After: B2184684 **887** Routine Name: SDESCONTACTS Before:B159891123 After:B156729483 **835,837,845,851,887** Routine Name: SDESPROVCLINSRCH Before: B4104453 After: B4540559 **837,871,887** Routine Name: SDESRTVCLN3 Before:B136384959 After:B138407253 **866,871,887** Routine Name: SDESUTIL Before:B135181872 After:B125802717 **801,804,805,814,816,818,820, 823,824,825,831,836,838,845, 851,877,878,887** Routine list of preceding patches: 875, 878, 880, 886 ============================================================================= User Information: Entered By : Date Entered : JUL 18, 2024 Completed By: Date Completed: SEP 16, 2024 Released By : Date Released : SEP 16, 2024 ============================================================================= Packman Mail Message: ===================== $END TXT