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

IS00018A.m

Go to the documentation of this file.
IS00018A ;Compiled from script 'Generated: HL IHS LAB R01 UNILAB IN-I' on AUG 14, 2006
 ;Part 2
 ;Copyright 2006 SAIC
EN S:DO @("@INV@(""PV136"")")=$$PIECE^INHU(.LINE,DELIM,37)
 S:DO @("@INV@(""PV137"")")=$$PIECE^INHU(.LINE,DELIM,38)
 S:DO @("@INV@(""PV138"")")=$$PIECE^INHU(.LINE,DELIM,39)
 S:DO @("@INV@(""PV139"")")=$$PIECE^INHU(.LINE,DELIM,40)
 S:DO @("@INV@(""PV140"")")=$$PIECE^INHU(.LINE,DELIM,41)
 S:DO @("@INV@(""PV141"")")=$$PIECE^INHU(.LINE,DELIM,42)
 S:DO @("@INV@(""PV142"")")=$$PIECE^INHU(.LINE,DELIM,43)
 S:DO @("@INV@(""PV143"")")=$$PIECE^INHU(.LINE,DELIM,44)
 S:DO @("@INV@(""PV144"")")=$$PIECE^INHU(.LINE,DELIM,45)
 S:DO @("@INV@(""PV145"")")=$$PIECE^INHU(.LINE,DELIM,46)
 S:DO @("@INV@(""PV146"")")=$$PIECE^INHU(.LINE,DELIM,47)
 S:DO @("@INV@(""PV147"")")=$$PIECE^INHU(.LINE,DELIM,48)
 S:DO @("@INV@(""PV148"")")=$$PIECE^INHU(.LINE,DELIM,49)
 S:DO @("@INV@(""PV149"")")=$$PIECE^INHU(.LINE,DELIM,50)
 S:DO @("@INV@(""PV150"")")=$$PIECE^INHU(.LINE,DELIM,51)
 S:DO @("@INV@(""PV151"")")=$$PIECE^INHU(.LINE,DELIM,52)
 S:DO @("@INV@(""PV152"")")=$$PIECE^INHU(.LINE,DELIM,53)
 Q:MATCH
 D:'INVS MC^INHS
 D GET^INHOU(UIF,0) S LINE=$G(LINE),DO=0
 I 'MATCH,LINE?1"O"1"R"1"C".ANPC S DO=1,MATCH=1
 E  S LCT=LCT-CNT,DO=0
 S:DO @("@INV@(""ORC1"")")=$$PIECE^INHU(.LINE,DELIM,2)
 S:DO @("@INV@(""ORC2"")")=$$PIECE^INHU(.LINE,DELIM,3)
 S:DO @("@INV@(""ORC3"")")=$$PIECE^INHU(.LINE,DELIM,4)
 S:DO @("@INV@(""ORC4"")")=$$PIECE^INHU(.LINE,DELIM,5)
 S:DO @("@INV@(""ORC5"")")=$$PIECE^INHU(.LINE,DELIM,6)
 S:DO @("@INV@(""ORC6"")")=$$PIECE^INHU(.LINE,DELIM,7)
 S:DO @("@INV@(""ORC7"")")=$$PIECE^INHU(.LINE,DELIM,8)
 S:DO @("@INV@(""ORC8"")")=$$PIECE^INHU(.LINE,DELIM,9)
 S:DO @("@INV@(""ORC9"")")=$$PIECE^INHU(.LINE,DELIM,10)
 S:DO @("@INV@(""ORC10"")")=$$PIECE^INHU(.LINE,DELIM,11)
 S:DO @("@INV@(""ORC11"")")=$$PIECE^INHU(.LINE,DELIM,12)
 S:DO @("@INV@(""ORC12"")")=$$PIECE^INHU(.LINE,DELIM,13)
 S:DO @("@INV@(""ORC13"")")=$$PIECE^INHU(.LINE,DELIM,14)
 S:DO @("@INV@(""ORC14"")")=$$PIECE^INHU(.LINE,DELIM,15)
 S:DO @("@INV@(""ORC15"")")=$$PIECE^INHU(.LINE,DELIM,16)
 S:DO @("@INV@(""ORC16"")")=$$PIECE^INHU(.LINE,DELIM,17)
 S:DO @("@INV@(""ORC17"")")=$$PIECE^INHU(.LINE,DELIM,18)
 S:DO @("@INV@(""ORC18"")")=$$PIECE^INHU(.LINE,DELIM,19)
 S:DO @("@INV@(""ORC19"")")=$$PIECE^INHU(.LINE,DELIM,20)
 S:DO @("@INV@(""ORC20"")")=$$PIECE^INHU(.LINE,DELIM,21)
 S:DO @("@INV@(""ORC21"")")=$$PIECE^INHU(.LINE,DELIM,22)
 S:DO @("@INV@(""ORC22"")")=$$PIECE^INHU(.LINE,DELIM,23)
 S:DO @("@INV@(""ORC23"")")=$$PIECE^INHU(.LINE,DELIM,24)
 S:DO @("@INV@(""ORC24"")")=$$PIECE^INHU(.LINE,DELIM,25)
 S:DO @("@INV@(""ORC25"")")=$$PIECE^INHU(.LINE,DELIM,26)
 Q:MATCH
 Q
