Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IS00004B

IS00004B.m

Go to the documentation of this file.
IS00004B ;Compiled from script 'Generated: X1 IHS 276-O' on DEC 09, 2002
 ;Part 3
 ;Copyright 2002 SAIC
EN S @INV@("BHT4")=X K DXS,D0
 ;SET BHT5 = INSGX\^INTHL7FT(1,3)\\999\@276HFBHT5
 S D0=INDA S X=$G(INA("276HFBHT5"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("BHT5")=X K DXS,D0
 ;SET BHT6 = INSGX\^INTHL7FT(1,3)\\999\@276HFBHT6
 S D0=INDA S X=$G(INA("276HFBHT6"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("BHT6")=X K DXS,D0
 ;SET BHT7 = INSGX\^INTHL7FT(1,3)\\999\@276HFBHT7
 S D0=INDA S X=$G(INA("276HFBHT7"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("BHT7")=X K DXS,D0
 ;SET BHT8 = INSGX\^INTHL7FT(1,3)\\999\@276HFBHT8
 S D0=INDA S X=$G(INA("276HFBHT8"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("BHT8")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="BHT" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("BHT1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("BHT2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("BHT3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("BHT4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 S L1=$G(@INV@("BHT5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("BHT6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 S L1=$G(@INV@("BHT7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("BHT8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,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\@2762000AHL1
 S D0=INDA S X=$G(INA("2762000AHL1"))
 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\@2762000AHL2
 S D0=INDA S X=$G(INA("2762000AHL2"))
 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\@2762000AHL3
 S D0=INDA S X=$G(INA("2762000AHL3"))
 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\@2762000AHL4
 S D0=INDA S X=$G(INA("2762000AHL4"))
 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\@2762100ANM11
 S D0=INDA S X=$G(INA("2762100ANM11"))
 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\@2762100ANM12
 S D0=INDA S X=$G(INA("2762100ANM12"))
 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\@2762100ANM13
 S D0=INDA S X=$G(INA("2762100ANM13"))
 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\@2762100ANM14
 S D0=INDA S X=$G(INA("2762100ANM14"))
 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\@2762100ANM15
 S D0=INDA S X=$G(INA("2762100ANM15"))
 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\@2762100ANM16
 S D0=INDA S X=$G(INA("2762100ANM16"))
 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\@2762100ANM17
 S D0=INDA S X=$G(INA("2762100ANM17"))
9 G EN^IS00004C