YS258PST ;ISP/LMT - Patch 258 Post-init ;Jan 31, 2025@12:20:54
;;5.01;MENTAL HEALTH;**258**;Dec 30, 1994;Build 2
;
;
Q
EDTDATE ; date used to update 601.71:18
;;3250131.1300
Q
;
PRE ; nothing necessary
Q
;
POST ; post-init
D INSTALLQ^YTXCHG("XCHGLST","YS258PST")
Q
;
SCREEN ; line to put in DATA SCREEN of KIDS build
; $$INCLUDE^YTXCHG(Y,"TAG","RTN") calls TAG^RTN to get an array of
; instrument exchange entries to include in the build. It sets Y
; to true if the entry should be included.
;
I $$INCLUDE^YTXCHG(Y,"XCHGLST","YS258PST")
Q
;
XCHGLST(ARRAY) ; return array of instrument exchange entries
; ARRAY(cnt,1)=instrument exchange entry name
; ARRAY(cnt,2)=instrument exchange entry creation date
;
N I,X
F I=1:1 S X=$P($T(ENTRIES+I),";;",2,99) Q:X="zzzzz" D
. S ARRAY(I,1)=$P(X,U)
. S ARRAY(I,2)=$P(X,U,2)
Q
;
ENTRIES ; New MHA instruments ^ Exchange Entry Date
;;YS*5.01*258 SRCS^02/03/2025@14:27:52
;;zzzzz
;
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HYS258PST 993 printed Aug 26, 2025@22:28:41 Page 2
YS258PST ;ISP/LMT - Patch 258 Post-init ;Jan 31, 2025@12:20:54
+1 ;;5.01;MENTAL HEALTH;**258**;Dec 30, 1994;Build 2
+2 ;
+3 ;
+4 QUIT
EDTDATE ; date used to update 601.71:18
+1 ;;3250131.1300
+2 QUIT
+3 ;
PRE ; nothing necessary
+1 QUIT
+2 ;
POST ; post-init
+1 DO INSTALLQ^YTXCHG("XCHGLST","YS258PST")
+2 QUIT
+3 ;
SCREEN ; line to put in DATA SCREEN of KIDS build
+1 ; $$INCLUDE^YTXCHG(Y,"TAG","RTN") calls TAG^RTN to get an array of
+2 ; instrument exchange entries to include in the build. It sets Y
+3 ; to true if the entry should be included.
+4 ;
+5 IF $$INCLUDE^YTXCHG(Y,"XCHGLST","YS258PST")
+6 QUIT
+7 ;
XCHGLST(ARRAY) ; return array of instrument exchange entries
+1 ; ARRAY(cnt,1)=instrument exchange entry name
+2 ; ARRAY(cnt,2)=instrument exchange entry creation date
+3 ;
+4 NEW I,X
+5 FOR I=1:1
SET X=$PIECE($TEXT(ENTRIES+I),";;",2,99)
if X="zzzzz"
QUIT
Begin DoDot:1
+6 SET ARRAY(I,1)=$PIECE(X,U)
+7 SET ARRAY(I,2)=$PIECE(X,U,2)
End DoDot:1
+8 QUIT
+9 ;
ENTRIES ; New MHA instruments ^ Exchange Entry Date
+1 ;;YS*5.01*258 SRCS^02/03/2025@14:27:52
+2 ;;zzzzz
+3 ;
+4 QUIT