IBDEI005 ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(358.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
;;^DD(358.1,.05,23,2,0)
;;=starts at 1. The difference is because for computing the form image
;;^DD(358.1,.05,23,3,0)
;;=it is convenient to work with displacements from the top left-hand
;;^DD(358.1,.05,23,4,0)
;;=corner. However, users do not want to work with row=0 or column=0.
;;^DD(358.1,.05,"DT")
;;=2930715
;;^DD(358.1,.06,0)
;;=WIDTH IN CHARACTERS^RNJ3,0^^0;6^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358.1,.06,.1)
;;=HOW MANY CHARACTERS WIDE SHOULD THE BLOCK BE?
;;^DD(358.1,.06,3)
;;=How many characters wide should this block be?
;;^DD(358.1,.06,21,0)
;;=^^2^2^2930527^
;;^DD(358.1,.06,21,1,0)
;;=
;;^DD(358.1,.06,21,2,0)
;;=The width of the block, measured in the number of characters across.
;;^DD(358.1,.06,"DT")
;;=2930415
;;^DD(358.1,.07,0)
;;=HEIGHT IN LINES^RNJ3,0^^0;7^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358.1,.07,.1)
;;=HOW MANY LINES HIGH SHOULD THE BLOCK BE?
;;^DD(358.1,.07,3)
;;=How many lines high should this block be?
;;^DD(358.1,.07,21,0)
;;=^^2^2^2930527^
;;^DD(358.1,.07,21,1,0)
;;=
;;^DD(358.1,.07,21,2,0)
;;=The height of the block, measured by the number of lines it takes up.
;;^DD(358.1,.07,"DT")
;;=2930415
;;^DD(358.1,.1,0)
;;=OUTLINE TYPE^RS^1:SOLID LINE;2:INVISIBLE;^0;10^Q
;;^DD(358.1,.1,.1)
;;=OUTLINE TYPE (SOLID/INVISIBLE)
;;^DD(358.1,.1,3)
;;=Enter '1' if the block should have a box around it, '2' if not.
;;^DD(358.1,.1,21,0)
;;=^^2^2^2930527^
;;^DD(358.1,.1,21,1,0)
;;=
;;^DD(358.1,.1,21,2,0)
;;=How the block is outlined on the form.
;;^DD(358.1,.1,"DT")
;;=2930415
;;^DD(358.1,.11,0)
;;=BLOCK HEADER^F^^0;11^K:$L(X)>60!($L(X)<1) X
;;^DD(358.1,.11,.1)
;;=WHAT HEADER WOULD SHOULD APPEAR AT THE TOP OF THE BLOCK? (OPTIONAL)
;;^DD(358.1,.11,3)
;;=What text should appear at the top of the block?
;;^DD(358.1,.11,21,0)
;;=^^2^2^2930527^
;;^DD(358.1,.11,21,1,0)
;;=
;;^DD(358.1,.11,21,2,0)
;;=The text appearing at the top of the block.
;;^DD(358.1,.11,"DT")
;;=2930415
;;^DD(358.1,.12,0)
;;=HEADER APPEARANCE^FX^^0;12^S X=$$UPPER^VALM1(X) K:$L(X)>3!("UBC"'[$E(X,1))!("UBC"'[$E(X,2))!("UBC"'[$E(X,3)) X
;;^DD(358.1,.12,.1)
;;=HOW SHOULD THE BLOCK HEADER APPEAR? CHOOSE FROM {U,B,C}
;;^DD(358.1,.12,3)
;;=B=bold, U=underline, C=center. You can enter any combination of {B,U,C}.
;;^DD(358.1,.12,21,0)
;;=^^2^2^2930607^
;;^DD(358.1,.12,21,1,0)
;;=
;;^DD(358.1,.12,21,2,0)
;;=A description of the block's contents and use.
;;^DD(358.1,.12,"DT")
;;=2930616
;;^DD(358.1,.13,0)
;;=BRIEF DESCRIPTION^RF^^0;13^K:$L(X)>80!($L(X)<1) X
;;^DD(358.1,.13,.1)
;;=ENTER A BRIEF DESCRIPTION OF THE USE & CONTENTS OF THE BLOCK
;;^DD(358.1,.13,3)
;;=Answer must be 1-80 characters in length.
;;^DD(358.1,.13,21,0)
;;=^^2^2^2930607^
;;^DD(358.1,.13,21,1,0)
;;=
;;^DD(358.1,.13,21,2,0)
;;=A brief description of the contents or use of the block.
;;^DD(358.1,.13,"DT")
;;=2930415
;;^DD(358.1,.14,0)
;;=TOOL KIT ORDER^NJ6,2^^0;14^K:+X'=X!(X>999.99)!(X<0)!(X?.E1"."3N.N) X
;;^DD(358.1,.14,1,0)
;;=^.1
;;^DD(358.1,.14,1,1,0)
;;=358.1^D
;;^DD(358.1,.14,1,1,1)
;;=S ^IBE(358.1,"D",$E(X,1,30),DA)=""
;;^DD(358.1,.14,1,1,2)
;;=K ^IBE(358.1,"D",$E(X,1,30),DA)
;;^DD(358.1,.14,1,1,"%D",0)
;;=^^2^2^2930108^
;;^DD(358.1,.14,1,1,"%D",1,0)
;;=This index is used to locate all the 'tool box' blocs that can be used
;;^DD(358.1,.14,1,1,"%D",2,0)
;;=as templates to create a new block to be added to a form.
;;^DD(358.1,.14,1,1,"DT")
;;=2930108
;;^DD(358.1,.14,3)
;;=Enter a numeric value >0 if this block is part of the tool kit. The number will determine its listed order.
IBDEI005 ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(358.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 ;;^DD(358.1,.05,23,2,0)
+2 ;;=starts at 1. The difference is because for computing the form image
+3 ;;^DD(358.1,.05,23,3,0)
+4 ;;=it is convenient to work with displacements from the top left-hand
+5 ;;^DD(358.1,.05,23,4,0)
+6 ;;=corner. However, users do not want to work with row=0 or column=0.
+7 ;;^DD(358.1,.05,"DT")
+8 ;;=2930715
+9 ;;^DD(358.1,.06,0)
+10 ;;=WIDTH IN CHARACTERS^RNJ3,0^^0;6^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
+11 ;;^DD(358.1,.06,.1)
+12 ;;=HOW MANY CHARACTERS WIDE SHOULD THE BLOCK BE?
+13 ;;^DD(358.1,.06,3)
+14 ;;=How many characters wide should this block be?
+15 ;;^DD(358.1,.06,21,0)
+16 ;;=^^2^2^2930527^
+17 ;;^DD(358.1,.06,21,1,0)
+18 ;;=
+19 ;;^DD(358.1,.06,21,2,0)
+20 ;;=The width of the block, measured in the number of characters across.
+21 ;;^DD(358.1,.06,"DT")
+22 ;;=2930415
+23 ;;^DD(358.1,.07,0)
+24 ;;=HEIGHT IN LINES^RNJ3,0^^0;7^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
+25 ;;^DD(358.1,.07,.1)
+26 ;;=HOW MANY LINES HIGH SHOULD THE BLOCK BE?
+27 ;;^DD(358.1,.07,3)
+28 ;;=How many lines high should this block be?
+29 ;;^DD(358.1,.07,21,0)
+30 ;;=^^2^2^2930527^
+31 ;;^DD(358.1,.07,21,1,0)
+32 ;;=
+33 ;;^DD(358.1,.07,21,2,0)
+34 ;;=The height of the block, measured by the number of lines it takes up.
+35 ;;^DD(358.1,.07,"DT")
+36 ;;=2930415
+37 ;;^DD(358.1,.1,0)
+38 ;;=OUTLINE TYPE^RS^1:SOLID LINE;2:INVISIBLE;^0;10^Q
+39 ;;^DD(358.1,.1,.1)
+40 ;;=OUTLINE TYPE (SOLID/INVISIBLE)
+41 ;;^DD(358.1,.1,3)
+42 ;;=Enter '1' if the block should have a box around it, '2' if not.
+43 ;;^DD(358.1,.1,21,0)
+44 ;;=^^2^2^2930527^
+45 ;;^DD(358.1,.1,21,1,0)
+46 ;;=
+47 ;;^DD(358.1,.1,21,2,0)
+48 ;;=How the block is outlined on the form.
+49 ;;^DD(358.1,.1,"DT")
+50 ;;=2930415
+51 ;;^DD(358.1,.11,0)
+52 ;;=BLOCK HEADER^F^^0;11^K:$L(X)>60!($L(X)<1) X
+53 ;;^DD(358.1,.11,.1)
+54 ;;=WHAT HEADER WOULD SHOULD APPEAR AT THE TOP OF THE BLOCK? (OPTIONAL)
+55 ;;^DD(358.1,.11,3)
+56 ;;=What text should appear at the top of the block?
+57 ;;^DD(358.1,.11,21,0)
+58 ;;=^^2^2^2930527^
+59 ;;^DD(358.1,.11,21,1,0)
+60 ;;=
+61 ;;^DD(358.1,.11,21,2,0)
+62 ;;=The text appearing at the top of the block.
+63 ;;^DD(358.1,.11,"DT")
+64 ;;=2930415
+65 ;;^DD(358.1,.12,0)
+66 ;;=HEADER APPEARANCE^FX^^0;12^S X=$$UPPER^VALM1(X) K:$L(X)>3!("UBC"'[$E(X,1))!("UBC"'[$E(X,2))!("UBC"'[$E(X,3)) X
+67 ;;^DD(358.1,.12,.1)
+68 ;;=HOW SHOULD THE BLOCK HEADER APPEAR? CHOOSE FROM {U,B,C}
+69 ;;^DD(358.1,.12,3)
+70 ;;=B=bold, U=underline, C=center. You can enter any combination of {B,U,C}.
+71 ;;^DD(358.1,.12,21,0)
+72 ;;=^^2^2^2930607^
+73 ;;^DD(358.1,.12,21,1,0)
+74 ;;=
+75 ;;^DD(358.1,.12,21,2,0)
+76 ;;=A description of the block's contents and use.
+77 ;;^DD(358.1,.12,"DT")
+78 ;;=2930616
+79 ;;^DD(358.1,.13,0)
+80 ;;=BRIEF DESCRIPTION^RF^^0;13^K:$L(X)>80!($L(X)<1) X
+81 ;;^DD(358.1,.13,.1)
+82 ;;=ENTER A BRIEF DESCRIPTION OF THE USE & CONTENTS OF THE BLOCK
+83 ;;^DD(358.1,.13,3)
+84 ;;=Answer must be 1-80 characters in length.
+85 ;;^DD(358.1,.13,21,0)
+86 ;;=^^2^2^2930607^
+87 ;;^DD(358.1,.13,21,1,0)
+88 ;;=
+89 ;;^DD(358.1,.13,21,2,0)
+90 ;;=A brief description of the contents or use of the block.
+91 ;;^DD(358.1,.13,"DT")
+92 ;;=2930415
+93 ;;^DD(358.1,.14,0)
+94 ;;=TOOL KIT ORDER^NJ6,2^^0;14^K:+X'=X!(X>999.99)!(X<0)!(X?.E1"."3N.N) X
+95 ;;^DD(358.1,.14,1,0)
+96 ;;=^.1
+97 ;;^DD(358.1,.14,1,1,0)
+98 ;;=358.1^D
+99 ;;^DD(358.1,.14,1,1,1)
+100 ;;=S ^IBE(358.1,"D",$E(X,1,30),DA)=""
+101 ;;^DD(358.1,.14,1,1,2)
+102 ;;=K ^IBE(358.1,"D",$E(X,1,30),DA)
+103 ;;^DD(358.1,.14,1,1,"%D",0)
+104 ;;=^^2^2^2930108^
+105 ;;^DD(358.1,.14,1,1,"%D",1,0)
+106 ;;=This index is used to locate all the 'tool box' blocs that can be used
+107 ;;^DD(358.1,.14,1,1,"%D",2,0)
+108 ;;=as templates to create a new block to be added to a form.
+109 ;;^DD(358.1,.14,1,1,"DT")
+110 ;;=2930108
+111 ;;^DD(358.1,.14,3)
+112 ;;=Enter a numeric value >0 if this block is part of the tool kit. The number will determine its listed order.