IBINI08Q ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(357.92) 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,357.92)
;;=^IBE(357.92,
;;^UTILITY(U,$J,357.92,0)
;;=PRINT CONDITIONS^357.92^3^3
;;^UTILITY(U,$J,357.92,1,0)
;;=FOR EVERY APPOINTMENT
;;^UTILITY(U,$J,357.92,2,0)
;;=ONLY FOR EARLIEST APPOINTMENT
;;^UTILITY(U,$J,357.92,3,0)
;;=ONLY IF MULTIPLE APPOINTMENTS
IBINI08Q ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(357.92)
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,357.92)
+2 ;;=^IBE(357.92,
+3 ;;^UTILITY(U,$J,357.92,0)
+4 ;;=PRINT CONDITIONS^357.92^3^3
+5 ;;^UTILITY(U,$J,357.92,1,0)
+6 ;;=FOR EVERY APPOINTMENT
+7 ;;^UTILITY(U,$J,357.92,2,0)
+8 ;;=ONLY FOR EARLIEST APPOINTMENT
+9 ;;^UTILITY(U,$J,357.92,3,0)
+10 ;;=ONLY IF MULTIPLE APPOINTMENTS