IBINI08O ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(357.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,357.91)
;;=^IBE(357.91,
;;^UTILITY(U,$J,357.91,0)
;;=MARKING AREA TYPE^357.91^14^14
;;^UTILITY(U,$J,357.91,1,0)
;;=( )^( )^1^
;;^UTILITY(U,$J,357.91,2,0)
;;=_^_^1^
;;^UTILITY(U,$J,357.91,3,0)
;;=SPACE^ ^1^
;;^UTILITY(U,$J,357.91,4,0)
;;=BLANK^^1^
;;^UTILITY(U,$J,357.91,5,0)
;;=TWO SPACES^ ^1^
;;^UTILITY(U,$J,357.91,6,0)
;;=__ yes^__ yes^1^
;;^UTILITY(U,$J,357.91,7,0)
;;=__ no^__ no^1^
;;^UTILITY(U,$J,357.91,8,0)
;;=THREE SPACES^ ^1^
;;^UTILITY(U,$J,357.91,9,0)
;;=__^__^1^
;;^UTILITY(U,$J,357.91,10,0)
;;=(P) (S)^(P) (S)^1^
;;^UTILITY(U,$J,357.91,11,0)
;;=(Y)^(Y)^1^
;;^UTILITY(U,$J,357.91,12,0)
;;=(A) (I) (H)^(A) (I) (H)^1^
;;^UTILITY(U,$J,357.91,13,0)
;;=5 SPACES^ ^1^
;;^UTILITY(U,$J,357.91,14,0)
;;=(A) (I)^(A) (I)^1
IBINI08O ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(357.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,357.91)
+2 ;;=^IBE(357.91,
+3 ;;^UTILITY(U,$J,357.91,0)
+4 ;;=MARKING AREA TYPE^357.91^14^14
+5 ;;^UTILITY(U,$J,357.91,1,0)
+6 ;;=( )^( )^1^
+7 ;;^UTILITY(U,$J,357.91,2,0)
+8 ;;=_^_^1^
+9 ;;^UTILITY(U,$J,357.91,3,0)
+10 ;;=SPACE^ ^1^
+11 ;;^UTILITY(U,$J,357.91,4,0)
+12 ;;=BLANK^^1^
+13 ;;^UTILITY(U,$J,357.91,5,0)
+14 ;;=TWO SPACES^ ^1^
+15 ;;^UTILITY(U,$J,357.91,6,0)
+16 ;;=__ yes^__ yes^1^
+17 ;;^UTILITY(U,$J,357.91,7,0)
+18 ;;=__ no^__ no^1^
+19 ;;^UTILITY(U,$J,357.91,8,0)
+20 ;;=THREE SPACES^ ^1^
+21 ;;^UTILITY(U,$J,357.91,9,0)
+22 ;;=__^__^1^
+23 ;;^UTILITY(U,$J,357.91,10,0)
+24 ;;=(P) (S)^(P) (S)^1^
+25 ;;^UTILITY(U,$J,357.91,11,0)
+26 ;;=(Y)^(Y)^1^
+27 ;;^UTILITY(U,$J,357.91,12,0)
+28 ;;=(A) (I) (H)^(A) (I) (H)^1^
+29 ;;^UTILITY(U,$J,357.91,13,0)
+30 ;;=5 SPACES^ ^1^
+31 ;;^UTILITY(U,$J,357.91,14,0)
+32 ;;=(A) (I)^(A) (I)^1