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

IS00005C.m

Go to the documentation of this file.
  1. IS00005C ;Compiled from script 'Generated: HL IHS CHR R01 IN-I' on JUN 08, 2006
  1. ;Part 4
  1. ;Copyright 2006 SAIC
  1. EN I '$D(X) D ERROR^INHS("Variable 'ZP227' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("ZP228"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("ZP228")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'ZP228' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("ZP229"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("ZP229")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'ZP229' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("ZP230"))
  1. I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. S @INV@("ZP230")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'ZP230' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("ZP231"))
  1. S:X]"" X=$$HLPN^INHUT(X,INSUBDEL,INDELIMS,$P($G(INTHL7F2),U,4),"I")
  1. S @INV@("ZP231")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'ZP231' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("ZP232"))
  1. I $L(X) S:$P(X,INSUBDEL,4)="" $P(X,INSUBDEL,4)=INSUBDEL
  1. S @INV@("ZP232")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'ZP232' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. S (INX,X)=$G(@INV@("ZP233"))
  1. I $L(X) S:$P(X,INSUBDEL,4)="" $P(X,INSUBDEL,4)=INSUBDEL
  1. S @INV@("ZP233")=$G(X)
  1. I '$D(X) D ERROR^INHS("Variable 'ZP233' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. K DXS
  1. Q
  1. E1 ;IF $D(@INV@("PV11"))
  1. I $D(@INV@("PV11"))
  1. D:$T
  1. .S (INX,X)=$G(@INV@("PV144"))
  1. .I X]"" S X=$$TIMEIO^INHUT10(X,$P($G(INTHL7F2),U),$P($G(INTHL7F2),U,2),$P($G(INTHL7F2),U,3),1)
  1. .S @INV@("PV144")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PV144' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("PV145"))
  1. .I X]"" S X=$$TIMEIO^INHUT10(X,$P($G(INTHL7F2),U),$P($G(INTHL7F2),U,2),$P($G(INTHL7F2),U,3),1)
  1. .S @INV@("PV145")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'PV145' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .Q
  1. ;IF $D(@INV@("ZV11"))
  1. I $D(@INV@("ZV11"))
  1. D:$T
  1. .S (INX,X)=$G(@INV@("ZV11"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZV11")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV11' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV12"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV12")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV12' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV14"))
  1. .I X]"" S X=$E(X,1,4)-1700_$E(X,5,8)
  1. .S @INV@("ZV14")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV14' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV15"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV15")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV15' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV16"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV16")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV16' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV17"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV17")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV17' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV18"))
  1. .S:$L(X) X=+X
  1. .S @INV@("ZV18")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV18' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV19"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV19")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV19' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV110"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV110")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV110' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV111"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV111")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV111' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV112"))
  1. .S:$L(X) X=+X
  1. .S @INV@("ZV112")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV112' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV116"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV116")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV116' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV117"))
  1. .S:$L(X) X=+X
  1. .S @INV@("ZV117")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV117' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV118"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV118")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV118' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV119"))
  1. .S:$L(X) X=+X
  1. .S @INV@("ZV119")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV119' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV120"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV120")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV120' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV121"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZV121")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV121' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV122"))
  1. .S:$L(X) X=+X
  1. .S @INV@("ZV122")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV122' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZV123"))
  1. .S:$L(X) X=+X
  1. .S @INV@("ZV123")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZV123' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .Q
  1. ;IF $D(@INV@("ZHR1"))
  1. I $D(@INV@("ZHR1"))
  1. D:$T
  1. .S (INX,X)=$G(@INV@("ZHR1"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZHR1")=$G(X)
  1. .I '$D(X) D ERROR^INHS("Variable 'ZHR1' failed input transform. Processing continues.",0),ERROR^INHS(" Value = '"_INX_"'",0)
  1. .K DXS
  1. .S (INX,X)=$G(@INV@("ZHR2"))
  1. .I $P($G(INTHL7F2),U,4) S X=$$SUBESC^INHUT7(X,INDELIMS,"I")
  1. .S @INV@("ZHR2")=$G(X)
  1. 9 .D EN^IS00005D
  1. G H1^IS00005D