C1 ;WHILE $P(DATA,DELIM)="OBR"
 S INI(1)=1 F  S DATA=$$GL^INHOU(UIF,LCT) Q:'$$CHECKSEG^INHOU("OBR",0,1)  D  S INI(1)=INI(1)+1
 .D:'INVS MC^INHS
 .D GET^INHOU(UIF,0) S LINE=$G(LINE),DO=1
 .S:DO @("@INV@(""OBR1"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,2)
 .S:DO @("@INV@(""OBR2"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,3)
 .S:DO @("@INV@(""OBR3"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,4)
 .S:DO @("@INV@(""OBR4"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,5)
 .S:DO @("@INV@(""OBR5"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,6)
 .S:DO @("@INV@(""OBR6"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,7)
 .S:DO @("@INV@(""OBR7"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,8)
 .S:DO @("@INV@(""OBR8"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,9)
 .S:DO @("@INV@(""OBR9"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,10)
 .S:DO @("@INV@(""OBR10"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,11)
 .S:DO @("@INV@(""OBR11"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,12)
 .S:DO @("@INV@(""OBR12"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,13)
 .S:DO @("@INV@(""OBR13"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,14)
 .S:DO @("@INV@(""OBR14"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,15)
 .S:DO @("@INV@(""OBR15"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,16)
 .S:DO @("@INV@(""OBR16"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,17)
 .S:DO @("@INV@(""OBR17"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,18)
 .S:DO @("@INV@(""OBR18"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,19)
 .S:DO @("@INV@(""OBR19"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,20)
 .S:DO @("@INV@(""OBR20"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,21)
 .S:DO @("@INV@(""OBR21"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,22)
 .S:DO @("@INV@(""OBR22"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,23)
 .S:DO @("@INV@(""OBR23"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,24)
 .S:DO @("@INV@(""OBR24"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,25)
 .S:DO @("@INV@(""OBR25"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,26)
 .S:DO @("@INV@(""OBR26"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,27)
 .S:DO @("@INV@(""OBR27"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,28)
 .S:DO @("@INV@(""OBR28"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,29)
 .S:DO @("@INV@(""OBR29"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,30)
 .S:DO @("@INV@(""OBR30"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,31)
 .S:DO @("@INV@(""OBR31"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,32)
 .S:DO @("@INV@(""OBR32"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,33)
 .S:DO @("@INV@(""OBR33"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,34)
 .S:DO @("@INV@(""OBR34"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,35)
 .S:DO @("@INV@(""OBR35"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,36)
 .S:DO @("@INV@(""OBR36"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,37)
 .S:DO @("@INV@(""OBR37"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,38)
 .S:DO @("@INV@(""OBR38"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,39)
 .S:DO @("@INV@(""OBR39"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,40)
 .S:DO @("@INV@(""OBR40"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,41)
 .S:DO @("@INV@(""OBR41"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,42)
 .S:DO @("@INV@(""OBR42"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,43)
 .S:DO @("@INV@(""OBR43"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,44)
 .S:DO @("@INV@(""OBR44"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,45)
 .S:DO @("@INV@(""OBR45"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,46)
 .S:DO @("@INV@(""OBR46"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,47)
 .S:DO @("@INV@(""OBR47"",INI(1))")=$$PIECE^INHU(.LINE,DELIM,48)
 .;WHILE $P(DATA,DELIM)="NTE"
 .S INI(2)=1 F  S DATA=$$GL^INHOU(UIF,LCT) Q:'$$CHECKSEG^INHOU("NTE",0,2)  D  S INI(2)=INI(2)+1
 ..D:'INVS MC^INHS
 ..D GET^INHOU(UIF,0) S LINE=$G(LINE),DO=1
 ..S:DO @("@INV@(""NTE1"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,2)
 ..S:DO @("@INV@(""NTE2"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,3)
 ..S:DO @("@INV@(""NTE3"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,4)
 ..S:DO @("@INV@(""NTE4"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,5)
 ..Q
 .;WHILE $P(DATA,DELIM)="OBX"
 .S INI(2)=1 F  S DATA=$$GL^INHOU(UIF,LCT) Q:'$$CHECKSEG^INHOU("OBX",0,2)  D  S INI(2)=INI(2)+1
 ..D:'INVS MC^INHS
 ..D GET^INHOU(UIF,0) S LINE=$G(LINE),DO=1
 ..S:DO @("@INV@(""OBX1"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,2)
 ..S:DO @("@INV@(""OBX2"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,3)
 ..S:DO @("@INV@(""OBX3"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,4)
 ..S:DO @("@INV@(""OBX4"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,5)
 ..S:DO @("@INV@(""OBX5"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,6)
 ..S:DO @("@INV@(""OBX6"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,7)
 ..S:DO @("@INV@(""OBX7"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,8)
 ..S:DO @("@INV@(""OBX8"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,9)
 ..S:DO @("@INV@(""OBX9"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,10)
 ..S:DO @("@INV@(""OBX10"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,11)
 ..S:DO @("@INV@(""OBX11"",INI(1),INI(2))")=$$PIECE^INHU(.LINE,DELIM,12)
9 ..D EN^IS00018B
 .D D2^IS00018B
 G D1^IS00018B