IBDEI00Q ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(358.4) 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.4)
;;=^IBE(358.4,
;;^UTILITY(U,$J,358.4,0)
;;=IMP/EXP SELECTION GROUP^358.4I^41^34
;;^UTILITY(U,$J,358.4,1,0)
;;=OTHER^99.99^1
;;^UTILITY(U,$J,358.4,2,0)
;;=BLANK^0^1
;;^UTILITY(U,$J,358.4,3,0)
;;=OTHER^99.99^2
;;^UTILITY(U,$J,358.4,4,0)
;;=BLANK^0^2
;;^UTILITY(U,$J,358.4,5,0)
;;=OTHER^99.99^3
;;^UTILITY(U,$J,358.4,6,0)
;;=BLANK^0^3
;;^UTILITY(U,$J,358.4,7,0)
;;=NEW PATIENT^1^4
;;^UTILITY(U,$J,358.4,8,0)
;;=ESTABLISHED PATIENT^2^4
;;^UTILITY(U,$J,358.4,9,0)
;;=CONSULTATIONS^3^4
;;^UTILITY(U,$J,358.4,14,0)
;;=OTHER^99.99^7
;;^UTILITY(U,$J,358.4,15,0)
;;=BLANK^0^7
;;^UTILITY(U,$J,358.4,16,0)
;;=OTHER^99.99^8
;;^UTILITY(U,$J,358.4,17,0)
;;=BLANK^0^8
;;^UTILITY(U,$J,358.4,18,0)
;;=NEW PATIENT^1^9
;;^UTILITY(U,$J,358.4,19,0)
;;=ESTABLISHED PATIENT^2^9
;;^UTILITY(U,$J,358.4,20,0)
;;=CONSULTATIONS^3^9
;;^UTILITY(U,$J,358.4,21,0)
;;=OTHER^99.99^10
;;^UTILITY(U,$J,358.4,22,0)
;;=BLANK^0^10
;;^UTILITY(U,$J,358.4,23,0)
;;=BLANK^0^13
;;^UTILITY(U,$J,358.4,24,0)
;;=NEW PATIENT^1^14
;;^UTILITY(U,$J,358.4,25,0)
;;=ESTABLISHED PATIENT^2^14
;;^UTILITY(U,$J,358.4,26,0)
;;=CONSULTATIONS^3^14
;;^UTILITY(U,$J,358.4,27,0)
;;=BLANK^0^16
;;^UTILITY(U,$J,358.4,28,0)
;;=OTHER^99.9^16
;;^UTILITY(U,$J,358.4,29,0)
;;=BLANK^0^18
;;^UTILITY(U,$J,358.4,30,0)
;;=BLANK^0^19
;;^UTILITY(U,$J,358.4,31,0)
;;=NEW PATIENT^1^21
;;^UTILITY(U,$J,358.4,32,0)
;;=ESTABLISHED PATIENT^2^21
;;^UTILITY(U,$J,358.4,33,0)
;;=CONSULTATIONS^3^21
;;^UTILITY(U,$J,358.4,37,0)
;;=BLANK^0^23
;;^UTILITY(U,$J,358.4,38,0)
;;=OTHER^99.99^24
;;^UTILITY(U,$J,358.4,39,0)
;;=BLANK^0^24
;;^UTILITY(U,$J,358.4,40,0)
;;=OTHER^99.99^25
;;^UTILITY(U,$J,358.4,41,0)
;;=BLANK^0^25
IBDEI00Q ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(358.4)
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.4)
+2 ;;=^IBE(358.4,
+3 ;;^UTILITY(U,$J,358.4,0)
+4 ;;=IMP/EXP SELECTION GROUP^358.4I^41^34
+5 ;;^UTILITY(U,$J,358.4,1,0)
+6 ;;=OTHER^99.99^1
+7 ;;^UTILITY(U,$J,358.4,2,0)
+8 ;;=BLANK^0^1
+9 ;;^UTILITY(U,$J,358.4,3,0)
+10 ;;=OTHER^99.99^2
+11 ;;^UTILITY(U,$J,358.4,4,0)
+12 ;;=BLANK^0^2
+13 ;;^UTILITY(U,$J,358.4,5,0)
+14 ;;=OTHER^99.99^3
+15 ;;^UTILITY(U,$J,358.4,6,0)
+16 ;;=BLANK^0^3
+17 ;;^UTILITY(U,$J,358.4,7,0)
+18 ;;=NEW PATIENT^1^4
+19 ;;^UTILITY(U,$J,358.4,8,0)
+20 ;;=ESTABLISHED PATIENT^2^4
+21 ;;^UTILITY(U,$J,358.4,9,0)
+22 ;;=CONSULTATIONS^3^4
+23 ;;^UTILITY(U,$J,358.4,14,0)
+24 ;;=OTHER^99.99^7
+25 ;;^UTILITY(U,$J,358.4,15,0)
+26 ;;=BLANK^0^7
+27 ;;^UTILITY(U,$J,358.4,16,0)
+28 ;;=OTHER^99.99^8
+29 ;;^UTILITY(U,$J,358.4,17,0)
+30 ;;=BLANK^0^8
+31 ;;^UTILITY(U,$J,358.4,18,0)
+32 ;;=NEW PATIENT^1^9
+33 ;;^UTILITY(U,$J,358.4,19,0)
+34 ;;=ESTABLISHED PATIENT^2^9
+35 ;;^UTILITY(U,$J,358.4,20,0)
+36 ;;=CONSULTATIONS^3^9
+37 ;;^UTILITY(U,$J,358.4,21,0)
+38 ;;=OTHER^99.99^10
+39 ;;^UTILITY(U,$J,358.4,22,0)
+40 ;;=BLANK^0^10
+41 ;;^UTILITY(U,$J,358.4,23,0)
+42 ;;=BLANK^0^13
+43 ;;^UTILITY(U,$J,358.4,24,0)
+44 ;;=NEW PATIENT^1^14
+45 ;;^UTILITY(U,$J,358.4,25,0)
+46 ;;=ESTABLISHED PATIENT^2^14
+47 ;;^UTILITY(U,$J,358.4,26,0)
+48 ;;=CONSULTATIONS^3^14
+49 ;;^UTILITY(U,$J,358.4,27,0)
+50 ;;=BLANK^0^16
+51 ;;^UTILITY(U,$J,358.4,28,0)
+52 ;;=OTHER^99.9^16
+53 ;;^UTILITY(U,$J,358.4,29,0)
+54 ;;=BLANK^0^18
+55 ;;^UTILITY(U,$J,358.4,30,0)
+56 ;;=BLANK^0^19
+57 ;;^UTILITY(U,$J,358.4,31,0)
+58 ;;=NEW PATIENT^1^21
+59 ;;^UTILITY(U,$J,358.4,32,0)
+60 ;;=ESTABLISHED PATIENT^2^21
+61 ;;^UTILITY(U,$J,358.4,33,0)
+62 ;;=CONSULTATIONS^3^21
+63 ;;^UTILITY(U,$J,358.4,37,0)
+64 ;;=BLANK^0^23
+65 ;;^UTILITY(U,$J,358.4,38,0)
+66 ;;=OTHER^99.99^24
+67 ;;^UTILITY(U,$J,358.4,39,0)
+68 ;;=BLANK^0^24
+69 ;;^UTILITY(U,$J,358.4,40,0)
+70 ;;=OTHER^99.99^25
+71 ;;^UTILITY(U,$J,358.4,41,0)
+72 ;;=BLANK^0^25