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

IS00018C.m

Go to the documentation of this file.
  1. IS00018C ;Compiled from script 'Generated: HL IHS LAB R01 UNILAB IN-I' on AUG 14, 2006
  1. ;Part 4
  1. ;Copyright 2006 SAIC
  1. EN K DXS
  1. S (INX,X)=$G(@INV@("PID13"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID13")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID13' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID14"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID14")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID14' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID15"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID15")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID15' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID16"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID16")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID16' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID17"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID17")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID17' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID18"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID18")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID18' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID19"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID19")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID19' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID20"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID20")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID20' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID21"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID21")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID21' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID22"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID22")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID22' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID23"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID23")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID23' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID24"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID24")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID24' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID25"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID25")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID25' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID26"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID26")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID26' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID27"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID27")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID27' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID28"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID28")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID28' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID29"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID29")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID29' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID30"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID30")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID30' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID31"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID31")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID31' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID32"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID32")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID32' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID33"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID33")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID33' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID34"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID34")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID34' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID35"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID35")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID35' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID36"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID36")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID36' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID37"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID37")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID37' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("PID38"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("PID38")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID38' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. ;IF $D(@INV@("NTE1"))
  1. I $D(@INV@("NTE1"))
  1. D:$T
  1. .S INI(1)=0 F S INI(1)=$O(@INV@("NTE4",INI(1))) Q:'INI(1) S INI=INI(1) D
  1. ..S INI(2)=0 F S INI(2)=$O(@INV@("NTE4",INI(1),INI(2))) Q:'INI(2) S INI=INI(2) D
  1. ...S INI(3)=0 F S INI(3)=$O(@INV@("NTE4",INI(1),INI(2),INI(3))) Q:'INI(3) S INI=INI(3) D
  1. ....S (INX,X)=@INV@("NTE4",INI(1),INI(2),INI(3))
  1. ....I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. ....S @INV@("NTE4",INI(1),INI(2),INI(3))=$G(X) I '$D(X) D ERROR^INHS("Variable 'NTE4' failed input transform in iteration #"_INI(1)_","_INI(2)_","_INI(3)_". Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. ....Q
  1. ...Q
  1. ..Q
  1. .K DXS
  1. .Q
  1. Q
  1. F1 ;IF $D(@INV@("PV11"))
  1. I $D(@INV@("PV11"))
  1. D:$T
  1. .S (INX,X)=$G(@INV@("PV11"))
  1. 9 .D EN^IS00018D
  1. G G1^IS00018E