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

BLRREFLP.m

Go to the documentation of this file.
  1. BLRREFLP ;IHS/OIT/MKK - BLR REFERENCE LAB Post Install Routine ;JUL 20, 2010 10:55 AM
  1. ;;5.2;IHS LABORATORY;**1027**;NOV 01, 1997
  1. ;
  1. EP ; EP
  1. D ADDTMENU("BLRREFLABMENU","BLR REFLAB PURGE SHIP MANIFEST","PSM")
  1. Q
  1. ;
  1. ADDTMENU(MENU,OPTION,SYN) ; EP
  1. NEW ADDOPT,CHKIT,HEREYAGO,STR1,STR2,STR3
  1. ;
  1. ; Determine if MENU is in File 19
  1. D FIND^DIC(19,,,,MENU,,,,,"HEREYAGO")
  1. I +$G(HEREYAGO("DILIST",2,1))<1 D Q
  1. . D MES^XPDUTL($J("",5)_MENU_" Menu not in File 19. No Option Added.")
  1. ;
  1. K HEREYAGO
  1. ; Determine if OPTION is in File 19
  1. D FIND^DIC(19,,,,OPTION,,,,,"HEREYAGO")
  1. I +$G(HEREYAGO("DILIST",2,1))<1 D Q
  1. . D MES^XPDUTL($J("",5)_OPTION_" option not in File 19. Option "_OPTION_" NOT Added to "_MENU_" menu.")
  1. ;
  1. D BMES^XPDUTL("Adding "_OPTION_" to "_MENU_".")
  1. ;
  1. S CHKIT=$$ADD^XPDMENU(MENU,OPTION,SYN)
  1. ;
  1. I CHKIT=1 D Q
  1. . D MES^XPDUTL($J("",5)_OPTION_" added to "_MENU_"."_" OK.")
  1. . D MES^XPDUTL(" ")
  1. ;
  1. S STR1="Error in adding "_OPTION_" to "_MENU_"."
  1. D SORRY^BLRPRE27(STR1,"NONFATAL")
  1. ;
  1. Q