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

IS00005B.m

Go to the documentation of this file.
  1. IS00005B ;Compiled from script 'Generated: HL IHS CHR R01 IN-I' on JUN 08, 2006
  1. ;Part 3
  1. ;Copyright 2006 SAIC
  1. EN S @INV@("PID11")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'PID11' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. 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@("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@("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@("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. Q
  1. D1 ;IF $D(@INV@("ZP21"))
  1. I $D(@INV@("ZP21"))
  1. D:$T
  1. .S (INX,X)=$G(@INV@("ZP21"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP21")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP21' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP22"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP22")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP22' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP23"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP23")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP23' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP24"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP24")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP24' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP25"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP25")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP25' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP26"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP26")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP26' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP28"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP28")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP28' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP29"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP29")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP29' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP210"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP210")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP210' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP211"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP211")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP211' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP212"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP212")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP212' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP213"))
  1. .I $L(X) S:$P(X,INSUBDEL,4)="" $P(X,INSUBDEL,4)=INSUBDEL
  1. .S @INV@("ZP213")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP213' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP214"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP214")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP214' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP215"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP215")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP215' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP216"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP216")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP216' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP217"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP217")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP217' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP218"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP218")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP218' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP219"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP219")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP219' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP221"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP221")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP221' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP222"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP222")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP222' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP223"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP223")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP223' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP225"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZP225")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP225' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP226"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP226")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZP226' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZP227"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZP227")=$G(X)
  1. 9 .D EN^IS00005C
  1. G E1^IS00005C