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

IS00029H.m

Go to the documentation of this file.
IS00029H ;Compiled from script 'Generated: HL IHS IZV04 V03VXR OUT-O' on SEP 05, 2011
 ;Part 9
 ;Copyright 2011 SAIC
EN ;SET RXA7 = INSGX\^INTHL7F(16990,5)\\20\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16990,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,20)
 S @INV@("RXA7")=X K DXS,D0
 ;SET RXA9.1 = INSGX\^INTHL7F(16739,5)\\2\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16739,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,2)
 S @INV@("RXA9.1")=X K DXS,D0
 ;SET RXA9.2 = INSGX\^INTHL7F(16740,5)\\40\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16740,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,40)
 S @INV@("RXA9.2")=X K DXS,D0
 ;SET RXA9.3 = INSGX\^INTHL7FT(1,3)\\10\"NIP001"
 S D0=INDA S X="NIP001"
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,10)
 S @INV@("RXA9.3")=X K DXS,D0
 ;SET RXA10 = INSGX\^INTHL7F(16731,5)\\50\#1204
 S D0=INDA S Y(1)=$S($D(^AUPNVIMM(D0,12)):^(12),1:"") S X=$P($G(^VA(200,+$P(Y(1),U,4),0)),U)
 S X1="^INTHL7F(16731,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,50)
 S @INV@("RXA10")=X K DXS,D0
 ;SET RXA11.1 = INSGX\^INTHL7FT(1,3)\\50\.03:.06
 S DXS(9.2)="S I(0,0)=$G(D0),Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:""""),D0=$P(Y(1),U,3) S:'D0!'$D(^AUPNVSIT(+D0,0)) D0=-1 S I(100,0)=$G(D0),Y(101)=$S($D(^AUPNVSIT(D0,0)):^(0),1:"""")"
 S D0=INDA X DXS(9.2) S Y(102)=$G(X),D0=$P(Y(101),U,6) S:'D0!'$D(^AUTTLOC(+D0,0)) D0=-1 S Y(201)=$S($D(^AUTTLOC(D0,0)):^(0),1:"") S X=$P($G(^DIC(4,+$P(Y(201),U,1),0)),U) S D0=I(0,0)
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,50)
 S @INV@("RXA11.1")=X K DXS,D0
 ;SET RXA11.2 = INSGX\^INTHL7FT(1,3)\\1\""
 S D0=INDA S X=""
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,1)
 S @INV@("RXA11.2")=X K DXS,D0
 ;SET RXA11.3 = INSGX\^INTHL7FT(1,3)\\1\""
 S D0=INDA S X=""
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,1)
 S @INV@("RXA11.3")=X K DXS,D0
 ;SET RXA11.4 = INSGX\^INTHL7FT(1,3)\\50\.03:2101
 S D0=INDA S I(0,0)=$G(D0),Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:""),D0=$P(Y(1),U,3) S:'D0!'$D(^AUPNVSIT(+D0,0)) D0=-1 S Y(101)=$S($D(^AUPNVSIT(D0,21)):^(21),1:"") S X=$P(Y(101),U,1) S D0=I(0,0)
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,50)
 S @INV@("RXA11.4")=X K DXS,D0
 ;SET RXA15 = INSGX\^INTHL7F(16723,5)\\20\"OUTPUT TRANSFORM"
 S D0=INDA S X="OUTPUT TRANSFORM"
 S X1="^INTHL7F(16723,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,20)
 S @INV@("RXA15")=X K DXS,D0
 ;SET RXA17.1 = INSGX\^INTHL7FT(1,3)\\3\.05:.02:.02
 S DXS(9.2)="S I(0,0)=$G(D0),Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:""""),D0=$P(Y(1),U,5) S:'D0!'$D(^AUTTIML(+D0,0)) D0=-1 S I(100,0)=$G(D0),Y(101)=$S($D(^AUTTIML(D0,0)):^(0),1:"""")"
 S D0=INDA X DXS(9.2) S Y(102)=$G(X),D0=$P(Y(101),U,2) S:'D0!'$D(^AUTTIMAN(+D0,0)) D0=-1 S Y(201)=$S($D(^AUTTIMAN(D0,0)):^(0),1:"") S X=$P(Y(201),U,2) S D0=I(0,0)
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,3)
 S @INV@("RXA17.1")=X K DXS,D0
 ;SET RXA17.2 = INSGX\^INTHL7FT(1,3)\\50\.05:.02
 S DXS(9.2)="S I(0,0)=$G(D0),Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:""""),D0=$P(Y(1),U,5) S:'D0!'$D(^AUTTIML(+D0,0)) D0=-1 S Y(101)=$S($D(^AUTTIML(D0,0)):^(0),1:"""")"
 S D0=INDA X DXS(9.2) S X=$P($G(^AUTTIMAN(+$P(Y(101),U,2),0)),U) S D0=I(0,0)
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,50)
 S @INV@("RXA17.2")=X K DXS,D0
 ;SET RXA17.3 = INSGX\^INTHL7FT(1,3)\\3\"MVX"
 S D0=INDA S X="MVX"
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,3)
 S @INV@("RXA17.3")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="RXA" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("RXA1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("RXA2")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP) S L1=$G(@INV@("RXA3"))
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,L1,.CP) S L1=$G(@INV@("RXA4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP)
 S L1=$G(@INV@("RXA5.1"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA5.2"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA5.3")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,6,L1,.CP) S L1=$G(@INV@("RXA6")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,7,L1,.CP) S L1=$G(@INV@("RXA7")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,8,L1,.CP) S L1=$G(@INV@("RXA9.1"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA9.2"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA9.3")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,10,L1,.CP) S L1=$G(@INV@("RXA10")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,11,L1,.CP) S L1=$G(@INV@("RXA11.1"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA11.2"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA11.3"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA11.4")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,12,L1,.CP) S L1=$G(@INV@("RXA15")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,16,L1,.CP) S L1=$G(@INV@("RXA17.1"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA17.2"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("RXA17.3")) 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
 ;SET ZRA1.1 = INSGX\^INTHL7F(14766,5)\\60\#.04
 S D0=INDA S Y(2)=$C(59)_$P($G(^DD(9000010.11,.04,0)),U,3),Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:"") S X=$P($P(Y(2),$C(59)_$P(Y(1),U,4)_":",2),$C(59))
 S X1="^INTHL7F(14766,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,60)
 S @INV@("ZRA1.1")=X K DXS,D0
 ;SET ZRA1.2 = INSGX\^INTHL7F(14768,5)\\60\#.04
 S D0=INDA S Y(2)=$C(59)_$P($G(^DD(9000010.11,.04,0)),U,3),Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:"") S X=$P($P(Y(2),$C(59)_$P(Y(1),U,4)_":",2),$C(59))
 S X1="^INTHL7F(14768,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,60)
 S @INV@("ZRA1.2")=X K DXS,D0
 ;SET ZRA1.3 = INSGX\^INTHL7FT(1,3)\\5\"99IHS"
 S D0=INDA S X="99IHS"
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,5)
 S @INV@("ZRA1.3")=X K DXS,D0
 ;SET ZRA2.1 = INSGX\^INTHL7F(14769,5)\\60\#.06
 S D0=INDA S Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:"") S X=$P($G(^BIREC(+$P(Y(1),U,6),0)),U)
 S X1="^INTHL7F(14769,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,60)
 S @INV@("ZRA2.1")=X K DXS,D0
 ;SET ZRA2.2 = INSGX\^INTHL7F(14771,5)\\60\#.06
 S D0=INDA S Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:"") S X=$P($G(^BIREC(+$P(Y(1),U,6),0)),U)
 S X1="^INTHL7F(14771,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,60)
 S @INV@("ZRA2.2")=X K DXS,D0
 ;SET ZRA2.3 = INSGX\^INTHL7FT(1,3)\\5\"99IHS"
 S D0=INDA S X="99IHS"
 S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,5)
 S @INV@("ZRA2.3")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="ZRA" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ZRA1.1"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("ZRA1.2"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("ZRA1.3")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ZRA2.1"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("ZRA2.2"))
 S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("ZRA2.3")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,3,L1,.CP)
 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 Q
L1 S INDA=INDA0 K INDA0
 D:'INVS MC^INHS
 ;Entering END section.
9 G EN^IS00029I