source: FOIAVistA/trunk/r/ZZREGIONAL-A1C-A5C-CRHD-RGED-RGUT-RGWB-RG/RGJUSITE.m@ 1354

Last change on this file since 1354 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 714 bytes
Line 
1RGJUSITE ;ALB/JLU-CIRN SITE PARAMETER (#991.8) FILE API ;10/01/96
2 ;;1.0;CLINICAL INFO RESOURCE NETWORK;**7,19**;30 Apr 99
3 ;
4SEND() ;this function call is used to determine if the MPI/PD messages should
5 ;be fired. It will check the parameter 'stop mpi/pd messaging' in 991.8
6 ;INPUTS - There are no inputs.
7 ;OUTPUTS - This function will return a zero if the messages are
8 ; to be stopped.
9 ; A positive one will be returned if the messages are
10 ; not to be stopped.
11 ; A two will be returned for suspend.
12 ;
13 N VAL,IEN,STOP ;**7
14 S STOP=1
15 S IEN=$O(^RGSITE(991.8,"B",1,0))
16 G STOPQ:'IEN
17 S VAL=$P($G(^RGSITE(991.8,IEN,1)),U,6)
18 S STOP=$S('VAL:0,1:1,2:2)
19 ;
20STOPQ Q STOP
21 ;
Note: See TracBrowser for help on using the repository browser.