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

IS00003Y.m

Go to the documentation of this file.
  1. IS00003Y ;Compiled from script 'Generated: X1 IHS 835 IN-I' on DEC 03, 2002
  1. ;Part 26
  1. ;Copyright 2002 SAIC
  1. EN S @INV@("AMT2",INI(1))=$G(X) I '$D(X) D ERROR^INHS("Variable 'AMT2' failed input transform in iteration #"_INI(1)_". Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. Q
  1. AE2 K DXS
  1. Q
  1. AE1 ;IF $D(@INV@("QTY1"))
  1. I $D(@INV@("QTY1"))
  1. D:$T
  1. .S INI(1)=0 F S INI(1)=$O(@INV@("QTY1",INI(1))) Q:'INI(1) S INI=INI(1) D
  1. ..S (INX,X)=@INV@("QTY1",INI(1))
  1. ..I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. ..S @INV@("QTY1",INI(1))=$G(X) I '$D(X) D ERROR^INHS("Variable 'QTY1' failed input transform in iteration #"_INI(1)_". Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. ..Q
  1. .K DXS
  1. .S INI(1)=0 F S INI(1)=$O(@INV@("QTY2",INI(1))) Q:'INI(1) S INI=INI(1) D
  1. ..S (INX,X)=@INV@("QTY2",INI(1))
  1. ..I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. ..S @INV@("QTY2",INI(1))=$G(X) I '$D(X) D ERROR^INHS("Variable 'QTY2' failed input transform in iteration #"_INI(1)_". Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. ..Q
  1. .K DXS
  1. .Q
  1. ;IF $D(@INV@("LQ1"))
  1. I $D(@INV@("LQ1"))
  1. D:$T
  1. .S INI(1)=0 F S INI(1)=$O(@INV@("LQ1",INI(1))) Q:'INI(1) S INI=INI(1) D
  1. ..S (INX,X)=@INV@("LQ1",INI(1))
  1. ..I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. ..S @INV@("LQ1",INI(1))=$G(X) I '$D(X) D ERROR^INHS("Variable 'LQ1' failed input transform in iteration #"_INI(1)_". Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. ..Q
  1. .K DXS
  1. .S INI(1)=0 F S INI(1)=$O(@INV@("LQ2",INI(1))) Q:'INI(1) S INI=INI(1) D
  1. ..S (INX,X)=@INV@("LQ2",INI(1))
  1. ..I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. ..S @INV@("LQ2",INI(1))=$G(X) I '$D(X) D ERROR^INHS("Variable 'LQ2' failed input transform in iteration #"_INI(1)_". Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. ..Q
  1. .K DXS
  1. .Q
  1. ;IF $D(@INV@("PLB1"))
  1. I $D(@INV@("PLB1"))
  1. D:$T
  1. .S (INX,X)=$G(@INV@("PLB1"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB1")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB1' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB2"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB2")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB2' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB3"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB3")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB3' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB4"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB4")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB4' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB5"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB5")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB5' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB6"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB6")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB6' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB7"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB7")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB7' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB8"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB8")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB8' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB9"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB9")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PLB9' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PLB10"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("PLB10")=$G(X)
  1. 9 .D EN^IS00003Z
  1. G AH1^IS00003Z