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

IS00007F.m

Go to the documentation of this file.
IS00007F ;Compiled from script 'Generated: HL IHS DW1 A08-O' on SEP 08, 2008
 ;Part 7
 ;Copyright 2008 SAIC
EN S @INV@("ZEN21")=X K DXS,D0
 ;SET ZEN22 = INSGX\^INTHL7F(16681,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16681,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZEN22")=X K DXS,D0
 ;SET ZEN23 = INSGX\^INTHL7F(16682,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16682,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZEN23")=X K DXS,D0
 ;SET ZEN24 = INSGX\^INTHL7F(16683,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16683,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZEN24")=X K DXS,D0
 ;SET ZEN25 = INSGX\^INTHL7F(16684,5)\\999\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16684,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZEN25")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="ZEN" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZEN1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZEN2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZEN3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZEN4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 S L1=$G(@INV@("ZEN5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZEN6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 S L1=$G(@INV@("ZEN7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("ZEN8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
 S L1=$G(@INV@("ZEN9")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("ZEN10")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
 S L1=$G(@INV@("ZEN11")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP) S L1=$G(@INV@("ZEN12")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,13,L1,.CP) S L1=$G(@INV@("ZEN13")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,14,L1,.CP) S L1=$G(@INV@("ZEN14"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,15,L1,.CP) S L1=$G(@INV@("ZEN15")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,16,L1,.CP)
 S L1=$G(@INV@("ZEN16")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,17,L1,.CP) S L1=$G(@INV@("ZEN17")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,18,L1,.CP) S L1=$G(@INV@("ZEN18")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,19,L1,.CP) S L1=$G(@INV@("ZEN19"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,20,L1,.CP) S L1=$G(@INV@("ZEN20")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,21,L1,.CP)
 S L1=$G(@INV@("ZEN21")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,22,L1,.CP) S L1=$G(@INV@("ZEN22")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,23,L1,.CP) S L1=$G(@INV@("ZEN23")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,24,L1,.CP) S L1=$G(@INV@("ZEN24"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,25,L1,.CP) S L1=$G(@INV@("ZEN25")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,26,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("ZVP",INI(1))) Q:'INI(1)  S INDA=$S(INDA("ZVP",INI(1)):INDA("ZVP",INI(1)),1:INI(1)) D
 .;SET ZVP1 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP1
 .S D0=INDA S X=$G(INA("BDW1ZVP1",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZVP1")=X K DXS,D0
 .;SET ZVP2 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP2
 .S D0=INDA S X=$G(INA("BDW1ZVP2",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZVP2")=X K DXS,D0
 .;SET ZVP3 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP3
 .S D0=INDA S X=$G(INA("BDW1ZVP3",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZVP3")=X K DXS,D0
 .;SET ZVP4 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP4
 .S D0=INDA S X=$G(INA("BDW1ZVP4",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZVP4")=X K DXS,D0
 .;SET ZVP5 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP5
 .S D0=INDA S X=$G(INA("BDW1ZVP5",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZVP5")=X K DXS,D0
 .;SET ZVP6 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP6
 .S D0=INDA S X=$G(INA("BDW1ZVP6",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZVP6")=X K DXS,D0
 .;SET ZVP7 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZVP7
 .S D0=INDA S X=$G(INA("BDW1ZVP7",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZVP7")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="ZVP" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZVP1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZVP2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZVP3"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZVP4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 .S L1=$G(@INV@("ZVP5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZVP6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 .S L1=$G(@INV@("ZVP7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,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("DG1",INI(1))) Q:'INI(1)  S INDA=$S(INDA("DG1",INI(1)):INDA("DG1",INI(1)),1:INI(1)) D
 .;SET DG11 = INSGX\^INTHL7FT(1,3)\\999\@BDW1DG11
 .S D0=INDA S X=$G(INA("BDW1DG11",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("DG11")=X K DXS,D0
 .;SET DG12 = ""
 .S D0=INDA S X=""
 .S @INV@("DG12")=X K DXS,D0
 .;SET DG13 = INSGX\^INTHL7FT(1,3)\\999\@BDW1DG13
 .S D0=INDA S X=$G(INA("BDW1DG13",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("DG13")=X K DXS,D0
 .;SET DG14 = ""
 .S D0=INDA S X=""
 .S @INV@("DG14")=X K DXS,D0
 .;SET DG15 = ""
 .S D0=INDA S X=""
 .S @INV@("DG15")=X K DXS,D0
 .;SET DG16 = ""
 .S D0=INDA S X=""
 .S @INV@("DG16")=X K DXS,D0
 .;SET DG17 = ""
 .S D0=INDA S X=""
 .S @INV@("DG17")=X K DXS,D0
 .;SET DG18 = ""
 .S D0=INDA S X=""
 .S @INV@("DG18")=X K DXS,D0
 .;SET DG19 = ""
 .S D0=INDA S X=""
 .S @INV@("DG19")=X K DXS,D0
 .;SET DG110 = ""
 .S D0=INDA S X=""
 .S @INV@("DG110")=X K DXS,D0
 .;SET DG111 = ""
 .S D0=INDA S X=""
 .S @INV@("DG111")=X K DXS,D0
 .;SET DG112 = ""
 .S D0=INDA S X=""
 .S @INV@("DG112")=X K DXS,D0
 .;SET DG113 = ""
 .S D0=INDA S X=""
 .S @INV@("DG113")=X K DXS,D0
 .;SET DG114 = ""
 .S D0=INDA S X=""
 .S @INV@("DG114")=X K DXS,D0
 .;SET DG115 = ""
 .S D0=INDA S X=""
 .S @INV@("DG115")=X K DXS,D0
 .;SET DG116 = ""
 .S D0=INDA S X=""
 .S @INV@("DG116")=X K DXS,D0
 .;SET DG117 = ""
 .S D0=INDA S X=""
 .S @INV@("DG117")=X K DXS,D0
 .;SET DG118 = ""
 .S D0=INDA S X=""
9 .D EN^IS00007G
 G C1^IS00007G