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

IS00011F.m

Go to the documentation of this file.
IS00011F ;Compiled from script 'Generated: HL IHS IZV04 OUT-O' on AUG 03, 2015
 ;Part 7
 ;Copyright 2015 SAIC
EN ;SET OBX3 = INSGX\^INTHL7FT(1,3)\\250\@OBXCE3
 S D0=INDA S X=$G(INA("OBXCE3",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 S @INV@("OBX3")=X K DXS,D0
 ;SET OBX4 = INSGX\^INTHL7FT(1,3)\\20\@OBXCE4
 S D0=INDA S X=$G(INA("OBXCE4",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,20)
 S @INV@("OBX4")=X K DXS,D0
 ;SET OBX5 = INSGX\^INTHL7FT(1,3)\\50\@OBXCE5
 S D0=INDA S X=$G(INA("OBXCE5",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,50)
 S @INV@("OBX5")=X K DXS,D0
 ;SET OBX11 = INSGX\^INTHL7FT(1,3)\\5\@OBXCE11
 S D0=INDA S X=$G(INA("OBXCE11",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,5)
 S @INV@("OBX11")=X K DXS,D0
 ;SET OBX14 = INSGX\^INTHL7FT(1,3)\\26\@OBXCE14
 S D0=INDA S X=$G(INA("OBXCE14",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,26)
 S @INV@("OBX14")=X K DXS,D0
 ;SET OBX17 = INSGX\^INTHL7FT(1,3)\\100\@OBXCE17
 S D0=INDA S X=$G(INA("OBXCE17",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,100)
 S @INV@("OBX17")=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@("OBX11")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,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@("OBX17")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,18,L1,.CP)
 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 SET INSETID=0
 D OBXFS^BYIMSEG1
 ;SET OBX1 = INSGX\^INTHL7FT(1,3)\\10\@OBXFS1
 S D0=INDA S X=$G(INA("OBXFS1",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,10)
 S @INV@("OBX1")=X K DXS,D0
 ;SET OBX2 = INSGX\^INTHL7FT(1,3)\\2\@OBXFS2
 S D0=INDA S X=$G(INA("OBXFS2",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,2)
 S @INV@("OBX2")=X K DXS,D0
 ;SET OBX3 = INSGX\^INTHL7FT(1,3)\\250\@OBXFS3
 S D0=INDA S X=$G(INA("OBXFS3",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 S @INV@("OBX3")=X K DXS,D0
 ;SET OBX4 = INSGX\^INTHL7FT(1,3)\\20\@OBXFS4
 S D0=INDA S X=$G(INA("OBXFS4",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,20)
 S @INV@("OBX4")=X K DXS,D0
 ;SET OBX5 = INSGX\^INTHL7FT(1,3)\\50\@OBXFS5
 S D0=INDA S X=$G(INA("OBXFS5",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,50)
 S @INV@("OBX5")=X K DXS,D0
 ;SET OBX11 = INSGX\^INTHL7FT(1,3)\\5\@OBXFS11
 S D0=INDA S X=$G(INA("OBXFS11",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,5)
 S @INV@("OBX11")=X K DXS,D0
 ;SET OBX14 = INSGX\^INTHL7FT(1,3)\\26\@OBXFS14
 S D0=INDA S X=$G(INA("OBXFS14",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,26)
 S @INV@("OBX14")=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@("OBX11")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP)
 S L1=$G(@INV@("OBX14")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,15,L1,.CP)
 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 SET INSETID=0
 D OBXTY^BYIMSEG1
 ;SET OBX1 = INSGX\^INTHL7FT(1,3)\\99\@OBXTY1
 S D0=INDA S X=$G(INA("OBXTY1",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,99)
 S @INV@("OBX1")=X K DXS,D0
 ;SET OBX2 = INSGX\^INTHL7FT(1,3)\\99\@OBXTY2
 S D0=INDA S X=$G(INA("OBXTY2",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,99)
 S @INV@("OBX2")=X K DXS,D0
 ;SET OBX3 = INSGX\^INTHL7FT(1,3)\\99\@OBXTY3
 S D0=INDA S X=$G(INA("OBXTY3",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,99)
 S @INV@("OBX3")=X K DXS,D0
 ;SET OBX4 = INSGX\^INTHL7FT(1,3)\\99\@OBXTY4
 S D0=INDA S X=$G(INA("OBXTY4",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,99)
 S @INV@("OBX4")=X K DXS,D0
 ;SET OBX5 = INSGX\^INTHL7FT(1,3)\\99\@OBXTY5
 S D0=INDA S X=$G(INA("OBXTY5",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,99)
 S @INV@("OBX5")=X K DXS,D0
 ;SET OBX11 = INSGX\^INTHL7FT(1,3)\\99\@OBXTY11
 S D0=INDA S X=$G(INA("OBXTY11",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,99)
 S @INV@("OBX11")=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@("OBX11")) 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
 SET INSETID=0
 D OBXPB^BYIMSEG1
 ;SET OBX1 = INSGX\^INTHL7FT(1,3)\\250\@OBXPB1
 S D0=INDA S X=$G(INA("OBXPB1",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 S @INV@("OBX1")=X K DXS,D0
 ;SET OBX2 = INSGX\^INTHL7FT(1,3)\\250\@OBXPB2
 S D0=INDA S X=$G(INA("OBXPB2",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 S @INV@("OBX2")=X K DXS,D0
 ;SET OBX3 = INSGX\^INTHL7FT(1,3)\\250\@OBXPB3
 S D0=INDA S X=$G(INA("OBXPB3",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 S @INV@("OBX3")=X K DXS,D0
 ;SET OBX4 = INSGX\^INTHL7FT(1,3)\\250\@OBXPB4
 S D0=INDA S X=$G(INA("OBXPB4",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 S @INV@("OBX4")=X K DXS,D0
 ;SET OBX5 = INSGX\^INTHL7FT(1,3)\\250\@OBXPB5
 S D0=INDA S X=$G(INA("OBXPB5",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 S @INV@("OBX5")=X K DXS,D0
 ;SET OBX11 = INSGX\^INTHL7FT(1,3)\\5\@OBXFS11
 S D0=INDA S X=$G(INA("OBXFS11",INI(1)))
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,5)
 S @INV@("OBX11")=X K DXS,D0
 D:'INVS MC^INHS
9 G EN^IS00011G