IS00006A ;Compiled from script 'Generated: HL IHS DW1 A31-O' on SEP 08, 2008
;Part 2
;Copyright 2008 SAIC
EN S D0=INDA S X=""
S @INV@("PID13")=X K DXS,D0
;SET PID14 = ""
S D0=INDA S X=""
S @INV@("PID14")=X K DXS,D0
;SET PID15 = ""
S D0=INDA S X=""
S @INV@("PID15")=X K DXS,D0
;SET PID16 = ""
S D0=INDA S X=""
S @INV@("PID16")=X K DXS,D0
;SET PID17 = ""
S D0=INDA S X=""
S @INV@("PID17")=X K DXS,D0
;SET PID18 = ""
S D0=INDA S X=""
S @INV@("PID18")=X K DXS,D0
;SET PID19 = INSGX\^INTHL7F(16262,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16262,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("PID19")=X K DXS,D0
;SET PID20 = ""
S D0=INDA S X=""
S @INV@("PID20")=X K DXS,D0
;SET PID21 = ""
S D0=INDA S X=""
S @INV@("PID21")=X K DXS,D0
;SET PID22 = ""
S D0=INDA S X=""
S @INV@("PID22")=X K DXS,D0
;SET PID23 = ""
S D0=INDA S X=""
S @INV@("PID23")=X K DXS,D0
;SET PID24 = ""
S D0=INDA S X=""
S @INV@("PID24")=X K DXS,D0
;SET PID25 = ""
S D0=INDA S X=""
S @INV@("PID25")=X K DXS,D0
;SET PID26 = ""
S D0=INDA S X=""
S @INV@("PID26")=X K DXS,D0
;SET PID27 = INSGX\^INTHL7F(16270,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16270,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("PID27")=X K DXS,D0
;SET PID28 = ""
S D0=INDA S X=""
S @INV@("PID28")=X K DXS,D0
;SET PID29 = INSGX\^INTHL7F(16272,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16272,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("PID29")=X K DXS,D0
;SET PID30 = ""
S D0=INDA S X=""
S @INV@("PID30")=X K DXS,D0
;SET PID31 = ""
S D0=INDA S X=""
S @INV@("PID31")=X K DXS,D0
;SET PID32 = ""
S D0=INDA S X=""
S @INV@("PID32")=X K DXS,D0
;SET PID33 = ""
S D0=INDA S X=""
S @INV@("PID33")=X K DXS,D0
;SET PID34 = ""
S D0=INDA S X=""
S @INV@("PID34")=X K DXS,D0
;SET PID35 = ""
S D0=INDA S X=""
S @INV@("PID35")=X K DXS,D0
;SET PID36 = ""
S D0=INDA S X=""
S @INV@("PID36")=X K DXS,D0
;SET PID37 = ""
S D0=INDA S X=""
S @INV@("PID37")=X K DXS,D0
;SET PID38 = ""
S D0=INDA S X=""
S @INV@("PID38")=X K DXS,D0
D:'INVS MC^INHS
K LINE S LINE="",CP=0 S L1="PID" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("PID1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("PID2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("PID3"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("PID4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
S L1=$G(@INV@("PID5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("PID6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
S L1=$G(@INV@("PID7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("PID8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
S L1=$G(@INV@("PID9")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("PID10")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
S L1=$G(@INV@("PID11")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP) S L1=$G(@INV@("PID12")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,13,L1,.CP) S L1=$G(@INV@("PID13")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,14,L1,.CP) S L1=$G(@INV@("PID14"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,15,L1,.CP) S L1=$G(@INV@("PID15")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,16,L1,.CP)
S L1=$G(@INV@("PID16")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,17,L1,.CP) S L1=$G(@INV@("PID17")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,18,L1,.CP) S L1=$G(@INV@("PID18")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,19,L1,.CP) S L1=$G(@INV@("PID19"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,20,L1,.CP) S L1=$G(@INV@("PID20")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,21,L1,.CP)
S L1=$G(@INV@("PID21")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,22,L1,.CP) S L1=$G(@INV@("PID22")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,23,L1,.CP) S L1=$G(@INV@("PID23")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,24,L1,.CP) S L1=$G(@INV@("PID24"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,25,L1,.CP) S L1=$G(@INV@("PID25")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,26,L1,.CP)
S L1=$G(@INV@("PID26")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,27,L1,.CP) S L1=$G(@INV@("PID27")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,28,L1,.CP) S L1=$G(@INV@("PID28")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,29,L1,.CP) S L1=$G(@INV@("PID29"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,30,L1,.CP) S L1=$G(@INV@("PID30")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,31,L1,.CP)
S L1=$G(@INV@("PID31")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,32,L1,.CP) S L1=$G(@INV@("PID32")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,33,L1,.CP) S L1=$G(@INV@("PID33")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,34,L1,.CP) S L1=$G(@INV@("PID34"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,35,L1,.CP) S L1=$G(@INV@("PID35")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,36,L1,.CP)
S L1=$G(@INV@("PID36")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,37,L1,.CP) S L1=$G(@INV@("PID37")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,38,L1,.CP) S L1=$G(@INV@("PID38")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,39,L1,.CP)
S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
SET INSETID=0
;SET ZRB1 = INSGX\^INTHL7F(16323,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16323,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("ZRB1")=X K DXS,D0
;SET ZRB2 = INSGX\^INTHL7F(16324,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16324,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("ZRB2")=X K DXS,D0
;SET ZRB3 = INSGX\^INTHL7F(16325,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16325,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("ZRB3")=X K DXS,D0
;SET ZRB4 = ""
S D0=INDA S X=""
S @INV@("ZRB4")=X K DXS,D0
;SET ZRB5 = INSGX\^INTHL7F(16327,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16327,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("ZRB5")=X K DXS,D0
D:'INVS MC^INHS
K LINE S LINE="",CP=0 S L1="ZRB" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZRB1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZRB2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZRB3"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZRB4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
9 G EN^IS00006B
IS00006A ;Compiled from script 'Generated: HL IHS DW1 A31-O' on SEP 08, 2008
+1 ;Part 2
+2 ;Copyright 2008 SAIC
EN SET D0=INDA
SET X=""
+1 SET @INV@("PID13")=X
KILL DXS,D0
+2 ;SET PID14 = ""
+3 SET D0=INDA
SET X=""
+4 SET @INV@("PID14")=X
KILL DXS,D0
+5 ;SET PID15 = ""
+6 SET D0=INDA
SET X=""
+7 SET @INV@("PID15")=X
KILL DXS,D0
+8 ;SET PID16 = ""
+9 SET D0=INDA
SET X=""
+10 SET @INV@("PID16")=X
KILL DXS,D0
+11 ;SET PID17 = ""
+12 SET D0=INDA
SET X=""
+13 SET @INV@("PID17")=X
KILL DXS,D0
+14 ;SET PID18 = ""
+15 SET D0=INDA
SET X=""
+16 SET @INV@("PID18")=X
KILL DXS,D0
+17 ;SET PID19 = INSGX\^INTHL7F(16262,5)\\999\"OUTPUT TRANSFORM"
+18 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+19 SET X1="^INTHL7F(16262,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+20 SET @INV@("PID19")=X
KILL DXS,D0
+21 ;SET PID20 = ""
+22 SET D0=INDA
SET X=""
+23 SET @INV@("PID20")=X
KILL DXS,D0
+24 ;SET PID21 = ""
+25 SET D0=INDA
SET X=""
+26 SET @INV@("PID21")=X
KILL DXS,D0
+27 ;SET PID22 = ""
+28 SET D0=INDA
SET X=""
+29 SET @INV@("PID22")=X
KILL DXS,D0
+30 ;SET PID23 = ""
+31 SET D0=INDA
SET X=""
+32 SET @INV@("PID23")=X
KILL DXS,D0
+33 ;SET PID24 = ""
+34 SET D0=INDA
SET X=""
+35 SET @INV@("PID24")=X
KILL DXS,D0
+36 ;SET PID25 = ""
+37 SET D0=INDA
SET X=""
+38 SET @INV@("PID25")=X
KILL DXS,D0
+39 ;SET PID26 = ""
+40 SET D0=INDA
SET X=""
+41 SET @INV@("PID26")=X
KILL DXS,D0
+42 ;SET PID27 = INSGX\^INTHL7F(16270,5)\\999\"OUTPUT TRANSFORM"
+43 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+44 SET X1="^INTHL7F(16270,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+45 SET @INV@("PID27")=X
KILL DXS,D0
+46 ;SET PID28 = ""
+47 SET D0=INDA
SET X=""
+48 SET @INV@("PID28")=X
KILL DXS,D0
+49 ;SET PID29 = INSGX\^INTHL7F(16272,5)\\999\"OUTPUT TRANSFORM"
+50 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+51 SET X1="^INTHL7F(16272,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+52 SET @INV@("PID29")=X
KILL DXS,D0
+53 ;SET PID30 = ""
+54 SET D0=INDA
SET X=""
+55 SET @INV@("PID30")=X
KILL DXS,D0
+56 ;SET PID31 = ""
+57 SET D0=INDA
SET X=""
+58 SET @INV@("PID31")=X
KILL DXS,D0
+59 ;SET PID32 = ""
+60 SET D0=INDA
SET X=""
+61 SET @INV@("PID32")=X
KILL DXS,D0
+62 ;SET PID33 = ""
+63 SET D0=INDA
SET X=""
+64 SET @INV@("PID33")=X
KILL DXS,D0
+65 ;SET PID34 = ""
+66 SET D0=INDA
SET X=""
+67 SET @INV@("PID34")=X
KILL DXS,D0
+68 ;SET PID35 = ""
+69 SET D0=INDA
SET X=""
+70 SET @INV@("PID35")=X
KILL DXS,D0
+71 ;SET PID36 = ""
+72 SET D0=INDA
SET X=""
+73 SET @INV@("PID36")=X
KILL DXS,D0
+74 ;SET PID37 = ""
+75 SET D0=INDA
SET X=""
+76 SET @INV@("PID37")=X
KILL DXS,D0
+77 ;SET PID38 = ""
+78 SET D0=INDA
SET X=""
+79 SET @INV@("PID38")=X
KILL DXS,D0
+80 IF 'INVS
DO MC^INHS
+81 KILL LINE
SET LINE=""
SET CP=0
SET L1="PID"
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,1,L1,.CP)
SET L1=$GET(@INV@("PID1"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+82 DO SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
SET L1=$GET(@INV@("PID2"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
SET L1=$GET(@INV@("PID3"))
+83 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,4,L1,.CP)
SET L1=$GET(@INV@("PID4"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
+84 SET L1=$GET(@INV@("PID5"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,6,L1,.CP)
SET L1=$GET(@INV@("PID6"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
+85 SET L1=$GET(@INV@("PID7"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,8,L1,.CP)
SET L1=$GET(@INV@("PID8"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
+86 SET L1=$GET(@INV@("PID9"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,10,L1,.CP)
SET L1=$GET(@INV@("PID10"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
+87 SET L1=$GET(@INV@("PID11"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,12,L1,.CP)
SET L1=$GET(@INV@("PID12"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+88 DO SETPIECE^INHU(.LINE,DELIM,13,L1,.CP)
SET L1=$GET(@INV@("PID13"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,14,L1,.CP)
SET L1=$GET(@INV@("PID14"))
+89 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,15,L1,.CP)
SET L1=$GET(@INV@("PID15"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,16,L1,.CP)
+90 SET L1=$GET(@INV@("PID16"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,17,L1,.CP)
SET L1=$GET(@INV@("PID17"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+91 DO SETPIECE^INHU(.LINE,DELIM,18,L1,.CP)
SET L1=$GET(@INV@("PID18"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,19,L1,.CP)
SET L1=$GET(@INV@("PID19"))
+92 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,20,L1,.CP)
SET L1=$GET(@INV@("PID20"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,21,L1,.CP)
+93 SET L1=$GET(@INV@("PID21"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,22,L1,.CP)
SET L1=$GET(@INV@("PID22"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+94 DO SETPIECE^INHU(.LINE,DELIM,23,L1,.CP)
SET L1=$GET(@INV@("PID23"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,24,L1,.CP)
SET L1=$GET(@INV@("PID24"))
+95 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,25,L1,.CP)
SET L1=$GET(@INV@("PID25"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,26,L1,.CP)
+96 SET L1=$GET(@INV@("PID26"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,27,L1,.CP)
SET L1=$GET(@INV@("PID27"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+97 DO SETPIECE^INHU(.LINE,DELIM,28,L1,.CP)
SET L1=$GET(@INV@("PID28"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,29,L1,.CP)
SET L1=$GET(@INV@("PID29"))
+98 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,30,L1,.CP)
SET L1=$GET(@INV@("PID30"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,31,L1,.CP)
+99 SET L1=$GET(@INV@("PID31"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,32,L1,.CP)
SET L1=$GET(@INV@("PID32"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+100 DO SETPIECE^INHU(.LINE,DELIM,33,L1,.CP)
SET L1=$GET(@INV@("PID33"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,34,L1,.CP)
SET L1=$GET(@INV@("PID34"))
+101 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,35,L1,.CP)
SET L1=$GET(@INV@("PID35"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,36,L1,.CP)
+102 SET L1=$GET(@INV@("PID36"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,37,L1,.CP)
SET L1=$GET(@INV@("PID37"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+103 DO SETPIECE^INHU(.LINE,DELIM,38,L1,.CP)
SET L1=$GET(@INV@("PID38"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,39,L1,.CP)
+104 SET LCT=LCT+1
SET ^UTILITY("INH",$JOB,LCT)=LINE
IF $DATA(LINE)>9
MERGE ^UTILITY("INH",$JOB,LCT)=LINE
+105 SET INSETID=0
+106 ;SET ZRB1 = INSGX\^INTHL7F(16323,5)\\999\"OUTPUT TRANSFORM"
+107 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+108 SET X1="^INTHL7F(16323,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+109 SET @INV@("ZRB1")=X
KILL DXS,D0
+110 ;SET ZRB2 = INSGX\^INTHL7F(16324,5)\\999\"OUTPUT TRANSFORM"
+111 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+112 SET X1="^INTHL7F(16324,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+113 SET @INV@("ZRB2")=X
KILL DXS,D0
+114 ;SET ZRB3 = INSGX\^INTHL7F(16325,5)\\999\"OUTPUT TRANSFORM"
+115 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+116 SET X1="^INTHL7F(16325,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+117 SET @INV@("ZRB3")=X
KILL DXS,D0
+118 ;SET ZRB4 = ""
+119 SET D0=INDA
SET X=""
+120 SET @INV@("ZRB4")=X
KILL DXS,D0
+121 ;SET ZRB5 = INSGX\^INTHL7F(16327,5)\\999\"OUTPUT TRANSFORM"
+122 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+123 SET X1="^INTHL7F(16327,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+124 SET @INV@("ZRB5")=X
KILL DXS,D0
+125 IF 'INVS
DO MC^INHS
+126 KILL LINE
SET LINE=""
SET CP=0
SET L1="ZRB"
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,1,L1,.CP)
SET L1=$GET(@INV@("ZRB1"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+127 DO SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
SET L1=$GET(@INV@("ZRB2"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
SET L1=$GET(@INV@("ZRB3"))
+128 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,4,L1,.CP)
SET L1=$GET(@INV@("ZRB4"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
9 GOTO EN^IS00006B