fix to add IMMUNE section to DPATV("ALL")
This commit is contained in:
parent
f17f45589b
commit
e56ea7c52f
|
@ -412,7 +412,7 @@ RPCGV(RTN,DFN,WHICH) ; RPC GET VARS
|
|||
; RETURNS IN RTN (PASSED BY REFERENCE) THE VARS AND VALUES
|
||||
; FOUND AT INARY RTN(X)="VAR^VALUE" RTN(0) IS THE COUNT
|
||||
; DFN IS THE PATIENT NUMBER.
|
||||
; WHICH IS "ALL","MEDS","VITALS","PROBLEMS","ALERTS","RESULTS"
|
||||
; WHICH IS "ALL","MEDS","VITALS","PROBLEMS","ALERTS","RESULTS","IMMUNE"
|
||||
; OR OTHER SECTIONS AS THEY ARE ADDED
|
||||
; THIS IS MEANT TO BE AVAILABLE AS AN RPC
|
||||
I '$D(RIMBASE) D ASETUP ; FOR COMMAND LINE CALLS
|
||||
|
@ -420,8 +420,9 @@ RPCGV(RTN,DFN,WHICH) ; RPC GET VARS
|
|||
S RTN(0)=0 ; DEFAULT NOTHING IS RETURNED
|
||||
N ZZGI
|
||||
I WHICH="ALL" D ; VARIABLES FROM ALL SECTIONS
|
||||
. F ZZGI="HEADER","PROBLEMS","VITALS","MEDS","ALERTS","RESULTS" D ;
|
||||
. F ZZGI="HEADER","PROBLEMS","VITALS","MEDS","ALERTS","RESULTS","IMMUNE" D ;
|
||||
. . D ZGVWRK(ZZGI) ; DO EACH SECTION
|
||||
. . W "DID ",ZZGI,!
|
||||
E D ZGVWRK(WHICH) ; ONLY ONE SECTION ASKED FOR
|
||||
Q
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue