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

IS00007G.m

Go to the documentation of this file.
IS00007G ;Compiled from script 'Generated: HL IHS DW1 A08-O' on SEP 08, 2008
 ;Part 8
 ;Copyright 2008 SAIC
EN S @INV@("DG118")=X K DXS,D0
 ;SET DG119 = ""
 S D0=INDA S X=""
 S @INV@("DG119")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="DG1" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("DG11")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("DG12")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("DG13"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("DG14")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 S L1=$G(@INV@("DG15")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("DG16")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 S L1=$G(@INV@("DG17")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("DG18")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
 S L1=$G(@INV@("DG19")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("DG110")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
 S L1=$G(@INV@("DG111")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP) S L1=$G(@INV@("DG112")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,13,L1,.CP) S L1=$G(@INV@("DG113")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,14,L1,.CP) S L1=$G(@INV@("DG114"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,15,L1,.CP) S L1=$G(@INV@("DG115")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,16,L1,.CP)
 S L1=$G(@INV@("DG116")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,17,L1,.CP) S L1=$G(@INV@("DG117")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,18,L1,.CP) S L1=$G(@INV@("DG118")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,19,L1,.CP) S L1=$G(@INV@("DG119"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,20,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 INDA1=INDA,INI(2)=0  F  S INI(2)=$O(INDA("ZDX",INI(2))) Q:'INI(2)  S INDA=$S(INDA("ZDX",INI(2)):INDA("ZDX",INI(2)),1:INI(2)) D
 .;SET ZDX1 = ""
 .S D0=INDA S X=""
 .S @INV@("ZDX1")=X K DXS,D0
 .;SET ZDX2 = ""
 .S D0=INDA S X=""
 .S @INV@("ZDX2")=X K DXS,D0
 .;SET ZDX3 = ""
 .S D0=INDA S X=""
 .S @INV@("ZDX3")=X K DXS,D0
 .;SET ZDX4 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZDX4
 .S D0=INDA S X=$G(INA("BDW1ZDX4",INI(1),INI(2)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZDX4")=X K DXS,D0
 .;SET ZDX5 = ""
 .S D0=INDA S X=""
 .S @INV@("ZDX5")=X K DXS,D0
 .;SET ZDX6 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZDX6
 .S D0=INDA S X=$G(INA("BDW1ZDX6",INI(1),INI(2)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZDX6")=X K DXS,D0
 .;SET ZDX7 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZDX7
 .S D0=INDA S X=$G(INA("BDW1ZDX7",INI(1),INI(2)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZDX7")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="ZDX" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZDX1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZDX2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZDX3"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZDX4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 .S L1=$G(@INV@("ZDX5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZDX6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 .S L1=$G(@INV@("ZDX7")) 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=INDA1 K INDA1
 Q
C1 S INDA=INDA0 K INDA0
 SET INSETID=0
 S INDA0=INDA,INI(1)=0  F  S INI(1)=$O(INDA("PR1",INI(1))) Q:'INI(1)  S INDA=$S(INDA("PR1",INI(1)):INDA("PR1",INI(1)),1:INI(1)) D
 .;SET PR11 = INSGX\^INTHL7FT(1,3)\\999\@BDW1PR11
 .S D0=INDA S X=$G(INA("BDW1PR11",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("PR11")=X K DXS,D0
 .;SET PR12 = ""
 .S D0=INDA S X=""
 .S @INV@("PR12")=X K DXS,D0
 .;SET PR13 = INSGX\^INTHL7FT(1,3)\\999\@BDW1PR13
 .S D0=INDA S X=$G(INA("BDW1PR13",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("PR13")=X K DXS,D0
 .;SET PR14 = ""
 .S D0=INDA S X=""
 .S @INV@("PR14")=X K DXS,D0
 .;SET PR15 = INSGX\^INTHL7FT(1,3)\\999\@BDW1PR15
 .S D0=INDA S X=$G(INA("BDW1PR15",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("PR15")=X K DXS,D0
 .;SET PR16 = ""
 .S D0=INDA S X=""
 .S @INV@("PR16")=X K DXS,D0
 .;SET PR17 = ""
 .S D0=INDA S X=""
 .S @INV@("PR17")=X K DXS,D0
 .;SET PR18 = ""
 .S D0=INDA S X=""
 .S @INV@("PR18")=X K DXS,D0
 .;SET PR19 = ""
 .S D0=INDA S X=""
 .S @INV@("PR19")=X K DXS,D0
 .;SET PR110 = ""
 .S D0=INDA S X=""
 .S @INV@("PR110")=X K DXS,D0
 .;SET PR111 = INSGX\^INTHL7FT(1,3)\\999\@BDW1PR111
 .S D0=INDA S X=$G(INA("BDW1PR111",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("PR111")=X K DXS,D0
 .;SET PR112 = ""
 .S D0=INDA S X=""
 .S @INV@("PR112")=X K DXS,D0
 .;SET PR113 = ""
 .S D0=INDA S X=""
 .S @INV@("PR113")=X K DXS,D0
 .;SET PR114 = ""
 .S D0=INDA S X=""
 .S @INV@("PR114")=X K DXS,D0
 .;SET PR115 = ""
 .S D0=INDA S X=""
 .S @INV@("PR115")=X K DXS,D0
 .;SET PR116 = ""
 .S D0=INDA S X=""
 .S @INV@("PR116")=X K DXS,D0
 .;SET PR117 = ""
 .S D0=INDA S X=""
 .S @INV@("PR117")=X K DXS,D0
 .;SET PR118 = ""
 .S D0=INDA S X=""
 .S @INV@("PR118")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="PR1" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("PR11")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("PR12")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("PR13"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("PR14")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 .S L1=$G(@INV@("PR15")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("PR16")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 .S L1=$G(@INV@("PR17")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("PR18")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
 .S L1=$G(@INV@("PR19")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("PR110")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
 .S L1=$G(@INV@("PR111")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP) S L1=$G(@INV@("PR112")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,13,L1,.CP) S L1=$G(@INV@("PR113")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,14,L1,.CP) S L1=$G(@INV@("PR114"))
9 .D EN^IS00007H
 G D1^IS00007H