IBINI07L ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(357.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(357.1,.14,21,0)
;;=^^3^3^2930817^^^^
;;^DD(357.1,.14,21,1,0)
;;=A number>0 in this field means that the block is part of the tool kit.
;;^DD(357.1,.14,21,2,0)
;;=The value determines the order that the block will be listed to the
;;^DD(357.1,.14,21,3,0)
;;=screen that displays the tool kit blocks.
;;^DD(357.1,.14,"DT")
;;=2930817
;;^DD(357.1,1,0)
;;=COMPILED STRINGS^357.11A^^S;0
;;^DD(357.1,1,21,0)
;;=^^3^3^2931117^^
;;^DD(357.1,1,21,1,0)
;;=Contains a compiled list of the calls, along with the arguments, that should
;;^DD(357.1,1,21,2,0)
;;=be made to the routine that prints strings to the form. Before printing, the
;;^DD(357.1,1,21,3,0)
;;=block offset is added to the string position.
;;^DD(357.1,2,0)
;;=COMPILED VERTICAL LINES^357.12A^^V;0
;;^DD(357.1,2,21,0)
;;=^^3^3^2940216^
;;^DD(357.1,2,21,1,0)
;;=A compiled list of the vertical lines that are needed to print the block.
;;^DD(357.1,2,21,2,0)
;;=The arguments to the routine that prints the line are included. The
;;^DD(357.1,2,21,3,0)
;;=block's offset is must be added to the line's position.
;;^DD(357.11,0)
;;=COMPILED STRINGS SUB-FIELD^^.05^5
;;^DD(357.11,0,"DIK")
;;=IBXF1
;;^DD(357.11,0,"DT")
;;=2931115
;;^DD(357.11,0,"IX","B",357.11,.01)
;;=
;;^DD(357.11,0,"NM","COMPILED STRINGS")
;;=
;;^DD(357.11,0,"UP")
;;=357.1
;;^DD(357.11,.01,0)
;;=STRING ROW^NJ3,0^^0;1^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
;;^DD(357.11,.01,1,0)
;;=^.1
;;^DD(357.11,.01,1,1,0)
;;=357.11^B
;;^DD(357.11,.01,1,1,1)
;;=S ^IBE(357.1,DA(1),"S","B",$E(X,1,30),DA)=""
;;^DD(357.11,.01,1,1,2)
;;=K ^IBE(357.1,DA(1),"S","B",$E(X,1,30),DA)
;;^DD(357.11,.01,3)
;;=Type a Number between 0 and 200, 0 Decimal Digits
;;^DD(357.11,.01,21,0)
;;=^^1^1^2931117^
;;^DD(357.11,.01,21,1,0)
;;=The row that the string should be printed at.
;;^DD(357.11,.01,"DT")
;;=2931117
;;^DD(357.11,.02,0)
;;=COLUMN^RNJ3,0^^0;2^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
;;^DD(357.11,.02,3)
;;=Type a Number between 0 and 200, 0 Decimal Digits
;;^DD(357.11,.02,21,0)
;;=^^1^1^2931117^
;;^DD(357.11,.02,21,1,0)
;;=The column that the string should be printed at.
;;^DD(357.11,.02,"DT")
;;=2931115
;;^DD(357.11,.03,0)
;;=OPTIONS^F^^0;3^K:$L(X)>4!($L(X)<1) X
;;^DD(357.11,.03,3)
;;=Answer must be 1-4 characters in length.
;;^DD(357.11,.03,21,0)
;;=^^1^1^2931117^
;;^DD(357.11,.03,21,1,0)
;;=The display characteristics that the string should have.
;;^DD(357.11,.03,"DT")
;;=2931115
;;^DD(357.11,.04,0)
;;=WIDTH^NJ3,0^^0;4^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
;;^DD(357.11,.04,3)
;;=Type a Number between 0 and 200, 0 Decimal Digits
;;^DD(357.11,.04,21,0)
;;=^^1^1^2931117^
;;^DD(357.11,.04,21,1,0)
;;=The width that the printed string should occupy. (optional)
;;^DD(357.11,.04,"DT")
;;=2931115
;;^DD(357.11,.05,0)
;;=STRING^F^^0;5^K:$L(X)>200!($L(X)<1) X
;;^DD(357.11,.05,3)
;;=Answer must be 1-200 characters in length.
;;^DD(357.11,.05,21,0)
;;=^^1^1^2931117^
;;^DD(357.11,.05,21,1,0)
;;=The string that should be printed.
;;^DD(357.11,.05,"DT")
;;=2931115
;;^DD(357.12,0)
;;=COMPILED VERTICAL LINES SUB-FIELD^^.04^4
;;^DD(357.12,0,"DIK")
;;=IBXF1
;;^DD(357.12,0,"DT")
;;=2931117
;;^DD(357.12,0,"IX","B",357.12,.01)
;;=
;;^DD(357.12,0,"NM","COMPILED VERTICAL LINES")
;;=
;;^DD(357.12,0,"UP")
;;=357.1
;;^DD(357.12,.01,0)
;;=VERTICAL LINE ROW^NJ3,0^^0;1^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
;;^DD(357.12,.01,1,0)
;;=^.1
;;^DD(357.12,.01,1,1,0)
;;=357.12^B
;;^DD(357.12,.01,1,1,1)
;;=S ^IBE(357.1,DA(1),"V","B",$E(X,1,30),DA)=""
IBINI07L ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(357.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(357.1,.14,21,0)
+2 ;;=^^3^3^2930817^^^^
+3 ;;^DD(357.1,.14,21,1,0)
+4 ;;=A number>0 in this field means that the block is part of the tool kit.
+5 ;;^DD(357.1,.14,21,2,0)
+6 ;;=The value determines the order that the block will be listed to the
+7 ;;^DD(357.1,.14,21,3,0)
+8 ;;=screen that displays the tool kit blocks.
+9 ;;^DD(357.1,.14,"DT")
+10 ;;=2930817
+11 ;;^DD(357.1,1,0)
+12 ;;=COMPILED STRINGS^357.11A^^S;0
+13 ;;^DD(357.1,1,21,0)
+14 ;;=^^3^3^2931117^^
+15 ;;^DD(357.1,1,21,1,0)
+16 ;;=Contains a compiled list of the calls, along with the arguments, that should
+17 ;;^DD(357.1,1,21,2,0)
+18 ;;=be made to the routine that prints strings to the form. Before printing, the
+19 ;;^DD(357.1,1,21,3,0)
+20 ;;=block offset is added to the string position.
+21 ;;^DD(357.1,2,0)
+22 ;;=COMPILED VERTICAL LINES^357.12A^^V;0
+23 ;;^DD(357.1,2,21,0)
+24 ;;=^^3^3^2940216^
+25 ;;^DD(357.1,2,21,1,0)
+26 ;;=A compiled list of the vertical lines that are needed to print the block.
+27 ;;^DD(357.1,2,21,2,0)
+28 ;;=The arguments to the routine that prints the line are included. The
+29 ;;^DD(357.1,2,21,3,0)
+30 ;;=block's offset is must be added to the line's position.
+31 ;;^DD(357.11,0)
+32 ;;=COMPILED STRINGS SUB-FIELD^^.05^5
+33 ;;^DD(357.11,0,"DIK")
+34 ;;=IBXF1
+35 ;;^DD(357.11,0,"DT")
+36 ;;=2931115
+37 ;;^DD(357.11,0,"IX","B",357.11,.01)
+38 ;;=
+39 ;;^DD(357.11,0,"NM","COMPILED STRINGS")
+40 ;;=
+41 ;;^DD(357.11,0,"UP")
+42 ;;=357.1
+43 ;;^DD(357.11,.01,0)
+44 ;;=STRING ROW^NJ3,0^^0;1^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
+45 ;;^DD(357.11,.01,1,0)
+46 ;;=^.1
+47 ;;^DD(357.11,.01,1,1,0)
+48 ;;=357.11^B
+49 ;;^DD(357.11,.01,1,1,1)
+50 ;;=S ^IBE(357.1,DA(1),"S","B",$E(X,1,30),DA)=""
+51 ;;^DD(357.11,.01,1,1,2)
+52 ;;=K ^IBE(357.1,DA(1),"S","B",$E(X,1,30),DA)
+53 ;;^DD(357.11,.01,3)
+54 ;;=Type a Number between 0 and 200, 0 Decimal Digits
+55 ;;^DD(357.11,.01,21,0)
+56 ;;=^^1^1^2931117^
+57 ;;^DD(357.11,.01,21,1,0)
+58 ;;=The row that the string should be printed at.
+59 ;;^DD(357.11,.01,"DT")
+60 ;;=2931117
+61 ;;^DD(357.11,.02,0)
+62 ;;=COLUMN^RNJ3,0^^0;2^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
+63 ;;^DD(357.11,.02,3)
+64 ;;=Type a Number between 0 and 200, 0 Decimal Digits
+65 ;;^DD(357.11,.02,21,0)
+66 ;;=^^1^1^2931117^
+67 ;;^DD(357.11,.02,21,1,0)
+68 ;;=The column that the string should be printed at.
+69 ;;^DD(357.11,.02,"DT")
+70 ;;=2931115
+71 ;;^DD(357.11,.03,0)
+72 ;;=OPTIONS^F^^0;3^K:$L(X)>4!($L(X)<1) X
+73 ;;^DD(357.11,.03,3)
+74 ;;=Answer must be 1-4 characters in length.
+75 ;;^DD(357.11,.03,21,0)
+76 ;;=^^1^1^2931117^
+77 ;;^DD(357.11,.03,21,1,0)
+78 ;;=The display characteristics that the string should have.
+79 ;;^DD(357.11,.03,"DT")
+80 ;;=2931115
+81 ;;^DD(357.11,.04,0)
+82 ;;=WIDTH^NJ3,0^^0;4^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
+83 ;;^DD(357.11,.04,3)
+84 ;;=Type a Number between 0 and 200, 0 Decimal Digits
+85 ;;^DD(357.11,.04,21,0)
+86 ;;=^^1^1^2931117^
+87 ;;^DD(357.11,.04,21,1,0)
+88 ;;=The width that the printed string should occupy. (optional)
+89 ;;^DD(357.11,.04,"DT")
+90 ;;=2931115
+91 ;;^DD(357.11,.05,0)
+92 ;;=STRING^F^^0;5^K:$L(X)>200!($L(X)<1) X
+93 ;;^DD(357.11,.05,3)
+94 ;;=Answer must be 1-200 characters in length.
+95 ;;^DD(357.11,.05,21,0)
+96 ;;=^^1^1^2931117^
+97 ;;^DD(357.11,.05,21,1,0)
+98 ;;=The string that should be printed.
+99 ;;^DD(357.11,.05,"DT")
+100 ;;=2931115
+101 ;;^DD(357.12,0)
+102 ;;=COMPILED VERTICAL LINES SUB-FIELD^^.04^4
+103 ;;^DD(357.12,0,"DIK")
+104 ;;=IBXF1
+105 ;;^DD(357.12,0,"DT")
+106 ;;=2931117
+107 ;;^DD(357.12,0,"IX","B",357.12,.01)
+108 ;;=
+109 ;;^DD(357.12,0,"NM","COMPILED VERTICAL LINES")
+110 ;;=
+111 ;;^DD(357.12,0,"UP")
+112 ;;=357.1
+113 ;;^DD(357.12,.01,0)
+114 ;;=VERTICAL LINE ROW^NJ3,0^^0;1^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
+115 ;;^DD(357.12,.01,1,0)
+116 ;;=^.1
+117 ;;^DD(357.12,.01,1,1,0)
+118 ;;=357.12^B
+119 ;;^DD(357.12,.01,1,1,1)
+120 ;;=S ^IBE(357.1,DA(1),"V","B",$E(X,1,30),DA)=""