IBINI0C0 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(399.5) 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,399.5)
;;=^DGCR(399.5,
;;^UTILITY(U,$J,399.5,0)
;;=BILLING RATES^399.5ID^378^378
;;^UTILITY(U,$J,399.5,1,0)
;;=2861001^3^1^436^1^opc
;;^UTILITY(U,$J,399.5,2,0)
;;=2861001^3^101^286^1^i
;;^UTILITY(U,$J,399.5,3,0)
;;=2861001^3^960^48^1^i
;;^UTILITY(U,$J,399.5,4,0)
;;=2861001^3^240^102^1^i
;;^UTILITY(U,$J,399.5,5,0)
;;=2861001^12^1^508^1^opc
;;^UTILITY(U,$J,399.5,6,0)
;;=2861001^12^101^330^1^i
;;^UTILITY(U,$J,399.5,7,0)
;;=2861001^12^960^64^1^i
;;^UTILITY(U,$J,399.5,8,0)
;;=2861001^12^240^114^1^i
;;^UTILITY(U,$J,399.5,9,0)
;;=2861001^9^1^323^1^opc
;;^UTILITY(U,$J,399.5,10,0)
;;=2861001^9^101^249^1^i
;;^UTILITY(U,$J,399.5,11,0)
;;=2861001^9^960^23^1^i
;;^UTILITY(U,$J,399.5,12,0)
;;=2861001^9^240^51^1^i
;;^UTILITY(U,$J,399.5,13,0)
;;=2861001^4^1^197^1^opc
;;^UTILITY(U,$J,399.5,14,0)
;;=2861001^4^101^161^1^i
;;^UTILITY(U,$J,399.5,15,0)
;;=2861001^4^960^11^1^i
;;^UTILITY(U,$J,399.5,16,0)
;;=2861001^4^240^25^1^i
;;^UTILITY(U,$J,399.5,17,0)
;;=2861001^5^1^378^1^opc
;;^UTILITY(U,$J,399.5,18,0)
;;=2861001^5^101^250^1^i
;;^UTILITY(U,$J,399.5,19,0)
;;=2861001^5^960^12^1^i
;;^UTILITY(U,$J,399.5,20,0)
;;=2861001^10^1^344^1^opc
;;^UTILITY(U,$J,399.5,21,0)
;;=2861001^10^101^234^1^i
;;^UTILITY(U,$J,399.5,22,0)
;;=2861001^10^960^7^1^i
;;^UTILITY(U,$J,399.5,23,0)
;;=2861001^10^240^103^1^i
;;^UTILITY(U,$J,399.5,24,0)
;;=2861001^1^1^121^1^opc
;;^UTILITY(U,$J,399.5,25,0)
;;=2861001^1^101^82^1^i
;;^UTILITY(U,$J,399.5,26,0)
;;=2861001^1^960^14^1^i
;;^UTILITY(U,$J,399.5,27,0)
;;=2861001^1^240^25^1^i
;;^UTILITY(U,$J,399.5,28,0)
;;=2861001^2^1^485^1^opc
;;^UTILITY(U,$J,399.5,29,0)
;;=2861001^2^101^227^1^i
;;^UTILITY(U,$J,399.5,30,0)
;;=2861001^2^960^13^1^i
;;^UTILITY(U,$J,399.5,31,0)
;;=2861001^2^240^245^1^i
;;^UTILITY(U,$J,399.5,32,0)
;;=2861001^6^1^167^1^opc
;;^UTILITY(U,$J,399.5,33,0)
;;=2861001^6^101^141^1^i
;;^UTILITY(U,$J,399.5,34,0)
;;=2861001^6^960^4^1^i
;;^UTILITY(U,$J,399.5,35,0)
;;=2861001^6^240^22^1^i
;;^UTILITY(U,$J,399.5,36,0)
;;=2861001^11^1^501^1^opc
;;^UTILITY(U,$J,399.5,37,0)
;;=2861001^11^101^348^1^i
;;^UTILITY(U,$J,399.5,38,0)
;;=2861001^11^960^11^1^i
;;^UTILITY(U,$J,399.5,39,0)
;;=2861001^11^240^142^1^i
;;^UTILITY(U,$J,399.5,40,0)
;;=2861001^7^500^69^1^iop
;;^UTILITY(U,$J,399.5,41,0)
;;=2861001^8^250^13^1^iop
;;^UTILITY(U,$J,399.5,42,0)
;;=2871001^3^1^473^1^opc
;;^UTILITY(U,$J,399.5,43,0)
;;=2871001^3^101^266^1^i
;;^UTILITY(U,$J,399.5,44,0)
;;=2871001^3^960^91^1^i
;;^UTILITY(U,$J,399.5,45,0)
;;=2871001^3^240^116^1^i
;;^UTILITY(U,$J,399.5,46,0)
;;=2871001^12^1^611^1^opc
;;^UTILITY(U,$J,399.5,47,0)
;;=2871001^12^101^337^1^i
;;^UTILITY(U,$J,399.5,48,0)
;;=2871001^12^960^114^1^i
;;^UTILITY(U,$J,399.5,49,0)
;;=2871001^12^240^160^1^i
;;^UTILITY(U,$J,399.5,50,0)
;;=2871001^9^1^236^1^opc
;;^UTILITY(U,$J,399.5,51,0)
;;=2871001^9^101^168^1^i
;;^UTILITY(U,$J,399.5,52,0)
;;=2871001^9^960^32^1^i
;;^UTILITY(U,$J,399.5,53,0)
;;=2871001^9^240^36^1^i
;;^UTILITY(U,$J,399.5,54,0)
;;=2871001^4^1^190^1^opc
;;^UTILITY(U,$J,399.5,55,0)
;;=2871001^4^101^137^1^i
;;^UTILITY(U,$J,399.5,56,0)
;;=2871001^4^960^27^1^i
;;^UTILITY(U,$J,399.5,57,0)
;;=2871001^4^240^26^1^i
;;^UTILITY(U,$J,399.5,58,0)
;;=2871001^5^1^393^1^opc
;;^UTILITY(U,$J,399.5,59,0)
;;=2871001^5^101^219^1^i
;;^UTILITY(U,$J,399.5,60,0)
;;=2871001^5^960^49^1^i
;;^UTILITY(U,$J,399.5,61,0)
;;=2871001^5^240^125^1^i
;;^UTILITY(U,$J,399.5,62,0)
;;=2871001^10^1^372^1^opc
;;^UTILITY(U,$J,399.5,63,0)
;;=2871001^10^101^215^1^i
;;^UTILITY(U,$J,399.5,64,0)
;;=2871001^10^960^44^1^i
IBINI0C0 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(399.5)
QUIT
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,399.5)
+2 ;;=^DGCR(399.5,
+3 ;;^UTILITY(U,$J,399.5,0)
+4 ;;=BILLING RATES^399.5ID^378^378
+5 ;;^UTILITY(U,$J,399.5,1,0)
+6 ;;=2861001^3^1^436^1^opc
+7 ;;^UTILITY(U,$J,399.5,2,0)
+8 ;;=2861001^3^101^286^1^i
+9 ;;^UTILITY(U,$J,399.5,3,0)
+10 ;;=2861001^3^960^48^1^i
+11 ;;^UTILITY(U,$J,399.5,4,0)
+12 ;;=2861001^3^240^102^1^i
+13 ;;^UTILITY(U,$J,399.5,5,0)
+14 ;;=2861001^12^1^508^1^opc
+15 ;;^UTILITY(U,$J,399.5,6,0)
+16 ;;=2861001^12^101^330^1^i
+17 ;;^UTILITY(U,$J,399.5,7,0)
+18 ;;=2861001^12^960^64^1^i
+19 ;;^UTILITY(U,$J,399.5,8,0)
+20 ;;=2861001^12^240^114^1^i
+21 ;;^UTILITY(U,$J,399.5,9,0)
+22 ;;=2861001^9^1^323^1^opc
+23 ;;^UTILITY(U,$J,399.5,10,0)
+24 ;;=2861001^9^101^249^1^i
+25 ;;^UTILITY(U,$J,399.5,11,0)
+26 ;;=2861001^9^960^23^1^i
+27 ;;^UTILITY(U,$J,399.5,12,0)
+28 ;;=2861001^9^240^51^1^i
+29 ;;^UTILITY(U,$J,399.5,13,0)
+30 ;;=2861001^4^1^197^1^opc
+31 ;;^UTILITY(U,$J,399.5,14,0)
+32 ;;=2861001^4^101^161^1^i
+33 ;;^UTILITY(U,$J,399.5,15,0)
+34 ;;=2861001^4^960^11^1^i
+35 ;;^UTILITY(U,$J,399.5,16,0)
+36 ;;=2861001^4^240^25^1^i
+37 ;;^UTILITY(U,$J,399.5,17,0)
+38 ;;=2861001^5^1^378^1^opc
+39 ;;^UTILITY(U,$J,399.5,18,0)
+40 ;;=2861001^5^101^250^1^i
+41 ;;^UTILITY(U,$J,399.5,19,0)
+42 ;;=2861001^5^960^12^1^i
+43 ;;^UTILITY(U,$J,399.5,20,0)
+44 ;;=2861001^10^1^344^1^opc
+45 ;;^UTILITY(U,$J,399.5,21,0)
+46 ;;=2861001^10^101^234^1^i
+47 ;;^UTILITY(U,$J,399.5,22,0)
+48 ;;=2861001^10^960^7^1^i
+49 ;;^UTILITY(U,$J,399.5,23,0)
+50 ;;=2861001^10^240^103^1^i
+51 ;;^UTILITY(U,$J,399.5,24,0)
+52 ;;=2861001^1^1^121^1^opc
+53 ;;^UTILITY(U,$J,399.5,25,0)
+54 ;;=2861001^1^101^82^1^i
+55 ;;^UTILITY(U,$J,399.5,26,0)
+56 ;;=2861001^1^960^14^1^i
+57 ;;^UTILITY(U,$J,399.5,27,0)
+58 ;;=2861001^1^240^25^1^i
+59 ;;^UTILITY(U,$J,399.5,28,0)
+60 ;;=2861001^2^1^485^1^opc
+61 ;;^UTILITY(U,$J,399.5,29,0)
+62 ;;=2861001^2^101^227^1^i
+63 ;;^UTILITY(U,$J,399.5,30,0)
+64 ;;=2861001^2^960^13^1^i
+65 ;;^UTILITY(U,$J,399.5,31,0)
+66 ;;=2861001^2^240^245^1^i
+67 ;;^UTILITY(U,$J,399.5,32,0)
+68 ;;=2861001^6^1^167^1^opc
+69 ;;^UTILITY(U,$J,399.5,33,0)
+70 ;;=2861001^6^101^141^1^i
+71 ;;^UTILITY(U,$J,399.5,34,0)
+72 ;;=2861001^6^960^4^1^i
+73 ;;^UTILITY(U,$J,399.5,35,0)
+74 ;;=2861001^6^240^22^1^i
+75 ;;^UTILITY(U,$J,399.5,36,0)
+76 ;;=2861001^11^1^501^1^opc
+77 ;;^UTILITY(U,$J,399.5,37,0)
+78 ;;=2861001^11^101^348^1^i
+79 ;;^UTILITY(U,$J,399.5,38,0)
+80 ;;=2861001^11^960^11^1^i
+81 ;;^UTILITY(U,$J,399.5,39,0)
+82 ;;=2861001^11^240^142^1^i
+83 ;;^UTILITY(U,$J,399.5,40,0)
+84 ;;=2861001^7^500^69^1^iop
+85 ;;^UTILITY(U,$J,399.5,41,0)
+86 ;;=2861001^8^250^13^1^iop
+87 ;;^UTILITY(U,$J,399.5,42,0)
+88 ;;=2871001^3^1^473^1^opc
+89 ;;^UTILITY(U,$J,399.5,43,0)
+90 ;;=2871001^3^101^266^1^i
+91 ;;^UTILITY(U,$J,399.5,44,0)
+92 ;;=2871001^3^960^91^1^i
+93 ;;^UTILITY(U,$J,399.5,45,0)
+94 ;;=2871001^3^240^116^1^i
+95 ;;^UTILITY(U,$J,399.5,46,0)
+96 ;;=2871001^12^1^611^1^opc
+97 ;;^UTILITY(U,$J,399.5,47,0)
+98 ;;=2871001^12^101^337^1^i
+99 ;;^UTILITY(U,$J,399.5,48,0)
+100 ;;=2871001^12^960^114^1^i
+101 ;;^UTILITY(U,$J,399.5,49,0)
+102 ;;=2871001^12^240^160^1^i
+103 ;;^UTILITY(U,$J,399.5,50,0)
+104 ;;=2871001^9^1^236^1^opc
+105 ;;^UTILITY(U,$J,399.5,51,0)
+106 ;;=2871001^9^101^168^1^i
+107 ;;^UTILITY(U,$J,399.5,52,0)
+108 ;;=2871001^9^960^32^1^i
+109 ;;^UTILITY(U,$J,399.5,53,0)
+110 ;;=2871001^9^240^36^1^i
+111 ;;^UTILITY(U,$J,399.5,54,0)
+112 ;;=2871001^4^1^190^1^opc
+113 ;;^UTILITY(U,$J,399.5,55,0)
+114 ;;=2871001^4^101^137^1^i
+115 ;;^UTILITY(U,$J,399.5,56,0)
+116 ;;=2871001^4^960^27^1^i
+117 ;;^UTILITY(U,$J,399.5,57,0)
+118 ;;=2871001^4^240^26^1^i
+119 ;;^UTILITY(U,$J,399.5,58,0)
+120 ;;=2871001^5^1^393^1^opc
+121 ;;^UTILITY(U,$J,399.5,59,0)
+122 ;;=2871001^5^101^219^1^i
+123 ;;^UTILITY(U,$J,399.5,60,0)
+124 ;;=2871001^5^960^49^1^i
+125 ;;^UTILITY(U,$J,399.5,61,0)
+126 ;;=2871001^5^240^125^1^i
+127 ;;^UTILITY(U,$J,399.5,62,0)
+128 ;;=2871001^10^1^372^1^opc
+129 ;;^UTILITY(U,$J,399.5,63,0)
+130 ;;=2871001^10^101^215^1^i
+131 ;;^UTILITY(U,$J,399.5,64,0)
+132 ;;=2871001^10^960^44^1^i