fixed call to GPLXPATH to C0CXPATH
This commit is contained in:
parent
e44283a4ca
commit
59f9fd66b3
|
@ -1,5 +1,5 @@
|
|||
C0CUTIL ;WV/C0C/SMH - Various Utilites for generating the CCR/CCD;06/15/08
|
||||
;;1.0;C0C;;May 19, 2009;
|
||||
;;0.1;C0C;;Jun 15, 2008;Build 29
|
||||
;Copyright 2008-2009 Sam Habiel & George Lilly.
|
||||
;Licensed under the terms of the GNU
|
||||
;General Public License See attached copy of the License.
|
||||
|
@ -78,14 +78,14 @@ SORTDT(V1,V2,ORDR) ; DATE SORT ARRAY AND RETURN INDEX IN V1 AND COUNT
|
|||
S ZG=$Q(VSRT(""))
|
||||
F D Q:ZG="" ;
|
||||
. ; W ZG,!
|
||||
. D PUSH^GPLXPATH("V1",@ZG)
|
||||
. D PUSH^C0CXPATH("V1",@ZG)
|
||||
. S ZG=$Q(@ZG)
|
||||
I ORDR=-1 D ; HAVE TO REVERSE ORDER
|
||||
. N ZG2
|
||||
. F ZI=1:1:V1(0) D ; FOR EACH ELELMENT
|
||||
. . S ZG2(V1(0)-ZI+1)=V1(ZI) ; SET IN REVERSE ORDER
|
||||
. S ZG2(0)=V1(0)
|
||||
. D CP^GPLXPATH("ZG2","V1") ; COPY OVER THE NEW ARRAY
|
||||
. D CP^C0CXPATH("ZG2","V1") ; COPY OVER THE NEW ARRAY
|
||||
Q ZCNT
|
||||
;
|
||||
DA2SNO(RTN,DNAME) ; LOOK UP DRUG ALLERGY CODE IN ^LEX
|
||||
|
@ -130,3 +130,4 @@ WV() ; Are we running on WorldVista?
|
|||
Q $G(DUZ("AG"))="E" ; Code for WV.
|
||||
OV() ; Are we running on OpenVista?
|
||||
Q $G(DUZ("AG"))="O" ; Code for OpenVista
|
||||
|
Loading…
Reference in New Issue