fixed nul Problems processing

This commit is contained in:
george 2008-08-14 16:24:07 +00:00
parent c0f8b2738c
commit 2740f017cc
1 changed files with 2 additions and 2 deletions

View File

@ -30,10 +30,10 @@ EXTRACT(IPXML,DFN,OUTXML) ; EXTRACT PROBLEMS INTO PROVIDED XML TEMPLATE
;
N RPCRSLT,J,K,PTMP,X,VMAP,TBUF
D LIST^ORQQPL3(.RPCRSLT,DFN,"") ; CALL THE PROBLEM LIST RPC
I '$D(RPCRSLT(1)) D ; RPC RETURNS NULL
I '$D(RPCRSLT(1)) D Q ; RPC RETURNS NULL
. W "NULL RESULT FROM LIST^ORQQPL3 ",!
. S @OUTXML@(0)=0
. Q
. ; Q
ZWR RPCRSLT
S TVMAP=$NA(^TMP("GPLCCR",$J,"PROBVALS"))
S TARYTMP=$NA(^TMP("GPLCCR",$J,"PROBARYTMP"))