FH*5.5*55 (13485)    BUILD (9.6)

Name Value
NAME FH*5.5*55
DATE DISTRIBUTED 2023-01-04 00:00:00
PACKAGE FILE LINK DIETETICS
REQUIRED BUILD
  • FH*5.5*33
    ACTION:   Don't install, leave global
TYPE SINGLE PACKAGE
ALPHA/BETA TESTING NO
DESCRIPTION OF ENHANCEMENTS
This patch addresses the following issue:
1.      INC22357619- ALERT FOR WRONG PATIENT DISPLAYS WHEN ACCESSING VIEW 
ALERTS
 
Associated NSR(s):
==================
N/A
 
Participating Test Sites:
=========================
TBD
 
 
 
Defect Tracking System Ticket(s) & Overview:
===========================================
 
 
1. INC22357619 - ALERT FOR WRONG PATIENT DISPLAYS IN VIEW ALERTS
 
   Problem:
   -------
ALERT FOR WRONG PATIENT DISPLAYS WHEN ACCESSING VIEW ALERTS 
Alert for wrong patient displayed when accessing View Alerts and an alert 
displayed for a different patient when using View Alert.  This issue was 
reviewed by the Kernel team and their findings were that the application 
is creating an incorrect Package identifier (four comma pieces instead of 
three), so that when the application processes the alert, the patient id 
or notification id are incorrectly referenced. This was found to be due 
to the Package identifier being created using $H which itself contains a 
comma.
 
   Resolution:
 
   ----------
The use of $H to create the Package identifier does allow the creation of 
a unique identifier but causes problems due to the extra comma.  This 
patch will modify FH routines to modify the package id sent to kernel to 
conform with kernel documentation.  Kernel 8.0 & Kernel Toolkit 7.3
Developer's Guide documents the package id as follows:
Paragraph 3.2.1 - The software application identifier for an alert is 
defined as the original value of the XQAID input variable when the alert 
is created via the SETUP^XQALERT: Send Alerts API. Typically, the 
software application identifier should begin with the software 
 
application namespace.
Paragraph 3.3 - The Computerized Patient Record System (CPRS) software 
uses a convention for the format of the software application identifier 
consisting of three comma-delimited pieces:
namespace_","_dfn_","_notificationcode
Where:
   - namespace is the software application namespace.
   - dfn is the internal entry number of the patient whom the alert 
     concerns in the PATIENT (#2) file.
   - notificationcode is a code maintained by the CPRS software 
 
     describing the type of alert.
 
Prior to this patch the XQAID variable passed to kernel was created as 
"FH,"_$J_","_$H ($J is the vista job# for the task & $H is mumps 
date/time)
 
 
   Technical Resolution:
   --------------------
The setting of XQAID in routines ALRT^FHCTF5, ALRT^FHASM2A, PHA^FHASM2A 
Associated ticket(s):
and FIL^FHWTRN is changed to use the patient's DFN as the 2nd comma piece 
and a number identifying the FH alert type in the 3rd piece.
 
"FH,"_DFN_","_TYPE
 
The types are as follows
1 = Food/drug interaction alert
2 = Nutrition Patient assessment alert
3 = Monitor BMI alert
4 = Monitor Tubefeed alert
=====================
5 = Monitor Hyperals alert
6 = Monitor Albumin alert
7 = Monitor NPO+Clr alert
 
The TYPE is set into the variable FHCODE in routines FHWTRN & FHCTF5 for 
each type of alert.
During analysis it was also found that routines FHWTRN & FHCTF5 were 
passing in FHCTF2 as the entry point for processing the alert but did not 
include a routine name for processing, therefore the alert is deleted 
which I believe is correct because these alerts I believe are meant to be 
 
informational.  Setting an entry point should not have been done and both 
entry point and routine should not be set. 
 
This patch comments out the code S XQAOPT="FHCTF2" at FIL+11^FHWTRN and 
ALRT+9^FHCTF5.
TRACK PACKAGE NATIONALLY YES
XPI1 NO
XPO1 NO
XPZ1 NO
SEQ# 50
BUILD COMPONENTS
  • ENTRIES:
    • FHCTF5
      ACTION:   SEND TO SITE
      CHECKSUM:   B42334358
    • FHASM2A
      ACTION:   SEND TO SITE
      CHECKSUM:   B17583470
    • FHWTRN
      ACTION:   SEND TO SITE
      CHECKSUM:   B38671911