Changeset 358 for ccr/trunk/p
- Timestamp:
- Feb 6, 2009, 2:07:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/GPLRIMA.m
r356 r358 410 410 ; 411 411 RPCGV(RTN,DFN,WHICH) ; RPC GET VARS 412 ; RETURNS IN RTN (PASSED BY REFERENCE) THE VARS AND VALUES 413 ; FOUND AT INARY RTN(X)="VAR^VALUE" RTN(0) IS THE COUNT 414 ; DFN IS THE PATIENT NUMBER. 415 ; WHICH IS "ALL","MEDS","VITALS","PROBLEMS","ALERTS","RESULTS" 416 ; OR OTHER SECTIONS AS THEY ARE ADDED 417 ; THIS IS MEANT TO BE AVAILABLE AS AN RPC 418 I '$D(RIMBASE) D ASETUP ; FOR COMMAND LINE CALLS 419 S ZVBASE=$NA(@RIMBASE@("VARS")) ; BASE OF VARIABLES 420 S RTN(0)=0 ; DEFAULT NOTHING IS RETURNED 421 N ZZGI 422 I WHICH="ALL" D ; VARIABLES FROM ALL SECTIONS 423 . F ZZGI="HEADER","PROBLEMS","VITALS","MEDS","ALERTS","RESULTS" D ; 424 . . D ZGVWRK(ZZGI) ; DO EACH SECTION 425 E D ZGVWRK(WHICH) ; ONLY ONE SECTION ASKED FOR 426 Q 427 ; 412 ; RETURNS IN RTN (PASSED BY REFERENCE) THE VARS AND VALUES 413 ; FOUND AT INARY RTN(X)="VAR^VALUE" RTN(0) IS THE COUNT 414 ; DFN IS THE PATIENT NUMBER. 415 ; WHICH IS "ALL","MEDS","VITALS","PROBLEMS","ALERTS","RESULTS","IMMUNE" 416 ; OR OTHER SECTIONS AS THEY ARE ADDED 417 ; THIS IS MEANT TO BE AVAILABLE AS AN RPC 418 I '$D(RIMBASE) D ASETUP ; FOR COMMAND LINE CALLS 419 S ZVBASE=$NA(@RIMBASE@("VARS")) ; BASE OF VARIABLES 420 S RTN(0)=0 ; DEFAULT NOTHING IS RETURNED 421 N ZZGI 422 I WHICH="ALL" D ; VARIABLES FROM ALL SECTIONS 423 . F ZZGI="HEADER","PROBLEMS","VITALS","MEDS","ALERTS","RESULTS","IMMUNE" D ; 424 . . D ZGVWRK(ZZGI) ; DO EACH SECTION 425 . . W "DID ",ZZGI,! 426 E D ZGVWRK(WHICH) ; ONLY ONE SECTION ASKED FOR 427 Q 428 ; 428 429 ZGVWRK(ZWHICH) ; DO ONE SECTION FOR RPCGV 429 430 ;
Note:
See TracChangeset
for help on using the changeset viewer.