IBDEI01X ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(358.91) 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.91)
;;=^IBE(358.91,
;;^UTILITY(U,$J,358.91,0)
;;=IMP/EXP MARKING AREA^358.91^7^7
;;^UTILITY(U,$J,358.91,1,0)
;;=TWO SPACES^
;;^UTILITY(U,$J,358.91,2,0)
;;=__^__^1^
;;^UTILITY(U,$J,358.91,3,0)
;;=(P) (S)^(P) (S)^1^
;;^UTILITY(U,$J,358.91,4,0)
;;=(A) (I)^(A) (I)^1
;;^UTILITY(U,$J,358.91,5,0)
;;=(Y)^(Y)^1^
;;^UTILITY(U,$J,358.91,6,0)
;;=__ yes^__ yes^1^
;;^UTILITY(U,$J,358.91,7,0)
;;=__ no^__ no^1^
IBDEI01X ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(358.91)
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.91)
+2 ;;=^IBE(358.91,
+3 ;;^UTILITY(U,$J,358.91,0)
+4 ;;=IMP/EXP MARKING AREA^358.91^7^7
+5 ;;^UTILITY(U,$J,358.91,1,0)
+6 ;;=TWO SPACES^
+7 ;;^UTILITY(U,$J,358.91,2,0)
+8 ;;=__^__^1^
+9 ;;^UTILITY(U,$J,358.91,3,0)
+10 ;;=(P) (S)^(P) (S)^1^
+11 ;;^UTILITY(U,$J,358.91,4,0)
+12 ;;=(A) (I)^(A) (I)^1
+13 ;;^UTILITY(U,$J,358.91,5,0)
+14 ;;=(Y)^(Y)^1^
+15 ;;^UTILITY(U,$J,358.91,6,0)
+16 ;;=__ yes^__ yes^1^
+17 ;;^UTILITY(U,$J,358.91,7,0)
+18 ;;=__ no^__ no^1^