fixed XPAT^GPLCCR so it defaults last two parameters D XPAT^GPLCCR(dfn) works
This commit is contained in:
parent
0c12f244f2
commit
83cefeca24
|
@ -31,6 +31,8 @@ XPAT(DFN,DIR,FN) ; EXPORT ONE PATIENT TO A FILE
|
||||||
; DIR IS THE DIRECTORY, DEFAULTS IF NULL TO ^TMP("GPLCCR","ODIR")
|
; DIR IS THE DIRECTORY, DEFAULTS IF NULL TO ^TMP("GPLCCR","ODIR")
|
||||||
; FN IS FILE NAME, DEFAULTS IF NULL
|
; FN IS FILE NAME, DEFAULTS IF NULL
|
||||||
N CCRGLO
|
N CCRGLO
|
||||||
|
I '$D(DIR) S DIR=""
|
||||||
|
I '$D(FN) S FN=""
|
||||||
D CCRRPC(.CCRGLO,DFN,"CCR","","","")
|
D CCRRPC(.CCRGLO,DFN,"CCR","","","")
|
||||||
S OARY=$NA(^TMP("GPLCCR",$J,DFN,"CCR",1))
|
S OARY=$NA(^TMP("GPLCCR",$J,DFN,"CCR",1))
|
||||||
S ONAM=FN
|
S ONAM=FN
|
||||||
|
|
Loading…
Reference in New Issue