IBINI038 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(352.1) 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,352.1)
;;=^IBE(352.1,
;;^UTILITY(U,$J,352.1,0)
;;=BILLABLE APPOINTMENT TYPE^352.1I^10^10
;;^UTILITY(U,$J,352.1,1,0)
;;=1^1^2880101^1^0^0
;;^UTILITY(U,$J,352.1,2,0)
;;=2^2^2880101^1^0^1
;;^UTILITY(U,$J,352.1,3,0)
;;=3^3^2880101^1^1^0
;;^UTILITY(U,$J,352.1,4,0)
;;=4^4^2880101^1^0^1
;;^UTILITY(U,$J,352.1,5,0)
;;=5^5^2880101^1^0^0
;;^UTILITY(U,$J,352.1,6,0)
;;=6^6^2880101^1^0^0
;;^UTILITY(U,$J,352.1,7,0)
;;=7^7^2880101^1^0^1
;;^UTILITY(U,$J,352.1,8,0)
;;=8^8^2880101^1^0^0
;;^UTILITY(U,$J,352.1,9,0)
;;=9^9^2880101^0^1^1
;;^UTILITY(U,$J,352.1,10,0)
;;=10^10^2880101^1^1^1
IBINI038 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(352.1)
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,352.1)
+2 ;;=^IBE(352.1,
+3 ;;^UTILITY(U,$J,352.1,0)
+4 ;;=BILLABLE APPOINTMENT TYPE^352.1I^10^10
+5 ;;^UTILITY(U,$J,352.1,1,0)
+6 ;;=1^1^2880101^1^0^0
+7 ;;^UTILITY(U,$J,352.1,2,0)
+8 ;;=2^2^2880101^1^0^1
+9 ;;^UTILITY(U,$J,352.1,3,0)
+10 ;;=3^3^2880101^1^1^0
+11 ;;^UTILITY(U,$J,352.1,4,0)
+12 ;;=4^4^2880101^1^0^1
+13 ;;^UTILITY(U,$J,352.1,5,0)
+14 ;;=5^5^2880101^1^0^0
+15 ;;^UTILITY(U,$J,352.1,6,0)
+16 ;;=6^6^2880101^1^0^0
+17 ;;^UTILITY(U,$J,352.1,7,0)
+18 ;;=7^7^2880101^1^0^1
+19 ;;^UTILITY(U,$J,352.1,8,0)
+20 ;;=8^8^2880101^1^0^0
+21 ;;^UTILITY(U,$J,352.1,9,0)
+22 ;;=9^9^2880101^0^1^1
+23 ;;^UTILITY(U,$J,352.1,10,0)
+24 ;;=10^10^2880101^1^1^1