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

IS00006C.m

Go to the documentation of this file.
IS00006C ;Compiled from script 'Generated: HL IHS DW1 A31-O' on SEP 08, 2008
 ;Part 4
 ;Copyright 2008 SAIC
EN S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,35,L1,.CP) S L1=$G(@INV@("ZP235")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,36,L1,.CP)
 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 SET INSETID=0
 ;SET ZRD1 = INSGX\^INTHL7F(16336,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16336,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZRD1")=X K DXS,D0
 ;SET ZRD2 = INSGX\^INTHL7F(16337,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16337,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZRD2")=X K DXS,D0
 ;SET ZRD3 = INSGX\^INTHL7F(16338,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16338,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZRD3")=X K DXS,D0
 ;SET ZRD4 = ""
 S D0=INDA S X=""
 S @INV@("ZRD4")=X K DXS,D0
 ;SET ZRD5 = INSGX\^INTHL7F(16340,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16340,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZRD5")=X K DXS,D0
 ;SET ZRD6 = ""
 S D0=INDA S X=""
 S @INV@("ZRD6")=X K DXS,D0
 ;SET ZRD7 = ""
 S D0=INDA S X=""
 S @INV@("ZRD7")=X K DXS,D0
 ;SET ZRD8 = INSGX\^INTHL7F(16343,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16343,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZRD8")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="ZRD" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZRD1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZRD2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZRD3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZRD4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 S L1=$G(@INV@("ZRD5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZRD6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 S L1=$G(@INV@("ZRD7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("ZRD8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,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("ZRL",INI(1))) Q:'INI(1)  S INDA=$S(INDA("ZRL",INI(1)):INDA("ZRL",INI(1)),1:INI(1)) D
 .;SET ZRL1 = INSGX\^INTHL7F(16344,5)\\999\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16344,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRL1")=X K DXS,D0
 .;SET ZRL2 = INSGX\^INTHL7F(16345,5)\\999\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16345,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRL2")=X K DXS,D0
 .;SET ZRL3 = INSGX\^INTHL7F(16346,5)\\999\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16346,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRL3")=X K DXS,D0
 .;SET ZRL4 = ""
 .S D0=INDA S X=""
 .S @INV@("ZRL4")=X K DXS,D0
 .;SET ZRL5 = INSGX\^INTHL7F(16348,5)\\999\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16348,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRL5")=X K DXS,D0
 .;SET ZRL6 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRL6
 .S D0=INDA S X=$G(INA("BDW1ZRL6",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRL6")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="ZRL" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZRL1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZRL2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZRL3"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZRL4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 .S L1=$G(@INV@("ZRL5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZRL6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,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("ZRC",INI(1))) Q:'INI(1)  S INDA=$S(INDA("ZRC",INI(1)):INDA("ZRC",INI(1)),1:INI(1)) D
 .;SET ZRC1 = INSGX\^INTHL7F(16328,5)\\999\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16328,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRC1")=X K DXS,D0
 .;SET ZRC2 = INSGX\^INTHL7F(16329,5)\\999\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16329,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRC2")=X K DXS,D0
 .;SET ZRC3 = INSGX\^INTHL7F(16330,5)\\999\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16330,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRC3")=X K DXS,D0
 .;SET ZRC4 = ""
 .S D0=INDA S X=""
 .S @INV@("ZRC4")=X K DXS,D0
 .;SET ZRC5 = INSGX\^INTHL7F(16332,5)\\999\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16332,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRC5")=X K DXS,D0
 .;SET ZRC6 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRC6
 .S D0=INDA S X=$G(INA("BDW1ZRC6",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRC6")=X K DXS,D0
 .;SET ZRC7 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRC7
 .S D0=INDA S X=$G(INA("BDW1ZRC7",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRC7")=X K DXS,D0
 .;SET ZRC8 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRC8
 .S D0=INDA S X=$G(INA("BDW1ZRC8",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRC8")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="ZRC" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZRC1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZRC2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZRC3"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZRC4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 .S L1=$G(@INV@("ZRC5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZRC6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 .S L1=$G(@INV@("ZRC7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("ZRC8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,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("IN1",INI(1))) Q:'INI(1)  S INDA=$S(INDA("IN1",INI(1)):INDA("IN1",INI(1)),1:INI(1)) D
 .;SET IN11 = ""
 .S D0=INDA S X=""
 .S @INV@("IN11")=X K DXS,D0
 .;SET IN12 = ""
 .S D0=INDA S X=""
 .S @INV@("IN12")=X K DXS,D0
 .;SET IN13 = INSGX\^INTHL7FT(1,3)\\999\@BDW1IN13
 .S D0=INDA S X=$G(INA("BDW1IN13",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
9 .D EN^IS00006D
 G C1^IS00006E