Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ADE60P20

ADE60P20.m

Go to the documentation of this file.
  1. ADE60P20 ;IHS/OIT/ENM - ADE GENERAL PATCH MODULE P20 [ 10/07/2009 11:38 AM ]
  1. ;;6.0;ADE;**20**;MAR 25, 1999
  1. ;
  1. ; This patch contains calls to 1 ADE P20 routine with
  1. ; new Dental ADA Code Updates
  1. ;
  1. ENV ;Environment check
  1. I '$G(IOM) D HOME^%ZIS
  1. ;
  1. I '$G(DUZ) W !,"YOUR DUZ VARIABLE IS UNDEFINED!! Please login with your Access & Verify." D SORRY(2) Q
  1. ;
  1. I '$L($G(DUZ(0))) W !,"Your DUZ(0) VARIABLE IS UNDEFINED OR NULL." D SORRY(2) Q
  1. ;
  1. I '(DUZ(0)["@") W:'$D(ZTQUEUED) !,"YOUR DUZ(0) VARIABLE DOES NOT CONTAIN AN '@'." D SORRY(2)
  1. Q
  1. POST ;EP Post-Install
  1. ; only post for patch 20 - ENM 04/23/09
  1. ; Modify 3 ADA Codes
  1. N ADED,ADECNT,ADEVALUE
  1. D BMES^XPDUTL("Modifying 3 records in the ADA Code File...")
  1. D MODCDT5^ADE6P202
  1. D BMES^XPDUTL(" ...DONE")
  1. Q
  1. SORRY(X) ;
  1. K DIFQ
  1. S XPDQUIT=X
  1. W *7,!,$$CJ^XLFSTR("Sorry....Please fix it.",40)
  1. Q