IS00004J ;Compiled from script 'Generated: X1 IHS 276-O' on DEC 09, 2002
;Part 11
;Copyright 2002 SAIC
EN S @INV@("NM12")=X K DXS,D0
;SET NM13 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM13
S D0=INDA S X=$G(INA("2762100ENM13"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM13")=X K DXS,D0
;SET NM14 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM14
S D0=INDA S X=$G(INA("2762100ENM14"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM14")=X K DXS,D0
;SET NM15 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM15
S D0=INDA S X=$G(INA("2762100ENM15"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM15")=X K DXS,D0
;SET NM16 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM16
S D0=INDA S X=$G(INA("2762100ENM16"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM16")=X K DXS,D0
;SET NM17 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM17
S D0=INDA S X=$G(INA("2762100ENM17"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM17")=X K DXS,D0
;SET NM18 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM18
S D0=INDA S X=$G(INA("2762100ENM18"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM18")=X K DXS,D0
;SET NM19 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM19
S D0=INDA S X=$G(INA("2762100ENM19"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM19")=X K DXS,D0
D:'INVS MC^INHS
K LINE S LINE="",CP=0 S L1="NM1" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("NM11")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("NM12")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("NM13"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("NM14")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
S L1=$G(@INV@("NM15")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("NM16")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
S L1=$G(@INV@("NM17")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("NM18")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
S L1=$G(@INV@("NM19")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP)
D LINE^INHUT11(.LINE,DELIM,LCT)
I $L(LINE)'=0 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
SET INSETID=0
;SET TRN1 = INSGX\^INTHL7FT(1,3)\\999\@2762200ETRN1
S D0=INDA S X=$G(INA("2762200ETRN1"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("TRN1")=X K DXS,D0
;SET TRN2 = INSGX\^INTHL7FT(1,3)\\999\@2762200ETRN2
S D0=INDA S X=$G(INA("2762200ETRN2"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("TRN2")=X K DXS,D0
D:'INVS MC^INHS
K LINE S LINE="",CP=0 S L1="TRN" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("TRN1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("TRN2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
D LINE^INHUT11(.LINE,DELIM,LCT)
I $L(LINE)'=0 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
SET INSETID=0
;SET REF1 = INSGX\^INTHL7FT(1,3)\\999\@2762200EREFA1
S D0=INDA S X=$G(INA("2762200EREFA1"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("REF1")=X K DXS,D0
;SET REF2 = INSGX\^INTHL7FT(1,3)\\999\@2762200EREFA2
S D0=INDA S X=$G(INA("2762200EREFA2"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("REF2")=X K DXS,D0
D:'INVS MC^INHS
K LINE S LINE="",CP=0 S L1="REF" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("REF1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("REF2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
D LINE^INHUT11(.LINE,DELIM,LCT)
I $L(LINE)'=0 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
SET INSETID=0
;SET REF1 = INSGX\^INTHL7FT(1,3)\\999\@2762200EREFB1
S D0=INDA S X=$G(INA("2762200EREFB1"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("REF1")=X K DXS,D0
;SET REF2 = INSGX\^INTHL7FT(1,3)\\999\@2762200EREFB2
9 G EN^IS00004K
IS00004J ;Compiled from script 'Generated: X1 IHS 276-O' on DEC 09, 2002
+1 ;Part 11
+2 ;Copyright 2002 SAIC
EN SET @INV@("NM12")=X
KILL DXS,D0
+1 ;SET NM13 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM13
+2 SET D0=INDA
SET X=$GET(INA("2762100ENM13"))
+3 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+4 SET @INV@("NM13")=X
KILL DXS,D0
+5 ;SET NM14 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM14
+6 SET D0=INDA
SET X=$GET(INA("2762100ENM14"))
+7 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+8 SET @INV@("NM14")=X
KILL DXS,D0
+9 ;SET NM15 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM15
+10 SET D0=INDA
SET X=$GET(INA("2762100ENM15"))
+11 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+12 SET @INV@("NM15")=X
KILL DXS,D0
+13 ;SET NM16 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM16
+14 SET D0=INDA
SET X=$GET(INA("2762100ENM16"))
+15 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+16 SET @INV@("NM16")=X
KILL DXS,D0
+17 ;SET NM17 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM17
+18 SET D0=INDA
SET X=$GET(INA("2762100ENM17"))
+19 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+20 SET @INV@("NM17")=X
KILL DXS,D0
+21 ;SET NM18 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM18
+22 SET D0=INDA
SET X=$GET(INA("2762100ENM18"))
+23 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+24 SET @INV@("NM18")=X
KILL DXS,D0
+25 ;SET NM19 = INSGX\^INTHL7FT(1,3)\\999\@2762100ENM19
+26 SET D0=INDA
SET X=$GET(INA("2762100ENM19"))
+27 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+28 SET @INV@("NM19")=X
KILL DXS,D0
+29 IF 'INVS
DO MC^INHS
+30 KILL LINE
SET LINE=""
SET CP=0
SET L1="NM1"
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,1,L1,.CP)
SET L1=$GET(@INV@("NM11"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+31 DO SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
SET L1=$GET(@INV@("NM12"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
SET L1=$GET(@INV@("NM13"))
+32 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,4,L1,.CP)
SET L1=$GET(@INV@("NM14"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
+33 SET L1=$GET(@INV@("NM15"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,6,L1,.CP)
SET L1=$GET(@INV@("NM16"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
+34 SET L1=$GET(@INV@("NM17"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,8,L1,.CP)
SET L1=$GET(@INV@("NM18"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
+35 SET L1=$GET(@INV@("NM19"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,10,L1,.CP)
+36 DO LINE^INHUT11(.LINE,DELIM,LCT)
+37 IF $LENGTH(LINE)'=0
SET LCT=LCT+1
SET ^UTILITY("INH",$JOB,LCT)=LINE
IF $DATA(LINE)>9
MERGE ^UTILITY("INH",$JOB,LCT)=LINE
+38 SET INSETID=0
+39 ;SET TRN1 = INSGX\^INTHL7FT(1,3)\\999\@2762200ETRN1
+40 SET D0=INDA
SET X=$GET(INA("2762200ETRN1"))
+41 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+42 SET @INV@("TRN1")=X
KILL DXS,D0
+43 ;SET TRN2 = INSGX\^INTHL7FT(1,3)\\999\@2762200ETRN2
+44 SET D0=INDA
SET X=$GET(INA("2762200ETRN2"))
+45 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+46 SET @INV@("TRN2")=X
KILL DXS,D0
+47 IF 'INVS
DO MC^INHS
+48 KILL LINE
SET LINE=""
SET CP=0
SET L1="TRN"
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,1,L1,.CP)
SET L1=$GET(@INV@("TRN1"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+49 DO SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
SET L1=$GET(@INV@("TRN2"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
+50 DO LINE^INHUT11(.LINE,DELIM,LCT)
+51 IF $LENGTH(LINE)'=0
SET LCT=LCT+1
SET ^UTILITY("INH",$JOB,LCT)=LINE
IF $DATA(LINE)>9
MERGE ^UTILITY("INH",$JOB,LCT)=LINE
+52 SET INSETID=0
+53 ;SET REF1 = INSGX\^INTHL7FT(1,3)\\999\@2762200EREFA1
+54 SET D0=INDA
SET X=$GET(INA("2762200EREFA1"))
+55 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+56 SET @INV@("REF1")=X
KILL DXS,D0
+57 ;SET REF2 = INSGX\^INTHL7FT(1,3)\\999\@2762200EREFA2
+58 SET D0=INDA
SET X=$GET(INA("2762200EREFA2"))
+59 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+60 SET @INV@("REF2")=X
KILL DXS,D0
+61 IF 'INVS
DO MC^INHS
+62 KILL LINE
SET LINE=""
SET CP=0
SET L1="REF"
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,1,L1,.CP)
SET L1=$GET(@INV@("REF1"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+63 DO SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
SET L1=$GET(@INV@("REF2"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
+64 DO LINE^INHUT11(.LINE,DELIM,LCT)
+65 IF $LENGTH(LINE)'=0
SET LCT=LCT+1
SET ^UTILITY("INH",$JOB,LCT)=LINE
IF $DATA(LINE)>9
MERGE ^UTILITY("INH",$JOB,LCT)=LINE
+66 SET INSETID=0
+67 ;SET REF1 = INSGX\^INTHL7FT(1,3)\\999\@2762200EREFB1
+68 SET D0=INDA
SET X=$GET(INA("2762200EREFB1"))
+69 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+70 SET @INV@("REF1")=X
KILL DXS,D0
+71 ;SET REF2 = INSGX\^INTHL7FT(1,3)\\999\@2762200EREFB2
9 GOTO EN^IS00004K