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

IS00007L.m

Go to the documentation of this file.
IS00007L ;Compiled from script 'Generated: HL IHS DW1 A08-O' on SEP 08, 2008
 ;Part 13
 ;Copyright 2008 SAIC
EN S @INV@("OBX7")=X K DXS,D0
 ;SET OBX8 = ""
 S D0=INDA S X=""
 S @INV@("OBX8")=X K DXS,D0
 ;SET OBX9 = ""
 S D0=INDA S X=""
 S @INV@("OBX9")=X K DXS,D0
 ;SET OBX10 = ""
 S D0=INDA S X=""
 S @INV@("OBX10")=X K DXS,D0
 ;SET OBX11 = ""
 S D0=INDA S X=""
 S @INV@("OBX11")=X K DXS,D0
 ;SET OBX12 = ""
 S D0=INDA S X=""
 S @INV@("OBX12")=X K DXS,D0
 ;SET OBX13 = ""
 S D0=INDA S X=""
 S @INV@("OBX13")=X K DXS,D0
 ;SET OBX14 = ""
 S D0=INDA S X=""
 S @INV@("OBX14")=X K DXS,D0
 ;SET OBX15 = ""
 S D0=INDA S X=""
 S @INV@("OBX15")=X K DXS,D0
 ;SET OBX16 = ""
 S D0=INDA S X=""
 S @INV@("OBX16")=X K DXS,D0
 ;SET OBX17 = ""
 S D0=INDA S X=""
 S @INV@("OBX17")=X K DXS,D0
 ;SET OBX18 = ""
 S D0=INDA S X=""
 S @INV@("OBX18")=X K DXS,D0
 ;SET OBX19 = ""
 S D0=INDA S X=""
 S @INV@("OBX19")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="OBX" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("OBX1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("OBX2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("OBX3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("OBX4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 S L1=$G(@INV@("OBX5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("OBX6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 S L1=$G(@INV@("OBX7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("OBX8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
 S L1=$G(@INV@("OBX9")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("OBX10")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
 S L1=$G(@INV@("OBX11")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP) S L1=$G(@INV@("OBX12")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,13,L1,.CP) S L1=$G(@INV@("OBX13")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,14,L1,.CP) S L1=$G(@INV@("OBX14"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,15,L1,.CP) S L1=$G(@INV@("OBX15")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,16,L1,.CP)
 S L1=$G(@INV@("OBX16")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,17,L1,.CP) S L1=$G(@INV@("OBX17")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,18,L1,.CP) S L1=$G(@INV@("OBX18")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,19,L1,.CP) S L1=$G(@INV@("OBX19"))
 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
 Q
M1 S INDA=INDA0 K INDA0
 SET INSETID=0
 S INDA0=INDA,INI(1)=0  F  S INI(1)=$O(INDA("PED",INI(1))) Q:'INI(1)  S INDA=$S(INDA("PED",INI(1)):INDA("PED",INI(1)),1:INI(1)) D
 .;SET OBX1 = INSGX\^INTHL7FT(1,3)\\999\@BDW1PED1
 .S D0=INDA S X=$G(INA("BDW1PED1",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\@BDW1PED2
 .S D0=INDA S X=$G(INA("BDW1PED2",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\@BDW1PED3
 .S D0=INDA S X=$G(INA("BDW1PED3",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\@BDW1PED5
 .S D0=INDA S X=$G(INA("BDW1PED5",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=""
 .S @INV@("OBX8")=X K DXS,D0
 .;SET OBX9 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX9")=X K DXS,D0
 .;SET OBX10 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX10")=X K DXS,D0
 .;SET OBX11 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX11")=X K DXS,D0
 .;SET OBX12 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX12")=X K DXS,D0
 .;SET OBX13 = INSGX\^INTHL7FT(1,3)\\999\@BDW1PED13
 .S D0=INDA S X=$G(INA("BDW1PED13",INI(1)))
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,999)
 .S @INV@("OBX13")=X K DXS,D0
 .;SET OBX14 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX14")=X K DXS,D0
 .;SET OBX15 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX15")=X K DXS,D0
 .;SET OBX16 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX16")=X K DXS,D0
 .;SET OBX17 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX17")=X K DXS,D0
 .;SET OBX18 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX18")=X K DXS,D0
 .;SET OBX19 = ""
 .S D0=INDA S X=""
 .S @INV@("OBX19")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="OBX" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("OBX1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("OBX2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("OBX3"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("OBX4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 .S L1=$G(@INV@("OBX5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("OBX6")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP)
 .S L1=$G(@INV@("OBX7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("OBX8")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP)
 .S L1=$G(@INV@("OBX9")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("OBX10")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP)
 .S L1=$G(@INV@("OBX11")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP) S L1=$G(@INV@("OBX12")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,13,L1,.CP) S L1=$G(@INV@("OBX13")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,14,L1,.CP) S L1=$G(@INV@("OBX14"))
 .S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,15,L1,.CP) S L1=$G(@INV@("OBX15")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,16,L1,.CP)
 .S L1=$G(@INV@("OBX16")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,17,L1,.CP) S L1=$G(@INV@("OBX17")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,18,L1,.CP) S L1=$G(@INV@("OBX18")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,19,L1,.CP) S L1=$G(@INV@("OBX19"))
 .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
 .Q
 S INDA=INDA0 K INDA0
 SET INSETID=0
 S INDA0=INDA,INI(1)=0  F  S INI(1)=$O(INDA("SKT",INI(1))) Q:'INI(1)  S INDA=$S(INDA("SKT",INI(1)):INDA("SKT",INI(1)),1:INI(1)) D
 .;SET OBX1 = INSGX\^INTHL7FT(1,3)\\999\@BDW1SKT1
 .S D0=INDA S X=$G(INA("BDW1SKT1",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
9 .D EN^IS00007M
 G O1^IS00007M