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

IS00029G.m

Go to the documentation of this file.
IS00029G ;Compiled from script 'Generated: HL IHS IZV04 V03VXR OUT-O' on SEP 05, 2011
 ;Part 8
 ;Copyright 2011 SAIC
EN S D0=INDA S X="^" S L1=L1_X
 S L1=L1_$G(@INV@("IN119.5")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,20,L1,.CP)
 S D0=INDA S X=@INV@("IN143"),Y(1)=$G(X) S X=1,Y(2)=$G(X) S X=1,X=$E(Y(1),Y(2),X) S L1=X
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,44,L1,.CP)
 S D0=INDA S X=@INV@("IN147"),Y(1)=$G(X) S X=1,Y(2)=$G(X) S X=20,X=$E(Y(1),Y(2),X) S L1=X
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,48,L1,.CP)
 S D0=INDA S X=@INV@("IN149"),Y(1)=$G(X) S X=1,Y(2)=$G(X) S X=250,X=$E(Y(1),Y(2),X) S L1=X
 S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,50,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 IN21 = INSGX\^INTHL7FT(32,3)\\250\#.16
 S D0=INDA S Y(1)=$S($D(^AUPN3PPH(D0,0)):^(0),1:"") S X=$P($G(^AUTNEMPL(+$P(Y(1),U,16),0)),U)
 S X1="^INTHL7FT(32,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 S @INV@("IN21")=X K DXS,D0
 D:'INVS MC^INHS
 K LINE S LINE="",CP=0 S L1="IN2" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("IN21")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP)
 S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 Q
