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

IS00031B.m

Go to the documentation of this file.
IS00031B ;Compiled from script 'Generated: HL IHS DW1ALPMR A08-O' on MAY 21, 2015
 ;Part 3
 ;Copyright 2015 SAIC
EN S @INV@("ZPL7")=X K DXS,D0
 ;SET ZPL8 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZPB8
 S D0=INDA S X=$G(INA("BDW1ZPB8",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZPL8")=X K DXS,D0
 ;SET ZPL9 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZPB9
 S D0=INDA S X=$G(INA("BDW1ZPB9",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZPL9")=X K DXS,D0
 ;SET ZPL10 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZPB10
 S D0=INDA S X=$G(INA("BDW1ZPB10",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZPL10")=X K DXS,D0
 ;SET ZPL11 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZPB11
 S D0=INDA S X=$G(INA("BDW1ZPB11",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 S @INV@("ZPL11")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="ZPL" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZPL1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZPL2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZPL3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZPL4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 S L1=$G(@INV@("ZPL5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZPL6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 S L1=$G(@INV@("ZPL7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("ZPL8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
 S L1=$G(@INV@("ZPL9")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("ZPL10")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
 S L1=$G(@INV@("ZPL11")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP)
 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 Q
A1 S INDA=INDA0 K INDA0
 SET INSETID=0
 S INDA0=INDA,INI(1)=0  F  S INI(1)=$O(INDA("ZRF",INI(1))) Q:'INI(1)  S INDA=$S(INDA("ZRF",INI(1)):INDA("ZRF",INI(1)),1:INI(1)) D
 .;SET ZRF1 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRF1
 .S D0=INDA S X=$G(INA("BDW1ZRF1",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRF1")=X K DXS,D0
 .;SET ZRF2 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRF2
 .S D0=INDA S X=$G(INA("BDW1ZRF2",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRF2")=X K DXS,D0
 .;SET ZRF3 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRF3
 .S D0=INDA S X=$G(INA("BDW1ZRF3",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRF3")=X K DXS,D0
 .;SET ZRF4 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRF4
 .S D0=INDA S X=$G(INA("BDW1ZRF4",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRF4")=X K DXS,D0
 .;SET ZRF5 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRF5
 .S D0=INDA S X=$G(INA("BDW1ZRF5",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRF5")=X K DXS,D0
 .;SET ZRF6 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRF6
 .S D0=INDA S X=$G(INA("BDW1ZRF6",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRF6")=X K DXS,D0
 .;SET ZRF7 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZRF7
 .S D0=INDA S X=$G(INA("BDW1ZRF7",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZRF7")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="ZRF" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZRF1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZRF2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZRF3"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZRF4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 .S L1=$G(@INV@("ZRF5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("ZRF6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 .S L1=$G(@INV@("ZRF7")) 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("ZMC",INI(1))) Q:'INI(1)  S INDA=$S(INDA("ZMC",INI(1)):INDA("ZMC",INI(1)),1:INI(1)) D
 .;SET ZMC1 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZMC1
 .S D0=INDA S X=$G(INA("BDW1ZMC1",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZMC1")=X K DXS,D0
 .;SET ZMC2 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZMC2
 .S D0=INDA S X=$G(INA("BDW1ZMC2",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZMC2")=X K DXS,D0
 .;SET ZMC3 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZMC3
 .S D0=INDA S X=$G(INA("BDW1ZMC3",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZMC3")=X K DXS,D0
 .;SET ZMC4 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZMC4
 .S D0=INDA S X=$G(INA("BDW1ZMC4",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZMC4")=X K DXS,D0
 .;SET ZMC5 = INSGX\^INTHL7FT(1,3)\\999\@BDW1ZMC5
 .S D0=INDA S X=$G(INA("BDW1ZMC5",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("ZMC5")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="ZMC" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZMC1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZMC2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("ZMC3"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("ZMC4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 .S L1=$G(@INV@("ZMC5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,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("WHP",INI(1))) Q:'INI(1)  S INDA=$S(INDA("WHP",INI(1)):INDA("WHP",INI(1)),1:INI(1)) D
 .;SET OBX1 = INSGX\^INTHL7FT(1,3)\\999\@BDW1WH1
 .S D0=INDA S X=$G(INA("BDW1WH1",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("OBX1")=X K DXS,D0
 .;SET OBX2 = INSGX\^INTHL7FT(1,3)\\999\@BDW1WH2
 .S D0=INDA S X=$G(INA("BDW1WH2",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("OBX2")=X K DXS,D0
 .;SET OBX3 = INSGX\^INTHL7FT(1,3)\\999\@BDW1WH3
 .S D0=INDA S X=$G(INA("BDW1WH3",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("OBX3")=X K DXS,D0
 .;SET OBX4 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX4")=X K DXS,D0
 .;SET OBX5 = INSGX\^INTHL7FT(1,3)\\999\@BDW1WH5
 .S D0=INDA S X=$G(INA("BDW1WH5",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("OBX5")=X K DXS,D0
 .;SET OBX6 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX6")=X K DXS,D0
 .;SET OBX7 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX7")=X K DXS,D0
 .;SET OBX8 = ""
 .S D0=INDA S X=""
9 .D EN^IS00031C
 G D1^IS00031C