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

PSB3P103.m

Go to the documentation of this file.
  1. PSB3P103 ;AITC/CR - POST INIT FOR PATCH PSB*3*103 ;2/27/18 9:18am
  1. ;;3.0;BAR CODE MED ADMIN;**103**;Mar 2004;Build 21
  1. ;Per VA Directive 6402, this routine should not be modified
  1. ;
  1. ; call to: $$ADD^XPDMENU - supported by ICR #1157
  1. ; BMES^XPDUTL - supported by ICR #10141
  1. ;
  1. POST ; set up the new option for the report 'Report for Respiratory Therapists',
  1. ; the option name is [PSB RPT RESP THERAPY MEDS] and the menu receiving it is
  1. ; [PSB PHARMACY]
  1. ;
  1. D BMES^XPDUTL("Starting Post-installation operations for patch PSB*3.0*103...")
  1. D ADD1
  1. D EXIT
  1. Q
  1. ;
  1. ADD1 ; update menu [PSB PHARMACY]
  1. N PSBOK,PSBSYN
  1. S PSBSYN=12
  1. S PSBOK=$$ADD^XPDMENU("PSB PHARMACY","PSB RPT RESP THERAPY MEDS",PSBSYN)
  1. I PSBOK=1 D
  1. . D BMES^XPDUTL("[PSB RPT RESP THERAPY MEDS] Option is part of [PSB PHARMACY]")
  1. E D G ERR
  1. . D BMES^XPDUTL("Couldn't add option [PSB RPT RESP THERAPY MEDS] to [PSB PHARMACY]")
  1. Q
  1. ;
  1. ERR ; alert the user if there is an error
  1. D BMES^XPDUTL("Unable to attach the menu option")
  1. Q
  1. ;
  1. EXIT ;
  1. D BMES^XPDUTL("Finished Post-installation of patch PSB*3.0*103.")
  1. Q