IS00004D ;Compiled from script 'Generated: X1 IHS 276-O' on DEC 09, 2002
;Part 5
;Copyright 2002 SAIC
EN S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("HL2")=X K DXS,D0
;SET HL3 = INSGX\^INTHL7FT(1,3)\\999\@2762000BHL3
S D0=INDA S X=$G(INA("2762000BHL3"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("HL3")=X K DXS,D0
;SET HL4 = INSGX\^INTHL7FT(1,3)\\999\@2762000BHL4
S D0=INDA S X=$G(INA("2762000BHL4"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("HL4")=X K DXS,D0
D:'INVS MC^INHS
K LINE S LINE="",CP=0 S L1="HL" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("HL1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("HL2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("HL3"))
S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("HL4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,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 NM11 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM11
S D0=INDA S X=$G(INA("2762100BNM11"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM11")=X K DXS,D0
;SET NM12 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM12
S D0=INDA S X=$G(INA("2762100BNM12"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("NM12")=X K DXS,D0
;SET NM13 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM13
S D0=INDA S X=$G(INA("2762100BNM13"))
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\@2762100BNM14
S D0=INDA S X=$G(INA("2762100BNM14"))
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\@2762100BNM15
S D0=INDA S X=$G(INA("2762100BNM15"))
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\@2762100BNM16
S D0=INDA S X=$G(INA("2762100BNM16"))
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\@2762100BNM17
S D0=INDA S X=$G(INA("2762100BNM17"))
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\@2762100BNM18
S D0=INDA S X=$G(INA("2762100BNM18"))
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\@2762100BNM19
S D0=INDA S X=$G(INA("2762100BNM19"))
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 HL1 = INSGX\^INTHL7FT(1,3)\\999\@2762000CHL1
S D0=INDA S X=$G(INA("2762000CHL1"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("HL1")=X K DXS,D0
;SET HL2 = INSGX\^INTHL7FT(1,3)\\999\@2762000CHL2
S D0=INDA S X=$G(INA("2762000CHL2"))
S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
S @INV@("HL2")=X K DXS,D0
;SET HL3 = INSGX\^INTHL7FT(1,3)\\999\@2762000CHL3
S D0=INDA S X=$G(INA("2762000CHL3"))
9 G EN^IS00004E
IS00004D ;Compiled from script 'Generated: X1 IHS 276-O' on DEC 09, 2002
+1 ;Part 5
+2 ;Copyright 2002 SAIC
EN SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+1 SET @INV@("HL2")=X
KILL DXS,D0
+2 ;SET HL3 = INSGX\^INTHL7FT(1,3)\\999\@2762000BHL3
+3 SET D0=INDA
SET X=$GET(INA("2762000BHL3"))
+4 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+5 SET @INV@("HL3")=X
KILL DXS,D0
+6 ;SET HL4 = INSGX\^INTHL7FT(1,3)\\999\@2762000BHL4
+7 SET D0=INDA
SET X=$GET(INA("2762000BHL4"))
+8 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+9 SET @INV@("HL4")=X
KILL DXS,D0
+10 IF 'INVS
DO MC^INHS
+11 KILL LINE
SET LINE=""
SET CP=0
SET L1="HL"
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,1,L1,.CP)
SET L1=$GET(@INV@("HL1"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
+12 DO SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
SET L1=$GET(@INV@("HL2"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
SET L1=$GET(@INV@("HL3"))
+13 IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,4,L1,.CP)
SET L1=$GET(@INV@("HL4"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
+14 DO LINE^INHUT11(.LINE,DELIM,LCT)
+15 IF $LENGTH(LINE)'=0
SET LCT=LCT+1
SET ^UTILITY("INH",$JOB,LCT)=LINE
IF $DATA(LINE)>9
MERGE ^UTILITY("INH",$JOB,LCT)=LINE
+16 SET INSETID=0
+17 ;SET NM11 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM11
+18 SET D0=INDA
SET X=$GET(INA("2762100BNM11"))
+19 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+20 SET @INV@("NM11")=X
KILL DXS,D0
+21 ;SET NM12 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM12
+22 SET D0=INDA
SET X=$GET(INA("2762100BNM12"))
+23 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+24 SET @INV@("NM12")=X
KILL DXS,D0
+25 ;SET NM13 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM13
+26 SET D0=INDA
SET X=$GET(INA("2762100BNM13"))
+27 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+28 SET @INV@("NM13")=X
KILL DXS,D0
+29 ;SET NM14 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM14
+30 SET D0=INDA
SET X=$GET(INA("2762100BNM14"))
+31 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+32 SET @INV@("NM14")=X
KILL DXS,D0
+33 ;SET NM15 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM15
+34 SET D0=INDA
SET X=$GET(INA("2762100BNM15"))
+35 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+36 SET @INV@("NM15")=X
KILL DXS,D0
+37 ;SET NM16 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM16
+38 SET D0=INDA
SET X=$GET(INA("2762100BNM16"))
+39 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+40 SET @INV@("NM16")=X
KILL DXS,D0
+41 ;SET NM17 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM17
+42 SET D0=INDA
SET X=$GET(INA("2762100BNM17"))
+43 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+44 SET @INV@("NM17")=X
KILL DXS,D0
+45 ;SET NM18 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM18
+46 SET D0=INDA
SET X=$GET(INA("2762100BNM18"))
+47 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+48 SET @INV@("NM18")=X
KILL DXS,D0
+49 ;SET NM19 = INSGX\^INTHL7FT(1,3)\\999\@2762100BNM19
+50 SET D0=INDA
SET X=$GET(INA("2762100BNM19"))
+51 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+52 SET @INV@("NM19")=X
KILL DXS,D0
+53 IF 'INVS
DO MC^INHS
+54 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=""
+55 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"))
+56 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)
+57 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)
+58 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)
+59 SET L1=$GET(@INV@("NM19"))
IF $TRANSLATE(L1,$GET(SUBDELIM))=""
SET L1=""
DO SETPIECE^INHU(.LINE,DELIM,10,L1,.CP)
+60 DO LINE^INHUT11(.LINE,DELIM,LCT)
+61 IF $LENGTH(LINE)'=0
SET LCT=LCT+1
SET ^UTILITY("INH",$JOB,LCT)=LINE
IF $DATA(LINE)>9
MERGE ^UTILITY("INH",$JOB,LCT)=LINE
+62 SET INSETID=0
+63 ;SET HL1 = INSGX\^INTHL7FT(1,3)\\999\@2762000CHL1
+64 SET D0=INDA
SET X=$GET(INA("2762000CHL1"))
+65 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+66 SET @INV@("HL1")=X
KILL DXS,D0
+67 ;SET HL2 = INSGX\^INTHL7FT(1,3)\\999\@2762000CHL2
+68 SET D0=INDA
SET X=$GET(INA("2762000CHL2"))
+69 SET X1="^INTHL7FT(1,3)"
IF $LENGTH($GET(@X1))
XECUTE $GET(@X1)
SET X=$EXTRACT(X,1,999)
+70 SET @INV@("HL2")=X
KILL DXS,D0
+71 ;SET HL3 = INSGX\^INTHL7FT(1,3)\\999\@2762000CHL3
+72 SET D0=INDA
SET X=$GET(INA("2762000CHL3"))
9 GOTO EN^IS00004E