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")
|
||||
S ZI=""
|
||||
F S ZI=$O(@INARY@(ZI)) Q:ZI="" D ; FOR EACH ELEMENT OF THE ARRAY
|
||||
. S ZJ=$P(ZI,"/",2) ;
|
||||
. I ZJ="" S ZJ=$P(ZI,"/",3) ;
|
||||
. S @OUTARY@(ZJ,ZI)=@INARY@(ZI)
|
||||
. I $P(ZI,"//",2)'="" D ; FOR NON-BODY ENTRIES
|
||||
. . S ZJ=$P(ZI,"/",4) ; things like From Patient Actor
|
||||
. 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
|
||||
;
|
||||
FINDTID ; FIND TEMPLATE IDS IN DOM 1
|
||||
|
|
Loading…
Reference in New Issue