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

IS00004C.m

Go to the documentation of this file.
IS00004C ;Compiled from script 'Generated: X1 IHS 276-O' on DEC 09, 2002
 ;Part 4
 ;Copyright 2002 SAIC
EN 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\@2762100ANM18
 S D0=INDA S X=$G(INA("2762100ANM18"))
 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\@2762100ANM19
 S D0=INDA S X=$G(INA("2762100ANM19"))
 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 PER1 = INSGX\^INTHL7FT(1,3)\\999\@2762100APER1
 S D0=INDA S X=$G(INA("2762100APER1"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("PER1")=X K DXS,D0
 ;SET PER2 = INSGX\^INTHL7FT(1,3)\\999\@2762100APER2
 S D0=INDA S X=$G(INA("2762100APER2"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("PER2")=X K DXS,D0
 ;SET PER3 = INSGX\^INTHL7FT(1,3)\\999\@2762100APER3
 S D0=INDA S X=$G(INA("2762100APER3"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("PER3")=X K DXS,D0
 ;SET PER4 = INSGX\^INTHL7FT(1,3)\\999\@2762100APER4
 S D0=INDA S X=$G(INA("2762100APER4"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("PER4")=X K DXS,D0
 ;SET PER5 = INSGX\^INTHL7FT(1,3)\\999\@2762100APER5
 S D0=INDA S X=$G(INA("2762100APER5"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("PER5")=X K DXS,D0
 ;SET PER6 = INSGX\^INTHL7FT(1,3)\\999\@2762100APER6
 S D0=INDA S X=$G(INA("2762100APER6"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("PER6")=X K DXS,D0
 ;SET PER7 = INSGX\^INTHL7FT(1,3)\\999\@2762100APER7
 S D0=INDA S X=$G(INA("2762100APER7"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("PER7")=X K DXS,D0
 ;SET PER8 = INSGX\^INTHL7FT(1,3)\\999\@2762100APER8
 S D0=INDA S X=$G(INA("2762100APER8"))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("PER8")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="PER" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("PER1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("PER2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("PER3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("PER4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 S L1=$G(@INV@("PER5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("PER6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 S L1=$G(@INV@("PER7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("PER8")) 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\@2762000BHL1
 S D0=INDA S X=$G(INA("2762000BHL1"))
 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\@2762000BHL2
 S D0=INDA S X=$G(INA("2762000BHL2"))
9 G EN^IS00004D