J1 S INDA=INDA0 K INDA0
 SET INSETID=0
 I '$D(INDA(9000005)) S INI=0 F  S INI=$O(^AUPNRRE("B",INDA,INI)) Q:'INI  S INDA(9000005,INI)=""
 S INDA0=INDA,INI(1)=0  F  S INI(1)=$O(INDA(9000005,INI(1))) Q:'INI(1)  S INDA=$S(INDA(9000005,INI(1)):INDA(9000005,INI(1)),1:INI(1)) D
 .Q:'$D(^AUPNRRE(INDA,0))
 .SET INSETID=0
 .S MULT=MULT+1,INDA(0)=INDA,INDA=0 F I=MULT:-1:1 S INDA(I)=INDA(I-1)
 .K INDA(0) S INDA=0
 .I '$D(INDA(9000005.11)) S INI=0 F  S INI=$O(^AUPNRRE(INDA(1),11,INI)) Q:'INI  S INDA(9000005.11,INI)=""
 .S INI(2)=0  F  S INI(2)=$O(INDA(9000005.11,INI(2))) Q:'INI(2)  S INDA=$S(INDA(9000005.11,INI(2)):INDA(9000005.11,INI(2)),1:INI(2)) D
 ..Q:'$D(^AUPNRRE(INDA(1),11,INDA,0))
 ..;SET IN11 = INSGX\^INTHL7FT(11,3)\\4\"IN1"
 ..S D0=INDA S X="IN1"
 ..S X1="^INTHL7FT(11,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,4)
 ..S @INV@("IN11")=X K DXS,D0
 ..;SET IN14 = INSGX\^INTHL7F(15178,5)\\250\"OUTPUT TRANSFORM"
 ..S D0=INDA S X="OUTPUT TRANSFORM"
 ..S X1="^INTHL7F(15178,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 ..S @INV@("IN14")=X K DXS,D0
 ..;SET IN18 = INSGX\^INTHL7F(15179,5)\\12\"OUTPUT TRANSFORM"
 ..S D0=INDA S X="OUTPUT TRANSFORM"
 ..S X1="^INTHL7F(15179,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,12)
 ..S @INV@("IN18")=X K DXS,D0
 ..;SET IN112 = INSGX\^INTHL7FT(4,3)\\8\#.01
 ..S D0=INDA S Y(1)=$S($D(^AUPNRRE(INDA(1),11,D0,0)):^(0),1:"") S X=$P(Y(1),U,1)
 ..S X1="^INTHL7FT(4,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,8)
 ..S @INV@("IN112")=X K DXS,D0
 ..;SET IN113 = INSGX\^INTHL7FT(4,3)\\8\#.02
 ..S D0=INDA S Y(1)=$S($D(^AUPNRRE(INDA(1),11,D0,0)):^(0),1:"") S X=$P(Y(1),U,2)
 ..S X1="^INTHL7FT(4,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,8)
 ..S @INV@("IN113")=X K DXS,D0
 ..;SET IN143 = INSGX\^INTHL7F(15184,5)\\1\"OUTPUT TRANSFORM"
 ..S D0=INDA S X="OUTPUT TRANSFORM"
 ..S X1="^INTHL7F(15184,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,1)
 ..S @INV@("IN143")=X K DXS,D0
 ..;SET IN147 = #.03
 ..S D0=INDA S Y(2)=$C(59)_$P($G(^DD(9000005.11,.03,0)),U,3),Y(1)=$S($D(^AUPNRRE(INDA(1),11,D0,0)):^(0),1:"") S X=$P($P(Y(2),$C(59)_$P(Y(1),U,3)_":",2),$C(59))
 ..S @INV@("IN147")=X K DXS,D0
 ..;SET IN149 = INSGX\^INTHL7F(15185,5)\\250\"OUTPUT TRANSFORM"
 ..S D0=INDA S X="OUTPUT TRANSFORM"
 ..S X1="^INTHL7F(15185,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,250)
 ..S @INV@("IN149")=X K DXS,D0
 ..D:'INVS MC^INHS
 ..K LINE S LINE="",CP=0 S L1="IN1" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("IN11")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 ..D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("IN14")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,5,L1,.CP) S L1=$G(@INV@("IN18"))
 ..S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,9,L1,.CP) S L1=$G(@INV@("IN112")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,13,L1,.CP)
 ..S L1=$G(@INV@("IN113")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,14,L1,.CP) S L1=$G(@INV@("IN143")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 ..D SETPIECE^INHU(.LINE,DELIM,44,L1,.CP)
 ..S D0=INDA S X=@INV@("IN147"),Y(1)=$G(X) S X=1,Y(2)=$G(X) S X=3,X=$E(Y(1),Y(2),X) S L1=X
 ..S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,48,L1,.CP) S L1=$G(@INV@("IN149")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,50,L1,.CP)
 ..S LCT=LCT+1,^UTILITY("INH",$J,LCT)=LINE I $D(LINE)>9 M ^UTILITY("INH",$J,LCT)=LINE
 ..Q
 .F I=1:1:MULT S INDA(I-1)=INDA(I)
 .S INDA=INDA(0) K INDA(0) S MULT=MULT-1
 .Q
 S INDA=INDA0 K INDA0
 SET INSETID=0
 I '$D(INDA(9000010.11)) S INI=0 F  S INI=$O(^AUPNVIMM("AC",INDA,INI)) Q:'INI  S INDA(9000010.11,INI)=""
 S INDA0=INDA,INI(1)=0  F  S INI(1)=$O(INDA(9000010.11,INI(1))) Q:'INI(1)  S INDA=$S(INDA(9000010.11,INI(1)):INDA(9000010.11,INI(1)),1:INI(1)) D
 .Q:'$D(^AUPNVIMM(INDA,0))
 .;SET ORC1 = $E(INTERNAL("RE"),1,2)
 .S D0=INDA S X="RE",X=X S X=X,Y(1)=$G(X) S X=1,Y(2)=$G(X) S X=2,X=$E(Y(1),Y(2),X)
 .S @INV@("ORC1")=X K DXS,D0
 .;SET ORC3 = INSGX\^INTHL7F(14757,5)\\22\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(14757,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,22)
 .S @INV@("ORC3")=X K DXS,D0
 .D:'INVS MC^INHS
 .K LINE S LINE="",CP=0 S L1="ORC" S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,1,L1,.CP) S L1=$G(@INV@("ORC1")) S:$TR(L1,$G(SUBDELIM))="" L1=""
 .D SETPIECE^INHU(.LINE,DELIM,2,L1,.CP) S L1=$G(@INV@("ORC3")) S:$TR(L1,$G(SUBDELIM))="" L1="" D SETPIECE^INHU(.LINE,DELIM,4,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 RXA1 = INSGX\^INTHL7F(16719,5)\\4\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16719,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,4)
 .S @INV@("RXA1")=X K DXS,D0
 .;SET RXA2 = INSGX\^INTHL7F(16720,5)\\4\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16720,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,4)
 .S @INV@("RXA2")=X K DXS,D0
 .;SET RXA3 = INSGX\^INTHL7F(16721,5)\\26\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16721,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,26)
 .S @INV@("RXA3")=X K DXS,D0
 .;SET RXA4 = INSGX\^INTHL7F(16717,5)\\26\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16717,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,26)
 .S @INV@("RXA4")=X K DXS,D0
 .;SET RXA5.1 = INSGX\^INTHL7F(16724,5)\\100\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16724,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,100)
 .S @INV@("RXA5.1")=X K DXS,D0
 .;SET RXA5.2 = INSGX\^INTHL7F(16725,5)\\100\"OUTPUT TRANSFORM"
 .S D0=INDA S X="OUTPUT TRANSFORM"
 .S X1="^INTHL7F(16725,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,100)
 .S @INV@("RXA5.2")=X K DXS,D0
 .;SET RXA5.3 = INSGX\^INTHL7FT(1,3)\\3\"CVX"
 .S D0=INDA S X="CVX"
 .S X1="^INTHL7FT(1,3)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,3)
 .S @INV@("RXA5.3")=X K DXS,D0
 .;SET RXA6 = INSGX\^INTHL7F(16718,5)\\3\#.11
 .S D0=INDA S Y(1)=$S($D(^AUPNVIMM(D0,0)):^(0),1:"") S X=$P(Y(1),U,11)
 .S X1="^INTHL7F(16718,5)" X:$L($G(@X1)) $G(@X1) S X=$E(X,1,3)
 .S @INV@("RXA6")=X K DXS,D0
9 .D EN^IS00029H
 G L1^IS00029H