IBINI0E8 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,"PKG",200,4,55,0)
;;=358.4
;;^UTILITY(U,$J,"PKG",200,4,55,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,56,0)
;;=358.5
;;^UTILITY(U,$J,"PKG",200,4,56,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,57,0)
;;=358.6
;;^UTILITY(U,$J,"PKG",200,4,57,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,58,0)
;;=358.7
;;^UTILITY(U,$J,"PKG",200,4,58,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,59,0)
;;=358.8
;;^UTILITY(U,$J,"PKG",200,4,59,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,60,0)
;;=358.91
;;^UTILITY(U,$J,"PKG",200,4,60,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,61,0)
;;=409.95
;;^UTILITY(U,$J,"PKG",200,4,61,222)
;;=y^n^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,62,0)
;;=409.96
;;^UTILITY(U,$J,"PKG",200,4,62,222)
;;=y^n^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,63,0)
;;=36
;;^UTILITY(U,$J,"PKG",200,4,63,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,64,0)
;;=2
;;^UTILITY(U,$J,"PKG",200,4,64,1,0)
;;=^9.45A^2^2
;;^UTILITY(U,$J,"PKG",200,4,64,1,1,0)
;;=INSURANCE TYPE
;;^UTILITY(U,$J,"PKG",200,4,64,1,2,0)
;;=APPOINTMENT
;;^UTILITY(U,$J,"PKG",200,4,64,1,"B","APPOINTMENT",2)
;;=
;;^UTILITY(U,$J,"PKG",200,4,64,1,"B","INSURANCE TYPE",1)
;;=
;;^UTILITY(U,$J,"PKG",200,4,64,222)
;;=y^n^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,65,0)
;;=350.21
;;^UTILITY(U,$J,"PKG",200,4,65,222)
;;=y^y^^n^^^n^^
;;^UTILITY(U,$J,"PKG",200,4,66,0)
;;=355.1
;;^UTILITY(U,$J,"PKG",200,4,66,222)
;;=y^y^^n^^^y^o^y
;;^UTILITY(U,$J,"PKG",200,4,67,0)
;;=355.2
;;^UTILITY(U,$J,"PKG",200,4,67,222)
;;=y^y^^n^^^y^o^y
;;^UTILITY(U,$J,"PKG",200,4,68,0)
;;=355.3
;;^UTILITY(U,$J,"PKG",200,4,68,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,69,0)
;;=355.4
;;^UTILITY(U,$J,"PKG",200,4,69,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,70,0)
;;=355.5
;;^UTILITY(U,$J,"PKG",200,4,70,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,71,0)
;;=356.1
;;^UTILITY(U,$J,"PKG",200,4,71,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,72,0)
;;=356.11
;;^UTILITY(U,$J,"PKG",200,4,72,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,73,0)
;;=356.2
;;^UTILITY(U,$J,"PKG",200,4,73,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,74,0)
;;=356.21
;;^UTILITY(U,$J,"PKG",200,4,74,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,75,0)
;;=356.3
;;^UTILITY(U,$J,"PKG",200,4,75,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,76,0)
;;=356.399
;;^UTILITY(U,$J,"PKG",200,4,76,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,77,0)
;;=356.4
;;^UTILITY(U,$J,"PKG",200,4,77,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,78,0)
;;=356.5
;;^UTILITY(U,$J,"PKG",200,4,78,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,79,0)
;;=356.6
;;^UTILITY(U,$J,"PKG",200,4,79,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,80,0)
;;=356.7
;;^UTILITY(U,$J,"PKG",200,4,80,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,81,0)
;;=356.8
;;^UTILITY(U,$J,"PKG",200,4,81,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,82,0)
;;=356.9
;;^UTILITY(U,$J,"PKG",200,4,82,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,83,0)
;;=356.91
;;^UTILITY(U,$J,"PKG",200,4,83,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,84,0)
;;=356.94
;;^UTILITY(U,$J,"PKG",200,4,84,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,85,0)
;;=362.1
;;^UTILITY(U,$J,"PKG",200,4,85,222)
;;=y^y^^n^^^n
;;^UTILITY(U,$J,"PKG",200,4,87,0)
;;=355.6
;;^UTILITY(U,$J,"PKG",200,4,87,222)
;;=y^y^^n^^^y^m^y
;;^UTILITY(U,$J,"PKG",200,4,88,0)
;;=355.7
;;^UTILITY(U,$J,"PKG",200,4,88,222)
;;=y^y^^n^^^n^^
;;^UTILITY(U,$J,"PKG",200,4,89,0)
;;=356.93
;;^UTILITY(U,$J,"PKG",200,4,89,222)
;;=y^y^^n^^^n^^
IBINI0E8 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,"PKG",200,4,55,0)
+2 ;;=358.4
+3 ;;^UTILITY(U,$J,"PKG",200,4,55,222)
+4 ;;=y^y^^n^^^n
+5 ;;^UTILITY(U,$J,"PKG",200,4,56,0)
+6 ;;=358.5
+7 ;;^UTILITY(U,$J,"PKG",200,4,56,222)
+8 ;;=y^y^^n^^^n
+9 ;;^UTILITY(U,$J,"PKG",200,4,57,0)
+10 ;;=358.6
+11 ;;^UTILITY(U,$J,"PKG",200,4,57,222)
+12 ;;=y^y^^n^^^n
+13 ;;^UTILITY(U,$J,"PKG",200,4,58,0)
+14 ;;=358.7
+15 ;;^UTILITY(U,$J,"PKG",200,4,58,222)
+16 ;;=y^y^^n^^^n
+17 ;;^UTILITY(U,$J,"PKG",200,4,59,0)
+18 ;;=358.8
+19 ;;^UTILITY(U,$J,"PKG",200,4,59,222)
+20 ;;=y^y^^n^^^n
+21 ;;^UTILITY(U,$J,"PKG",200,4,60,0)
+22 ;;=358.91
+23 ;;^UTILITY(U,$J,"PKG",200,4,60,222)
+24 ;;=y^y^^n^^^n
+25 ;;^UTILITY(U,$J,"PKG",200,4,61,0)
+26 ;;=409.95
+27 ;;^UTILITY(U,$J,"PKG",200,4,61,222)
+28 ;;=y^n^^n^^^n
+29 ;;^UTILITY(U,$J,"PKG",200,4,62,0)
+30 ;;=409.96
+31 ;;^UTILITY(U,$J,"PKG",200,4,62,222)
+32 ;;=y^n^^n^^^n
+33 ;;^UTILITY(U,$J,"PKG",200,4,63,0)
+34 ;;=36
+35 ;;^UTILITY(U,$J,"PKG",200,4,63,222)
+36 ;;=y^y^^n^^^n
+37 ;;^UTILITY(U,$J,"PKG",200,4,64,0)
+38 ;;=2
+39 ;;^UTILITY(U,$J,"PKG",200,4,64,1,0)
+40 ;;=^9.45A^2^2
+41 ;;^UTILITY(U,$J,"PKG",200,4,64,1,1,0)
+42 ;;=INSURANCE TYPE
+43 ;;^UTILITY(U,$J,"PKG",200,4,64,1,2,0)
+44 ;;=APPOINTMENT
+45 ;;^UTILITY(U,$J,"PKG",200,4,64,1,"B","APPOINTMENT",2)
+46 ;;=
+47 ;;^UTILITY(U,$J,"PKG",200,4,64,1,"B","INSURANCE TYPE",1)
+48 ;;=
+49 ;;^UTILITY(U,$J,"PKG",200,4,64,222)
+50 ;;=y^n^^n^^^n
+51 ;;^UTILITY(U,$J,"PKG",200,4,65,0)
+52 ;;=350.21
+53 ;;^UTILITY(U,$J,"PKG",200,4,65,222)
+54 ;;=y^y^^n^^^n^^
+55 ;;^UTILITY(U,$J,"PKG",200,4,66,0)
+56 ;;=355.1
+57 ;;^UTILITY(U,$J,"PKG",200,4,66,222)
+58 ;;=y^y^^n^^^y^o^y
+59 ;;^UTILITY(U,$J,"PKG",200,4,67,0)
+60 ;;=355.2
+61 ;;^UTILITY(U,$J,"PKG",200,4,67,222)
+62 ;;=y^y^^n^^^y^o^y
+63 ;;^UTILITY(U,$J,"PKG",200,4,68,0)
+64 ;;=355.3
+65 ;;^UTILITY(U,$J,"PKG",200,4,68,222)
+66 ;;=y^y^^n^^^n
+67 ;;^UTILITY(U,$J,"PKG",200,4,69,0)
+68 ;;=355.4
+69 ;;^UTILITY(U,$J,"PKG",200,4,69,222)
+70 ;;=y^y^^n^^^n
+71 ;;^UTILITY(U,$J,"PKG",200,4,70,0)
+72 ;;=355.5
+73 ;;^UTILITY(U,$J,"PKG",200,4,70,222)
+74 ;;=y^y^^n^^^n
+75 ;;^UTILITY(U,$J,"PKG",200,4,71,0)
+76 ;;=356.1
+77 ;;^UTILITY(U,$J,"PKG",200,4,71,222)
+78 ;;=y^y^^n^^^n
+79 ;;^UTILITY(U,$J,"PKG",200,4,72,0)
+80 ;;=356.11
+81 ;;^UTILITY(U,$J,"PKG",200,4,72,222)
+82 ;;=y^y^^n^^^y^m^y
+83 ;;^UTILITY(U,$J,"PKG",200,4,73,0)
+84 ;;=356.2
+85 ;;^UTILITY(U,$J,"PKG",200,4,73,222)
+86 ;;=y^y^^n^^^n
+87 ;;^UTILITY(U,$J,"PKG",200,4,74,0)
+88 ;;=356.21
+89 ;;^UTILITY(U,$J,"PKG",200,4,74,222)
+90 ;;=y^y^^n^^^y^m^y
+91 ;;^UTILITY(U,$J,"PKG",200,4,75,0)
+92 ;;=356.3
+93 ;;^UTILITY(U,$J,"PKG",200,4,75,222)
+94 ;;=y^y^^n^^^y^m^y
+95 ;;^UTILITY(U,$J,"PKG",200,4,76,0)
+96 ;;=356.399
+97 ;;^UTILITY(U,$J,"PKG",200,4,76,222)
+98 ;;=y^y^^n^^^n
+99 ;;^UTILITY(U,$J,"PKG",200,4,77,0)
+100 ;;=356.4
+101 ;;^UTILITY(U,$J,"PKG",200,4,77,222)
+102 ;;=y^y^^n^^^y^m^y
+103 ;;^UTILITY(U,$J,"PKG",200,4,78,0)
+104 ;;=356.5
+105 ;;^UTILITY(U,$J,"PKG",200,4,78,222)
+106 ;;=y^y^^n^^^y^m^y
+107 ;;^UTILITY(U,$J,"PKG",200,4,79,0)
+108 ;;=356.6
+109 ;;^UTILITY(U,$J,"PKG",200,4,79,222)
+110 ;;=y^y^^n^^^y^m^y
+111 ;;^UTILITY(U,$J,"PKG",200,4,80,0)
+112 ;;=356.7
+113 ;;^UTILITY(U,$J,"PKG",200,4,80,222)
+114 ;;=y^y^^n^^^y^m^y
+115 ;;^UTILITY(U,$J,"PKG",200,4,81,0)
+116 ;;=356.8
+117 ;;^UTILITY(U,$J,"PKG",200,4,81,222)
+118 ;;=y^y^^n^^^y^m^y
+119 ;;^UTILITY(U,$J,"PKG",200,4,82,0)
+120 ;;=356.9
+121 ;;^UTILITY(U,$J,"PKG",200,4,82,222)
+122 ;;=y^y^^n^^^n
+123 ;;^UTILITY(U,$J,"PKG",200,4,83,0)
+124 ;;=356.91
+125 ;;^UTILITY(U,$J,"PKG",200,4,83,222)
+126 ;;=y^y^^n^^^n
+127 ;;^UTILITY(U,$J,"PKG",200,4,84,0)
+128 ;;=356.94
+129 ;;^UTILITY(U,$J,"PKG",200,4,84,222)
+130 ;;=y^y^^n^^^n
+131 ;;^UTILITY(U,$J,"PKG",200,4,85,0)
+132 ;;=362.1
+133 ;;^UTILITY(U,$J,"PKG",200,4,85,222)
+134 ;;=y^y^^n^^^n
+135 ;;^UTILITY(U,$J,"PKG",200,4,87,0)
+136 ;;=355.6
+137 ;;^UTILITY(U,$J,"PKG",200,4,87,222)
+138 ;;=y^y^^n^^^y^m^y
+139 ;;^UTILITY(U,$J,"PKG",200,4,88,0)
+140 ;;=355.7
+141 ;;^UTILITY(U,$J,"PKG",200,4,88,222)
+142 ;;=y^y^^n^^^n^^
+143 ;;^UTILITY(U,$J,"PKG",200,4,89,0)
+144 ;;=356.93
+145 ;;^UTILITY(U,$J,"PKG",200,4,89,222)
+146 ;;=y^y^^n^^^n^^