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

IS00007M.m

Go to the documentation of this file.
IS00007M ;Compiled from script 'Generated: HL IHS DW1 A08-O' on SEP 08, 2008
 ;Part 14
 ;Copyright 2008 SAIC
EN ;SET OBX2 = INSGX\^INTHL7FT(1,3)\\999\@BDW1SKT2
 S D0=INDA S X=$G(INA("BDW1SKT2",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\@BDW1SKT3
 S D0=INDA S X=$G(INA("BDW1SKT3",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\@BDW1SKT5
 S D0=INDA S X=$G(INA("BDW1SKT5",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 = ""
 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
O1 S INDA=INDA0 K INDA0
 D:'INVS MC^INHS
 ;Entering END section.
 I $G(INSTERR) Q $S($G(INREQERR)>INSTERR:INREQERR,1:INSTERR)
 S UIF=$$NEWO^INHD(INDEST,"^UTILITY(""INH"",$J)",+$P($G(^INRHT(INTT,0)),U,12),INTT,MESSID,$G(INQUE),$G(INORDUZ),$G(INORDIV),.INUIF6,.INUIF7,$G(INA("INMIDGEN")))
 I UIF<0 D ERROR^INHS("UIF creation failed",2) Q 2
 Q 0