IBDEI00L ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(358.3) 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,358.3)
;;=^IBE(358.3,
;;^UTILITY(U,$J,358.3,0)
;;=IMP/EXP SELECTION^358.3I^60^60
;;^UTILITY(U,$J,358.3,1,0)
;;=99201^^4^7^1
;;^UTILITY(U,$J,358.3,1,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,1,1,1,0)
;;=1^Brief Visit (1-15 Min)
;;^UTILITY(U,$J,358.3,1,1,2,0)
;;=2^99201
;;^UTILITY(U,$J,358.3,2,0)
;;=99202^^4^7^2
;;^UTILITY(U,$J,358.3,2,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,2,1,1,0)
;;=1^Limited Exam (16-25 Min)
;;^UTILITY(U,$J,358.3,2,1,2,0)
;;=2^99202
;;^UTILITY(U,$J,358.3,3,0)
;;=99203^^4^7^3
;;^UTILITY(U,$J,358.3,3,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,3,1,1,0)
;;=1^Intermediate Exam (26-35 Min)
;;^UTILITY(U,$J,358.3,3,1,2,0)
;;=2^99203
;;^UTILITY(U,$J,358.3,4,0)
;;=99204^^4^7^4
;;^UTILITY(U,$J,358.3,4,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,4,1,1,0)
;;=1^Extended Exam (36-50 Min)
;;^UTILITY(U,$J,358.3,4,1,2,0)
;;=2^99204
;;^UTILITY(U,$J,358.3,5,0)
;;=99205^^4^7^5
;;^UTILITY(U,$J,358.3,5,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,5,1,1,0)
;;=1^Comprehensive Exam (51-60+ Min)
;;^UTILITY(U,$J,358.3,5,1,2,0)
;;=2^99205
;;^UTILITY(U,$J,358.3,6,0)
;;=99211^^4^8^1
;;^UTILITY(U,$J,358.3,6,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,6,1,1,0)
;;=1^Brief Exam (1-5 Min)
;;^UTILITY(U,$J,358.3,6,1,2,0)
;;=2^99211
;;^UTILITY(U,$J,358.3,7,0)
;;=99212^^4^8^2
;;^UTILITY(U,$J,358.3,7,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,7,1,1,0)
;;=1^Limited Exam (6-10 Min)
;;^UTILITY(U,$J,358.3,7,1,2,0)
;;=2^99212
;;^UTILITY(U,$J,358.3,8,0)
;;=99213^^4^8^3
;;^UTILITY(U,$J,358.3,8,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,8,1,1,0)
;;=1^Intermediate Exam (11-19 Min)
;;^UTILITY(U,$J,358.3,8,1,2,0)
;;=2^99213
;;^UTILITY(U,$J,358.3,9,0)
;;=99214^^4^8^4
;;^UTILITY(U,$J,358.3,9,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,9,1,1,0)
;;=1^Extended Exam (20-30 Min)
;;^UTILITY(U,$J,358.3,9,1,2,0)
;;=2^99214
;;^UTILITY(U,$J,358.3,10,0)
;;=99215^^4^8^5
;;^UTILITY(U,$J,358.3,10,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,10,1,1,0)
;;=1^Comprehensive Exam (31-40+ Min)
;;^UTILITY(U,$J,358.3,10,1,2,0)
;;=2^99215
;;^UTILITY(U,$J,358.3,11,0)
;;=99241^^4^9^1
;;^UTILITY(U,$J,358.3,11,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,11,1,1,0)
;;=1^Brief Visit (1-20 Min)
;;^UTILITY(U,$J,358.3,11,1,2,0)
;;=2^99241
;;^UTILITY(U,$J,358.3,12,0)
;;=99242^^4^9^2
;;^UTILITY(U,$J,358.3,12,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,12,1,1,0)
;;=1^Limited Visit (21-35 Min)
;;^UTILITY(U,$J,358.3,12,1,2,0)
;;=2^99242
;;^UTILITY(U,$J,358.3,13,0)
;;=99243^^4^9^3
;;^UTILITY(U,$J,358.3,13,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,13,1,1,0)
;;=1^Intermediate Visit (35-50 Min)
;;^UTILITY(U,$J,358.3,13,1,2,0)
;;=2^99243
;;^UTILITY(U,$J,358.3,14,0)
;;=99244^^4^9^4
;;^UTILITY(U,$J,358.3,14,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,14,1,1,0)
;;=1^Extended Visit (51-60 Min)
;;^UTILITY(U,$J,358.3,14,1,2,0)
;;=2^99244
;;^UTILITY(U,$J,358.3,15,0)
;;=99245^^4^9^5
;;^UTILITY(U,$J,358.3,15,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,15,1,1,0)
;;=1^Comprehensive Visit (71-80+ Min)
;;^UTILITY(U,$J,358.3,15,1,2,0)
;;=2^99245
;;^UTILITY(U,$J,358.3,16,0)
;;=99201^^9^18^1
;;^UTILITY(U,$J,358.3,16,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,16,1,1,0)
;;=1^Brief Visit (1-15 Min)
;;^UTILITY(U,$J,358.3,16,1,2,0)
;;=2^99201
;;^UTILITY(U,$J,358.3,17,0)
;;=99202^^9^18^2
;;^UTILITY(U,$J,358.3,17,1,0)
;;=^357.31AI^2^2
;;^UTILITY(U,$J,358.3,17,1,1,0)
;;=1^Limited Exam (16-25 Min)
IBDEI00L ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(358.3)
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,358.3)
+2 ;;=^IBE(358.3,
+3 ;;^UTILITY(U,$J,358.3,0)
+4 ;;=IMP/EXP SELECTION^358.3I^60^60
+5 ;;^UTILITY(U,$J,358.3,1,0)
+6 ;;=99201^^4^7^1
+7 ;;^UTILITY(U,$J,358.3,1,1,0)
+8 ;;=^357.31AI^2^2
+9 ;;^UTILITY(U,$J,358.3,1,1,1,0)
+10 ;;=1^Brief Visit (1-15 Min)
+11 ;;^UTILITY(U,$J,358.3,1,1,2,0)
+12 ;;=2^99201
+13 ;;^UTILITY(U,$J,358.3,2,0)
+14 ;;=99202^^4^7^2
+15 ;;^UTILITY(U,$J,358.3,2,1,0)
+16 ;;=^357.31AI^2^2
+17 ;;^UTILITY(U,$J,358.3,2,1,1,0)
+18 ;;=1^Limited Exam (16-25 Min)
+19 ;;^UTILITY(U,$J,358.3,2,1,2,0)
+20 ;;=2^99202
+21 ;;^UTILITY(U,$J,358.3,3,0)
+22 ;;=99203^^4^7^3
+23 ;;^UTILITY(U,$J,358.3,3,1,0)
+24 ;;=^357.31AI^2^2
+25 ;;^UTILITY(U,$J,358.3,3,1,1,0)
+26 ;;=1^Intermediate Exam (26-35 Min)
+27 ;;^UTILITY(U,$J,358.3,3,1,2,0)
+28 ;;=2^99203
+29 ;;^UTILITY(U,$J,358.3,4,0)
+30 ;;=99204^^4^7^4
+31 ;;^UTILITY(U,$J,358.3,4,1,0)
+32 ;;=^357.31AI^2^2
+33 ;;^UTILITY(U,$J,358.3,4,1,1,0)
+34 ;;=1^Extended Exam (36-50 Min)
+35 ;;^UTILITY(U,$J,358.3,4,1,2,0)
+36 ;;=2^99204
+37 ;;^UTILITY(U,$J,358.3,5,0)
+38 ;;=99205^^4^7^5
+39 ;;^UTILITY(U,$J,358.3,5,1,0)
+40 ;;=^357.31AI^2^2
+41 ;;^UTILITY(U,$J,358.3,5,1,1,0)
+42 ;;=1^Comprehensive Exam (51-60+ Min)
+43 ;;^UTILITY(U,$J,358.3,5,1,2,0)
+44 ;;=2^99205
+45 ;;^UTILITY(U,$J,358.3,6,0)
+46 ;;=99211^^4^8^1
+47 ;;^UTILITY(U,$J,358.3,6,1,0)
+48 ;;=^357.31AI^2^2
+49 ;;^UTILITY(U,$J,358.3,6,1,1,0)
+50 ;;=1^Brief Exam (1-5 Min)
+51 ;;^UTILITY(U,$J,358.3,6,1,2,0)
+52 ;;=2^99211
+53 ;;^UTILITY(U,$J,358.3,7,0)
+54 ;;=99212^^4^8^2
+55 ;;^UTILITY(U,$J,358.3,7,1,0)
+56 ;;=^357.31AI^2^2
+57 ;;^UTILITY(U,$J,358.3,7,1,1,0)
+58 ;;=1^Limited Exam (6-10 Min)
+59 ;;^UTILITY(U,$J,358.3,7,1,2,0)
+60 ;;=2^99212
+61 ;;^UTILITY(U,$J,358.3,8,0)
+62 ;;=99213^^4^8^3
+63 ;;^UTILITY(U,$J,358.3,8,1,0)
+64 ;;=^357.31AI^2^2
+65 ;;^UTILITY(U,$J,358.3,8,1,1,0)
+66 ;;=1^Intermediate Exam (11-19 Min)
+67 ;;^UTILITY(U,$J,358.3,8,1,2,0)
+68 ;;=2^99213
+69 ;;^UTILITY(U,$J,358.3,9,0)
+70 ;;=99214^^4^8^4
+71 ;;^UTILITY(U,$J,358.3,9,1,0)
+72 ;;=^357.31AI^2^2
+73 ;;^UTILITY(U,$J,358.3,9,1,1,0)
+74 ;;=1^Extended Exam (20-30 Min)
+75 ;;^UTILITY(U,$J,358.3,9,1,2,0)
+76 ;;=2^99214
+77 ;;^UTILITY(U,$J,358.3,10,0)
+78 ;;=99215^^4^8^5
+79 ;;^UTILITY(U,$J,358.3,10,1,0)
+80 ;;=^357.31AI^2^2
+81 ;;^UTILITY(U,$J,358.3,10,1,1,0)
+82 ;;=1^Comprehensive Exam (31-40+ Min)
+83 ;;^UTILITY(U,$J,358.3,10,1,2,0)
+84 ;;=2^99215
+85 ;;^UTILITY(U,$J,358.3,11,0)
+86 ;;=99241^^4^9^1
+87 ;;^UTILITY(U,$J,358.3,11,1,0)
+88 ;;=^357.31AI^2^2
+89 ;;^UTILITY(U,$J,358.3,11,1,1,0)
+90 ;;=1^Brief Visit (1-20 Min)
+91 ;;^UTILITY(U,$J,358.3,11,1,2,0)
+92 ;;=2^99241
+93 ;;^UTILITY(U,$J,358.3,12,0)
+94 ;;=99242^^4^9^2
+95 ;;^UTILITY(U,$J,358.3,12,1,0)
+96 ;;=^357.31AI^2^2
+97 ;;^UTILITY(U,$J,358.3,12,1,1,0)
+98 ;;=1^Limited Visit (21-35 Min)
+99 ;;^UTILITY(U,$J,358.3,12,1,2,0)
+100 ;;=2^99242
+101 ;;^UTILITY(U,$J,358.3,13,0)
+102 ;;=99243^^4^9^3
+103 ;;^UTILITY(U,$J,358.3,13,1,0)
+104 ;;=^357.31AI^2^2
+105 ;;^UTILITY(U,$J,358.3,13,1,1,0)
+106 ;;=1^Intermediate Visit (35-50 Min)
+107 ;;^UTILITY(U,$J,358.3,13,1,2,0)
+108 ;;=2^99243
+109 ;;^UTILITY(U,$J,358.3,14,0)
+110 ;;=99244^^4^9^4
+111 ;;^UTILITY(U,$J,358.3,14,1,0)
+112 ;;=^357.31AI^2^2
+113 ;;^UTILITY(U,$J,358.3,14,1,1,0)
+114 ;;=1^Extended Visit (51-60 Min)
+115 ;;^UTILITY(U,$J,358.3,14,1,2,0)
+116 ;;=2^99244
+117 ;;^UTILITY(U,$J,358.3,15,0)
+118 ;;=99245^^4^9^5
+119 ;;^UTILITY(U,$J,358.3,15,1,0)
+120 ;;=^357.31AI^2^2
+121 ;;^UTILITY(U,$J,358.3,15,1,1,0)
+122 ;;=1^Comprehensive Visit (71-80+ Min)
+123 ;;^UTILITY(U,$J,358.3,15,1,2,0)
+124 ;;=2^99245
+125 ;;^UTILITY(U,$J,358.3,16,0)
+126 ;;=99201^^9^18^1
+127 ;;^UTILITY(U,$J,358.3,16,1,0)
+128 ;;=^357.31AI^2^2
+129 ;;^UTILITY(U,$J,358.3,16,1,1,0)
+130 ;;=1^Brief Visit (1-15 Min)
+131 ;;^UTILITY(U,$J,358.3,16,1,2,0)
+132 ;;=2^99201
+133 ;;^UTILITY(U,$J,358.3,17,0)
+134 ;;=99202^^9^18^2
+135 ;;^UTILITY(U,$J,358.3,17,1,0)
+136 ;;=^357.31AI^2^2
+137 ;;^UTILITY(U,$J,358.3,17,1,1,0)
+138 ;;=1^Limited Exam (16-25 Min)