IS00007F ;Compiled from script 'Generated: HL IHS DW1 A08-O' on SEP 08, 2008
;Part 7
;Copyright 2008 SAIC
EN S @INV@("ZEN21")=X K DXS,D0
;SET ZEN22 = INSGX\^INTHL7F(16681,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16681,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("ZEN22")=X K DXS,D0
;SET ZEN23 = INSGX\^INTHL7F(16682,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16682,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("ZEN23")=X K DXS,D0
;SET ZEN24 = INSGX\^INTHL7F(16683,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16683,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("ZEN24")=X K DXS,D0
;SET ZEN25 = INSGX\^INTHL7F(16684,5)\\999\"OUTPUT TRANSFORM"
S D0=INDA S X="OUTPUT TRANSFORM"
S X1="^INTHL7F(16684,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("ZEN25")=X K DXS,D0
D:'INVS MC^INHS
K LINE S LINE="",CP=0 S L1="ZEN" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZEN1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZEN2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZEN3"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZEN4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
S L1=$G(@INV@("ZEN5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZEN6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
S L1=$G(@INV@("ZEN7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("ZEN8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
S L1=$G(@INV@("ZEN9")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("ZEN10")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
S L1=$G(@INV@("ZEN11")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP) S L1=$G(@INV@("ZEN12")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,13,L1,.CP) S L1=$G(@INV@("ZEN13")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,14,L1,.CP) S L1=$G(@INV@("ZEN14"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,15,L1,.CP) S L1=$G(@INV@("ZEN15")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,16,L1,.CP)
S L1=$G(@INV@("ZEN16")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,17,L1,.CP) S L1=$G(@INV@("ZEN17")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,18,L1,.CP) S L1=$G(@INV@("ZEN18")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,19,L1,.CP) S L1=$G(@INV@("ZEN19"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,20,L1,.CP) S L1=$G(@INV@("ZEN20")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,21,L1,.CP)
S L1=$G(@INV@("ZEN21")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,22,L1,.CP) S L1=$G(@INV@("ZEN22")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,23,L1,.CP) S L1=$G(@INV@("ZEN23")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,24,L1,.CP) S L1=$G(@INV@("ZEN24"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,25,L1,.CP) S L1=$G(@INV@("ZEN25")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,26,L1,.CP)
S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
SET INSETID=0
S INDA0=INDA,INI(1)=0 F S INI(1)=$O(INDA("ZVP",INI(1))) Q:'INI(1) S INDA=$S(INDA("ZVP",INI(1)):INDA("ZVP",INI(1)),1:INI(1)) D
.;SET ZVP1 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP1
.S D0=INDA S X=$G(INA("BDW1ZVP1",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("ZVP1")=X K DXS,D0
.;SET ZVP2 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP2
.S D0=INDA S X=$G(INA("BDW1ZVP2",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("ZVP2")=X K DXS,D0
.;SET ZVP3 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP3
.S D0=INDA S X=$G(INA("BDW1ZVP3",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("ZVP3")=X K DXS,D0
.;SET ZVP4 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP4
.S D0=INDA S X=$G(INA("BDW1ZVP4",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("ZVP4")=X K DXS,D0
.;SET ZVP5 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP5
.S D0=INDA S X=$G(INA("BDW1ZVP5",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("ZVP5")=X K DXS,D0
.;SET ZVP6 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP6
.S D0=INDA S X=$G(INA("BDW1ZVP6",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("ZVP6")=X K DXS,D0
.;SET ZVP7 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP7
.S D0=INDA S X=$G(INA("BDW1ZVP7",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("ZVP7")=X K DXS,D0
.D:'INVS MC^INHS
.K LINE S LINE="",CP=0 S L1="ZVP" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZVP1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
.D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZVP2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZVP3"))
.S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZVP4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
.S L1=$G(@INV@("ZVP5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZVP6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
.S L1=$G(@INV@("ZVP7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP)
.S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
.Q
S INDA=INDA0 K INDA0
SET INSETID=0
S INDA0=INDA,INI(1)=0 F S INI(1)=$O(INDA("DG1",INI(1))) Q:'INI(1) S INDA=$S(INDA("DG1",INI(1)):INDA("DG1",INI(1)),1:INI(1)) D
.;SET DG11 = INSGX\^INTHL7FT(1,3)\\999\@BDW1DG11
.S D0=INDA S X=$G(INA("BDW1DG11",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("DG11")=X K DXS,D0
.;SET DG12 = ""
.S D0=INDA S X=""
.S @INV@("DG12")=X K DXS,D0
.;SET DG13 = INSGX\^INTHL7FT(1,3)\\999\@BDW1DG13
.S D0=INDA S X=$G(INA("BDW1DG13",INI(1)))
.S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
.S @INV@("DG13")=X K DXS,D0
.;SET DG14 = ""
.S D0=INDA S X=""
.S @INV@("DG14")=X K DXS,D0
.;SET DG15 = ""
.S D0=INDA S X=""
.S @INV@("DG15")=X K DXS,D0
.;SET DG16 = ""
.S D0=INDA S X=""
.S @INV@("DG16")=X K DXS,D0
.;SET DG17 = ""
.S D0=INDA S X=""
.S @INV@("DG17")=X K DXS,D0
.;SET DG18 = ""
.S D0=INDA S X=""
.S @INV@("DG18")=X K DXS,D0
.;SET DG19 = ""
.S D0=INDA S X=""
.S @INV@("DG19")=X K DXS,D0
.;SET DG110 = ""
.S D0=INDA S X=""
.S @INV@("DG110")=X K DXS,D0
.;SET DG111 = ""
.S D0=INDA S X=""
.S @INV@("DG111")=X K DXS,D0
.;SET DG112 = ""
.S D0=INDA S X=""
.S @INV@("DG112")=X K DXS,D0
.;SET DG113 = ""
.S D0=INDA S X=""
.S @INV@("DG113")=X K DXS,D0
.;SET DG114 = ""
.S D0=INDA S X=""
.S @INV@("DG114")=X K DXS,D0
.;SET DG115 = ""
.S D0=INDA S X=""
.S @INV@("DG115")=X K DXS,D0
.;SET DG116 = ""
.S D0=INDA S X=""
.S @INV@("DG116")=X K DXS,D0
.;SET DG117 = ""
.S D0=INDA S X=""
.S @INV@("DG117")=X K DXS,D0
.;SET DG118 = ""
.S D0=INDA S X=""
9 .D EN^IS00007G
G C1^IS00007G
IS00007F ;Compiled from script 'Generated: HL IHS DW1 A08-O' on SEP 08, 2008
+1 ;Part 7
+2 ;Copyright 2008 SAIC
EN SET @INV@("ZEN21")=X
KILL DXS,D0
+1 ;SET ZEN22 = INSGX\^INTHL7F(16681,5)\\999\"OUTPUT TRANSFORM"
+2 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+3 SET X1="^INTHL7F(16681,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+4 SET @INV@("ZEN22")=X
KILL DXS,D0
+5 ;SET ZEN23 = INSGX\^INTHL7F(16682,5)\\999\"OUTPUT TRANSFORM"
+6 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+7 SET X1="^INTHL7F(16682,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+8 SET @INV@("ZEN23")=X
KILL DXS,D0
+9 ;SET ZEN24 = INSGX\^INTHL7F(16683,5)\\999\"OUTPUT TRANSFORM"
+10 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+11 SET X1="^INTHL7F(16683,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+12 SET @INV@("ZEN24")=X
KILL DXS,D0
+13 ;SET ZEN25 = INSGX\^INTHL7F(16684,5)\\999\"OUTPUT TRANSFORM"
+14 SET D0=INDA
SET X="OUTPUT TRANSFORM"
+15 SET X1="^INTHL7F(16684,5)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+16 SET @INV@("ZEN25")=X
KILL DXS,D0
+17 IF 'INVS
DO MC^INHS
+18 KILL LINE
SET LINE=""
SET CP=0
SET L1="ZEN"
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,1,L1,.CP)
SET L1=$GET(@INV@("ZEN1"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+19 DO SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
SET L1=$GET(@INV@("ZEN2"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
SET L1=$GET(@INV@("ZEN3"))
+20 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,4,L1,.CP)
SET L1=$GET(@INV@("ZEN4"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
+21 SET L1=$GET(@INV@("ZEN5"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,6,L1,.CP)
SET L1=$GET(@INV@("ZEN6"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
+22 SET L1=$GET(@INV@("ZEN7"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,8,L1,.CP)
SET L1=$GET(@INV@("ZEN8"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
+23 SET L1=$GET(@INV@("ZEN9"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,10,L1,.CP)
SET L1=$GET(@INV@("ZEN10"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
+24 SET L1=$GET(@INV@("ZEN11"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,12,L1,.CP)
SET L1=$GET(@INV@("ZEN12"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+25 DO SETPIECE^INHU(.LINE,DELIM,13,L1,.CP)
SET L1=$GET(@INV@("ZEN13"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,14,L1,.CP)
SET L1=$GET(@INV@("ZEN14"))
+26 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,15,L1,.CP)
SET L1=$GET(@INV@("ZEN15"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,16,L1,.CP)
+27 SET L1=$GET(@INV@("ZEN16"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,17,L1,.CP)
SET L1=$GET(@INV@("ZEN17"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+28 DO SETPIECE^INHU(.LINE,DELIM,18,L1,.CP)
SET L1=$GET(@INV@("ZEN18"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,19,L1,.CP)
SET L1=$GET(@INV@("ZEN19"))
+29 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,20,L1,.CP)
SET L1=$GET(@INV@("ZEN20"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,21,L1,.CP)
+30 SET L1=$GET(@INV@("ZEN21"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,22,L1,.CP)
SET L1=$GET(@INV@("ZEN22"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+31 DO SETPIECE^INHU(.LINE,DELIM,23,L1,.CP)
SET L1=$GET(@INV@("ZEN23"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,24,L1,.CP)
SET L1=$GET(@INV@("ZEN24"))
+32 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,25,L1,.CP)
SET L1=$GET(@INV@("ZEN25"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,26,L1,.CP)
+33 SET LCT=LCT+1
SET ^UTILITY("INH",$JOB,LCT)=LINE
IF $DATA(LINE)>9
MERGE ^UTILITY("INH",$JOB,LCT)=LINE
+34 SET INSETID=0
+35 SET INDA0=INDA
SET INI(1)=0
FOR
SET INI(1)=$ORDER(INDA("ZVP",INI(1)))
IF 'INI(1)
QUIT
SET INDA=$SELECT(INDA("ZVP",INI(1)):INDA("ZVP",INI(1)),1:INI(1))
Begin DoDot:1
+36 ;SET ZVP1 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP1
+37 SET D0=INDA
SET X=$GET(INA("BDW1ZVP1",INI(1)))
+38 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+39 SET @INV@("ZVP1")=X
KILL DXS,D0
+40 ;SET ZVP2 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP2
+41 SET D0=INDA
SET X=$GET(INA("BDW1ZVP2",INI(1)))
+42 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+43 SET @INV@("ZVP2")=X
KILL DXS,D0
+44 ;SET ZVP3 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP3
+45 SET D0=INDA
SET X=$GET(INA("BDW1ZVP3",INI(1)))
+46 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+47 SET @INV@("ZVP3")=X
KILL DXS,D0
+48 ;SET ZVP4 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP4
+49 SET D0=INDA
SET X=$GET(INA("BDW1ZVP4",INI(1)))
+50 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+51 SET @INV@("ZVP4")=X
KILL DXS,D0
+52 ;SET ZVP5 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP5
+53 SET D0=INDA
SET X=$GET(INA("BDW1ZVP5",INI(1)))
+54 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+55 SET @INV@("ZVP5")=X
KILL DXS,D0
+56 ;SET ZVP6 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP6
+57 SET D0=INDA
SET X=$GET(INA("BDW1ZVP6",INI(1)))
+58 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+59 SET @INV@("ZVP6")=X
KILL DXS,D0
+60 ;SET ZVP7 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP7
+61 SET D0=INDA
SET X=$GET(INA("BDW1ZVP7",INI(1)))
+62 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+63 SET @INV@("ZVP7")=X
KILL DXS,D0
+64 IF 'INVS
DO MC^INHS
+65 KILL LINE
SET LINE=""
SET CP=0
SET L1="ZVP"
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,1,L1,.CP)
SET L1=$GET(@INV@("ZVP1"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+66 DO SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
SET L1=$GET(@INV@("ZVP2"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
SET L1=$GET(@INV@("ZVP3"))
+67 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,4,L1,.CP)
SET L1=$GET(@INV@("ZVP4"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
+68 SET L1=$GET(@INV@("ZVP5"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,6,L1,.CP)
SET L1=$GET(@INV@("ZVP6"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
+69 SET L1=$GET(@INV@("ZVP7"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,8,L1,.CP)
+70 SET LCT=LCT+1
SET ^UTILITY("INH",$JOB,LCT)=LINE
IF $DATA(LINE)>9
MERGE ^UTILITY("INH",$JOB,LCT)=LINE
+71 QUIT
End DoDot:1
+72 SET INDA=INDA0
KILL INDA0
+73 SET INSETID=0
+74 SET INDA0=INDA
SET INI(1)=0
FOR
SET INI(1)=$ORDER(INDA("DG1",INI(1)))
IF 'INI(1)
QUIT
SET INDA=$SELECT(INDA("DG1",INI(1)):INDA("DG1",INI(1)),1:INI(1))
Begin DoDot:1
+75 ;SET DG11 = INSGX\^INTHL7FT(1,3)\\999\@BDW1DG11
+76 SET D0=INDA
SET X=$GET(INA("BDW1DG11",INI(1)))
+77 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+78 SET @INV@("DG11")=X
KILL DXS,D0
+79 ;SET DG12 = ""
+80 SET D0=INDA
SET X=""
+81 SET @INV@("DG12")=X
KILL DXS,D0
+82 ;SET DG13 = INSGX\^INTHL7FT(1,3)\\999\@BDW1DG13
+83 SET D0=INDA
SET X=$GET(INA("BDW1DG13",INI(1)))
+84 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+85 SET @INV@("DG13")=X
KILL DXS,D0
+86 ;SET DG14 = ""
+87 SET D0=INDA
SET X=""
+88 SET @INV@("DG14")=X
KILL DXS,D0
+89 ;SET DG15 = ""
+90 SET D0=INDA
SET X=""
+91 SET @INV@("DG15")=X
KILL DXS,D0
+92 ;SET DG16 = ""
+93 SET D0=INDA
SET X=""
+94 SET @INV@("DG16")=X
KILL DXS,D0
+95 ;SET DG17 = ""
+96 SET D0=INDA
SET X=""
+97 SET @INV@("DG17")=X
KILL DXS,D0
+98 ;SET DG18 = ""
+99 SET D0=INDA
SET X=""
+100 SET @INV@("DG18")=X
KILL DXS,D0
+101 ;SET DG19 = ""
+102 SET D0=INDA
SET X=""
+103 SET @INV@("DG19")=X
KILL DXS,D0
+104 ;SET DG110 = ""
+105 SET D0=INDA
SET X=""
+106 SET @INV@("DG110")=X
KILL DXS,D0
+107 ;SET DG111 = ""
+108 SET D0=INDA
SET X=""
+109 SET @INV@("DG111")=X
KILL DXS,D0
+110 ;SET DG112 = ""
+111 SET D0=INDA
SET X=""
+112 SET @INV@("DG112")=X
KILL DXS,D0
+113 ;SET DG113 = ""
+114 SET D0=INDA
SET X=""
+115 SET @INV@("DG113")=X
KILL DXS,D0
+116 ;SET DG114 = ""
+117 SET D0=INDA
SET X=""
+118 SET @INV@("DG114")=X
KILL DXS,D0
+119 ;SET DG115 = ""
+120 SET D0=INDA
SET X=""
+121 SET @INV@("DG115")=X
KILL DXS,D0
+122 ;SET DG116 = ""
+123 SET D0=INDA
SET X=""
+124 SET @INV@("DG116")=X
KILL DXS,D0
+125 ;SET DG117 = ""
+126 SET D0=INDA
SET X=""
+127 SET @INV@("DG117")=X
KILL DXS,D0
+128 ;SET DG118 = ""
+129 SET D0=INDA
SET X=""
9 DO EN^IS00007G
End DoDot:1
+1 GOTO C1^IS00007G