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

RGJUSITE.m

Go to the documentation of this file.
  1. RGJUSITE ;ALB/JLU-CIRN SITE PARAMETER (#991.8) FILE API ;10/01/96
  1. ;;1.0;CLINICAL INFO RESOURCE NETWORK;**7,19**;30 Apr 99
  1. ;
  1. SEND() ;this function call is used to determine if the MPI/PD messages should
  1. ;be fired. It will check the parameter 'stop mpi/pd messaging' in 991.8
  1. ;INPUTS - There are no inputs.
  1. ;OUTPUTS - This function will return a zero if the messages are
  1. ; to be stopped.
  1. ; A positive one will be returned if the messages are
  1. ; not to be stopped.
  1. ; A two will be returned for suspend.
  1. ;
  1. N VAL,IEN,STOP ;**7
  1. S STOP=1
  1. S IEN=$O(^RGSITE(991.8,"B",1,0))
  1. G STOPQ:'IEN
  1. S VAL=$P($G(^RGSITE(991.8,IEN,1)),U,6)
  1. S STOP=$S('VAL:0,1:1,2:2)
  1. ;
  1. STOPQ Q STOP
  1. ;