============================================================================= Run Date: AUG 08, 2024 Designation: OR*3*606 Package : OR - ORDER ENTRY/RESULTS REPORTING Priority: Mandatory Version : 3 SEQ #523 Status: Released Compliance Date: SEP 08, 2024 ============================================================================= Associated patches: (v)OR*3*588 <<= must be installed BEFORE `OR*3*606' Subject: PCE DELETION FIXES Category: - Routine Description: ============ This patch is part of a multi-package build. Below is a list of all the applications involved in this build along with their patch numbers: APPLICATION/VERSION PATCH --------------------------------------------------------------- PCE PATIENT CARE ENCOUNTER v1.0 PX*1.0*238 TEXT INTEGRATION UTILITIES v1.0 TIU*1.0*362 ORDER ENTRY/RESULTS REPORTING v3.0 OR*3.0*606 This patch fixes an issue that was sometimes causing PCE encounter data to inadvertently get deleted when a progress note was deleted. Refer to the Defect section below for more details. 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 New Service Requests (NSRs): N/A Patient Safety Issues (PSIs): N/A Defect Tracking System Ticket(s) & Overview: 1. INC26742699, INC27212898, INC33743499 - PCE Data Missing for Inpatient and Outpatient Problem: -------- Sometimes when a progress note was deleted it was inadvertently deleting the PCE encounter data, even though there were other progress notes still referencing the encounter. There were two scenarios that were found when this can occur. a) When a historical note is created for the same Visit Date/Time and Location as an Ambulatory or Telephone Visit, when that historical note is deleted, it also deletes the PCE data for the Ambulatory or Telephone Visit. b) When an addendum is created for an inpatient note, if that addendum is deleted, it can sometimes delete all the PCE Data linked to the Daily Hospitalization Visit of the parent note. Resolution: ----------- There were a few changes made to the API that is called when a progress note is deleted (DELETE^ORWPCE) to prevent this from happening. a) Previously, it used the Visit string and DFN to see if there were other progress notes still referencing this Visit. Now it will use the Visit IEN that CPRS started to pass in; b) If for some reason, the API was called with the Visit String instead of the Visit IEN, the enhanced PCE encounter lookup API (FINDVISIT^PXUTLVST) will be used to get the Visit IEN, which will ensure the correct Visit IEN is used; c) When checking if there are other notes that still reference this Visit (by calling the DOCCNT^TIUSRVLV API), it will now pass in an argument to the DOCCNT API so that it will also check if there are any notes that reference the Visit via the SECONDARY VISIT field; d) Bundled patch, PX*1*238, made changes to DATA2PCE to prevent an encounter of one service category getting matched with an encounter of a different service category (which was sometimes causing an historical encounter to be matched to an ambulatory or telephone encounter). Test Sites: ----------- Charleston VAMC (Charleston, SC) Puget Sound HCS (Seattle, WA) South Texas HCS (San Antonio, TX) Test Sites - SNOW Change Order #: Charleston VAMC: Change Order #CHG0495785 Puget Sound HCS: Change Order #CHG0496011 South Texas HCS: Change Order #CHG0497054 Software and Documentation Retrieval Instructions: -------------------------------------------------- The software for this patch is being released using a host file. The host file is available at the following location: /srv/vista/patches/SOFTWARE/ENHANCED_PCE_ENCOUNTER_LOOKUP_1_0.KID Documentation describing the new functionality is not included in this release. Documentation Title File Name --------------------------------------------------------------------- N/A Patch Installation: ------------------- Pre/Post Installation Overview: N/A Pre-Installation Instructions: The patch is installed as part of a multi-package build. Please refer to the PX*1.0*238 patch description for install instructions. Installation Instructions: Please refer to the PX*1.0*238 patch description for installation instructions. Post-Installation Instructions: Please refer to the PX*1.0*238 patch description for post-installation instructions. Back-Out/Roll Back Plan: Please refer to the PX*1.0*238 patch description for Back-Out/Roll Back Plan. 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 3 The checksums below are new checksums, and can be checked with CHECK1^XTSUMBLD. Routine Name: ORWPCE Before: B70931540 After: B77927919 **10,85,116,173,190,195,215, 243,295,280,306,361,385,398, 377,476,539,405,588,606** Routine Name: ORWPCE1 Before: B28138521 After: B27145035 **10,85,116,132,148,187,190, 215,243,280,306,361,501,559, 405,598,606** Routine Name: ORWPCE3 Before:B149758596 After:B144178790 **10,85,116,190,280,306,371, 361,385,377,498,405,598,588, 606** Routine list of preceding patches: 588 ============================================================================= User Information: Entered By : Date Entered : JUL 06, 2023 Completed By: Date Completed: AUG 06, 2024 Released By : Date Released : AUG 08, 2024 ============================================================================= Packman Mail Message: ===================== No routines included