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

IS00003F.m

Go to the documentation of this file.
  1. IS00003F ;Compiled from script 'Generated: X1 IHS 835 IN-I' on DEC 03, 2002
  1. ;Part 7
  1. ;Copyright 2002 SAIC
  1. EN D GET^INHOU(UIF,0) S LINE=$G(LINE),DO=0
  1. I 'MATCH,LINE?1"S"1"T".ANPC S DO=1,MATCH=1
  1. E S LCT=LCT-CNT,DO=0
  1. S:DO @("@INV@(""ST1"")")=$$PIECE^INHU(.LINE,DELIM,2)
  1. S:DO @("@INV@(""ST2"")")=$$PIECE^INHU(.LINE,DELIM,3)
  1. Q:MATCH
  1. Q
  1. P1 D:'INVS MC^INHS
  1. ;Entering TRANS section.
  1. ;IF $D(@INV@("ST1"))
  1. I $D(@INV@("ST1"))
  1. D:$T
  1. .S (INX,X)=$G(@INV@("ST1"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ST1")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ST1' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ST2"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ST2")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ST2' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .Q
  1. ;IF $D(@INV@("BPR1"))
  1. I $D(@INV@("BPR1"))
  1. D:$T
  1. .S (INX,X)=$G(@INV@("BPR1"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR1")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR1' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR2"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR2")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR2' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR3"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR3")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR3' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR4"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR4")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR4' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR5"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR5")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR5' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR6"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR6")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR6' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR7"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR7")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR7' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR8"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR8")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR8' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR9"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR9")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR9' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR10"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR10")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR10' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR11"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR11")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR11' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR12"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR12")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR12' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR13"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR13")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'BPR13' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("BPR14"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("BPR14")=$G(X)
  1. 9 .D EN^IS00003G
  1. G R1^IS00003G