ADE60P21 ;IHS/OIT/ENM - ADE GENERAL PATCH MODULE P21 [ 12/07/2009 11:38 AM ]
;;6.0;ADE;**21**;MAR 25, 1999
;
; This patch contains calls to 1 ADE P21 routine with
; modified 'No Opsite' data in Dental ADA Code file
;
ENV ;Environment check
I '$G(IOM) D HOME^%ZIS
;
I '$G(DUZ) W !,"YOUR DUZ VARIABLE IS UNDEFINED!! Please login with your Access & Verify." D SORRY(2) Q
;
I '$L($G(DUZ(0))) W !,"Your DUZ(0) VARIABLE IS UNDEFINED OR NULL." D SORRY(2) Q
;
I '(DUZ(0)["@") W:'$D(ZTQUEUED) !,"YOUR DUZ(0) VARIABLE DOES NOT CONTAIN AN '@'." D SORRY(2)
Q
POST ;EP Post-Install
; only post for patch 21 - ENM 12/04/09
; Modify 23 ADA Codes
N ADED,ADECNT,ADEVALUE
D BMES^XPDUTL("Modifying the 'No Opsite' fields for 23 ADA Code File records and more...")
D MODADA^ADE6P21
D BMES^XPDUTL(" ...DONE")
Q
SORRY(X) ;
K DIFQ
S XPDQUIT=X
W *7,!,$$CJ^XLFSTR("Sorry....Please fix it.",40)
Q
ADE60P21 ;IHS/OIT/ENM - ADE GENERAL PATCH MODULE P21 [ 12/07/2009 11:38 AM ]
+1 ;;6.0;ADE;**21**;MAR 25, 1999
+2 ;
+3 ; This patch contains calls to 1 ADE P21 routine with
+4 ; modified 'No Opsite' data in Dental ADA Code file
+5 ;
ENV ;Environment check
+1 IF '$GET(IOM)
DO HOME^%ZIS
+2 ;
+3 IF '$GET(DUZ)
WRITE !,"YOUR DUZ VARIABLE IS UNDEFINED!! Please login with your Access & Verify."
DO SORRY(2)
QUIT
+4 ;
+5 IF '$LENGTH($GET(DUZ(0)))
WRITE !,"Your DUZ(0) VARIABLE IS UNDEFINED OR NULL."
DO SORRY(2)
QUIT
+6 ;
+7 IF '(DUZ(0)["@")
IF '$DATA(ZTQUEUED)
WRITE !,"YOUR DUZ(0) VARIABLE DOES NOT CONTAIN AN '@'."
DO SORRY(2)
+8 QUIT
POST ;EP Post-Install
+1 ; only post for patch 21 - ENM 12/04/09
+2 ; Modify 23 ADA Codes
+3 NEW ADED,ADECNT,ADEVALUE
+4 DO BMES^XPDUTL("Modifying the 'No Opsite' fields for 23 ADA Code File records and more...")
+5 DO MODADA^ADE6P21
+6 DO BMES^XPDUTL(" ...DONE")
+7 QUIT
SORRY(X) ;
+1 KILL DIFQ
+2 SET XPDQUIT=X
+3 WRITE *7,!,$$CJ^XLFSTR("Sorry....Please fix it.",40)
+4 QUIT