IBINI09H ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(358.7) 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
;;^DD(358.7,.04,"DT")
;;=2930415
;;^DD(358.7,.05,0)
;;=LENGTH^RNJ3,0^^0;5^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358.7,.05,3)
;;=How long should the line be?
;;^DD(358.7,.05,21,0)
;;=^^3^3^2930527^
;;^DD(358.7,.05,21,1,0)
;;=
;;^DD(358.7,.05,21,2,0)
;;=The length of the line. For horizontal lines the length is in terms of
;;^DD(358.7,.05,21,3,0)
;;=characters. For vertical lines it is in terms of rows.
;;^DD(358.7,.05,"DT")
;;=2930319
;;^DD(358.7,.06,0)
;;=BLOCK^RP358.1'^IBE(358.1,^0;6^Q
;;^DD(358.7,.06,1,0)
;;=^.1
;;^DD(358.7,.06,1,1,0)
;;=358.7^C
;;^DD(358.7,.06,1,1,1)
;;=S ^IBE(358.7,"C",$E(X,1,30),DA)=""
;;^DD(358.7,.06,1,1,2)
;;=K ^IBE(358.7,"C",$E(X,1,30),DA)
;;^DD(358.7,.06,1,1,"%D",0)
;;=^^2^2^2930319^
;;^DD(358.7,.06,1,1,"%D",1,0)
;;=
;;^DD(358.7,.06,1,1,"%D",2,0)
;;=This cross-reference is used to find all lines belonging to a block.
;;^DD(358.7,.06,1,1,"DT")
;;=2930319
;;^DD(358.7,.06,3)
;;=What block should the line appear in?
;;^DD(358.7,.06,4)
;;=W "DOES THIS WORK",!
;;^DD(358.7,.06,21,0)
;;=^^2^2^2930802^^
;;^DD(358.7,.06,21,1,0)
;;=
;;^DD(358.7,.06,21,2,0)
;;=The block the line appears in.
;;^DD(358.7,.06,"DT")
;;=2930802
IBINI09H ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(358.7)
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 ;;^DD(358.7,.04,"DT")
+2 ;;=2930415
+3 ;;^DD(358.7,.05,0)
+4 ;;=LENGTH^RNJ3,0^^0;5^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
+5 ;;^DD(358.7,.05,3)
+6 ;;=How long should the line be?
+7 ;;^DD(358.7,.05,21,0)
+8 ;;=^^3^3^2930527^
+9 ;;^DD(358.7,.05,21,1,0)
+10 ;;=
+11 ;;^DD(358.7,.05,21,2,0)
+12 ;;=The length of the line. For horizontal lines the length is in terms of
+13 ;;^DD(358.7,.05,21,3,0)
+14 ;;=characters. For vertical lines it is in terms of rows.
+15 ;;^DD(358.7,.05,"DT")
+16 ;;=2930319
+17 ;;^DD(358.7,.06,0)
+18 ;;=BLOCK^RP358.1'^IBE(358.1,^0;6^Q
+19 ;;^DD(358.7,.06,1,0)
+20 ;;=^.1
+21 ;;^DD(358.7,.06,1,1,0)
+22 ;;=358.7^C
+23 ;;^DD(358.7,.06,1,1,1)
+24 ;;=S ^IBE(358.7,"C",$E(X,1,30),DA)=""
+25 ;;^DD(358.7,.06,1,1,2)
+26 ;;=K ^IBE(358.7,"C",$E(X,1,30),DA)
+27 ;;^DD(358.7,.06,1,1,"%D",0)
+28 ;;=^^2^2^2930319^
+29 ;;^DD(358.7,.06,1,1,"%D",1,0)
+30 ;;=
+31 ;;^DD(358.7,.06,1,1,"%D",2,0)
+32 ;;=This cross-reference is used to find all lines belonging to a block.
+33 ;;^DD(358.7,.06,1,1,"DT")
+34 ;;=2930319
+35 ;;^DD(358.7,.06,3)
+36 ;;=What block should the line appear in?
+37 ;;^DD(358.7,.06,4)
+38 ;;=W "DOES THIS WORK",!
+39 ;;^DD(358.7,.06,21,0)
+40 ;;=^^2^2^2930802^^
+41 ;;^DD(358.7,.06,21,1,0)
+42 ;;=
+43 ;;^DD(358.7,.06,21,2,0)
+44 ;;=The block the line appears in.
+45 ;;^DD(358.7,.06,"DT")
+46 ;;=2930802