fix for VistACom
This commit is contained in:
parent
7867b83e2c
commit
16b6640184
|
@ -148,9 +148,12 @@ SEPARATE(OUTARY,INARY) ; SEPARATES XPATH VARIABLES ACCORDING TO THEIR
|
||||||
; ROOT ; /Problems/etc/etc goes to @OUTARY@("Problems","/Problems/etc/etc")
|
; ROOT ; /Problems/etc/etc goes to @OUTARY@("Problems","/Problems/etc/etc")
|
||||||
S ZI=""
|
S ZI=""
|
||||||
F S ZI=$O(@INARY@(ZI)) Q:ZI="" D ; FOR EACH ELEMENT OF THE ARRAY
|
F S ZI=$O(@INARY@(ZI)) Q:ZI="" D ; FOR EACH ELEMENT OF THE ARRAY
|
||||||
. S ZJ=$P(ZI,"/",2) ;
|
. I $P(ZI,"//",2)'="" D ; FOR NON-BODY ENTRIES
|
||||||
. I ZJ="" S ZJ=$P(ZI,"/",3) ;
|
. . S ZJ=$P(ZI,"/",4) ; things like From Patient Actor
|
||||||
. S @OUTARY@(ZJ,ZI)=@INARY@(ZI)
|
. E D ; FOR BODY PARTS
|
||||||
|
. . S ZJ=$P(ZI,"/",2) ;
|
||||||
|
. . I ZJ="" S ZJ=$P(ZI,"/",3) ;
|
||||||
|
. S @OUTARY@(ZJ,ZI)=$G(@INARY@(ZI)) ;FIX THIS FOR MULTILINE COMMENTS
|
||||||
Q
|
Q
|
||||||
;
|
;
|
||||||
FINDTID ; FIND TEMPLATE IDS IN DOM 1
|
FINDTID ; FIND TEMPLATE IDS IN DOM 1
|
||||||
|
|
Loading…
Reference in New Issue