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