Changeset 1115 for Scheduling/trunk/m/BSDX01.m
- Timestamp:
- Mar 28, 2011, 10:38:15 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX01.m
r1100 r1115 1 BSDX01 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 9/29/10 10:20am1 BSDX01 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 3/16/11 7:08am 2 2 ;;1.5V2;BSDX;;Mar 03, 2011 3 3 ; … … 257 257 I '$D(^VA(200,BSDXDUZ,51,BSDXIEN,0)) Q 0 258 258 Q 1 259 SP(BSDXY,PARAM,YESNO) ; Save Param at User Level - EP 260 ; Called by RPC: BSDX SET PARAM 261 ; Input: 262 ; - Param: Name of Parameter (prog name of course) 263 ; - Yes/No: 1 or 0 264 ; Output: Error Code as string; 0 is good 265 ; 266 ; Security Protection 267 IF $EXTRACT(PARAM,1,4)'="BSDX" S BSDXY="-1^BSDX Params only allowed" QUIT 268 ; 269 N ERROR 270 D PUT^XPAR("USR",PARAM,1,YESNO,.ERROR) 271 S BSDXY=$G(ERROR) 272 QUIT 273 ; 274 GP(BSDXY,PARAM) ; Get Param - EP 275 ; Called by RPC: BSDX GET PARAM 276 ; Input: Name of Parameter 277 ; Output: Value of parameter: 0 or 1, for now. 278 ; 279 S BSDXY=$$GET^XPAR("USR^LOC^SYS^PKG",PARAM,1,"I") 280 QUIT 281 ; 259 282 INDIV(BSDXSC) ; PEP - Is ^SC clinic in the same DUZ(2) as user? 260 283 ; Input: BSDXSC - Hospital Location IEN
Note:
See TracChangeset
for help on using the changeset viewer.