IBINI07Z ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(357.5) 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.5,.12,3)
;;=How many lines of the form should be allocated for the text?
;;^DD(357.5,.12,21,0)
;;=^^2^2^2930527^
;;^DD(357.5,.12,21,1,0)
;;=
;;^DD(357.5,.12,21,2,0)
;;=The number of lines on the form that should be allocated for the text.
;;^DD(357.5,.12,"DT")
;;=2930414
;;^DD(357.5,.13,0)
;;=SPACING OF TEXT LINES^S^1:SINGLE SPACED;2:DOUBLE SPACED;3:SINGLE, BUT DOUBLE IF BLANK;^0;13^Q
;;^DD(357.5,.13,.1)
;;=HOW SHOULD THE TEXT LINES BE SPACED?
;;^DD(357.5,.13,3)
;;=How do you want the text lines to be spaced?
;;^DD(357.5,.13,21,0)
;;=^^2^2^2930527^
;;^DD(357.5,.13,21,1,0)
;;=
;;^DD(357.5,.13,21,2,0)
;;=Determines the spacing between lines of text.
;;^DD(357.5,.13,"DT")
;;=2930414
;;^DD(357.5,.14,0)
;;=WIDTH OF TEXT LINES^NJ3,0^^0;14^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
;;^DD(357.5,.14,.1)
;;=HOW MANY CHARACTERS ACROSS SHOULD THE TEXT LINES BE?
;;^DD(357.5,.14,3)
;;=How many columns wide do you want the text?
;;^DD(357.5,.14,21,0)
;;=^^2^2^2930527^
;;^DD(357.5,.14,21,1,0)
;;=
;;^DD(357.5,.14,21,2,0)
;;=Determines how many characters across should be allocated to the text.
;;^DD(357.5,.14,"DT")
;;=2930414
;;^DD(357.5,2,0)
;;=SUBFIELD^357.52I^^2;0
;;^DD(357.5,2,21,0)
;;=^^2^2^2940217^^^^
;;^DD(357.5,2,21,1,0)
;;=A data field can be composed of multiple subfields. Each subfield can have
;;^DD(357.5,2,21,2,0)
;;=a label and data.
;;^DD(357.5,2,"DT")
;;=2930323
;;^DD(357.52,0)
;;=SUBFIELD SUB-FIELD^^.09^8
;;^DD(357.52,0,"DIK")
;;=IBXF5
;;^DD(357.52,0,"DT")
;;=2930730
;;^DD(357.52,0,"IX","B",357.52,.01)
;;=
;;^DD(357.52,0,"NM","SUBFIELD")
;;=
;;^DD(357.52,0,"UP")
;;=357.5
;;^DD(357.52,.01,0)
;;=SUBFIELD LABEL^MF^^0;1^K:$L(X)>150!($L(X)<1) X
;;^DD(357.52,.01,1,0)
;;=^.1
;;^DD(357.52,.01,1,1,0)
;;=357.52^B
;;^DD(357.52,.01,1,1,1)
;;=S ^IBE(357.5,DA(1),2,"B",$E(X,1,30),DA)=""
;;^DD(357.52,.01,1,1,2)
;;=K ^IBE(357.5,DA(1),2,"B",$E(X,1,30),DA)
;;^DD(357.52,.01,3)
;;=What should the subfield be named? The label will print unless it is made invisible.
;;^DD(357.52,.01,4)
;;=
;;^DD(357.52,.01,21,0)
;;=^^3^3^2931020^^^^
;;^DD(357.52,.01,21,1,0)
;;=
;;^DD(357.52,.01,21,2,0)
;;=The name of the subfield. The label prints to the form unless it is made
;;^DD(357.52,.01,21,3,0)
;;=invisible.
;;^DD(357.52,.01,"DT")
;;=2930730
;;^DD(357.52,.03,0)
;;=SUBCOLUMN LABEL APPEARANCE^FX^^0;3^S X=$$UPPER^VALM1(X) K:$L(X)>3!("UBI"'[$E(X,1))!("UBI"'[$E(X,2))!("UBI"'[$E(X,3)) X
;;^DD(357.52,.03,.1)
;;=HOW SHOULD THE LABEL APPEAR? CHOOSE FROM {U,B,I}
;;^DD(357.52,.03,3)
;;=B=bold,U=underline,I=invisible You can enter any combination of {B,U,I}. The label will not print if it is made invisible.
;;^DD(357.52,.03,4)
;;=
;;^DD(357.52,.03,21,0)
;;=^^3^3^2940217^
;;^DD(357.52,.03,21,1,0)
;;=
;;^DD(357.52,.03,21,2,0)
;;=The label can be made bold, underlined, or invisible. This field
;;^DD(357.52,.03,21,3,0)
;;=determines which of those characteristics apply.
;;^DD(357.52,.03,"DT")
;;=2930616
;;^DD(357.52,.04,0)
;;=STARTING COLUMN FOR LABEL^NJ3,0XO^^0;4^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
;;^DD(357.52,.04,2)
;;=S Y(0)=Y S:Y=+Y Y=Y+1
;;^DD(357.52,.04,2.1)
;;=S:Y=+Y Y=Y+1
;;^DD(357.52,.04,3)
;;=What block column should the label start in?
;;^DD(357.52,.04,21,0)
;;=^^2^2^2930715^^
;;^DD(357.52,.04,21,1,0)
;;=
;;^DD(357.52,.04,21,2,0)
;;=The column, relative to the block, that the label should start at.
;;^DD(357.52,.04,23,0)
;;=^^4^4^2930715^
;;^DD(357.52,.04,23,1,0)
;;=The internal representation starts at 0, the external representation
IBINI07Z ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(357.5)
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.5,.12,3)
+2 ;;=How many lines of the form should be allocated for the text?
+3 ;;^DD(357.5,.12,21,0)
+4 ;;=^^2^2^2930527^
+5 ;;^DD(357.5,.12,21,1,0)
+6 ;;=
+7 ;;^DD(357.5,.12,21,2,0)
+8 ;;=The number of lines on the form that should be allocated for the text.
+9 ;;^DD(357.5,.12,"DT")
+10 ;;=2930414
+11 ;;^DD(357.5,.13,0)
+12 ;;=SPACING OF TEXT LINES^S^1:SINGLE SPACED;2:DOUBLE SPACED;3:SINGLE, BUT DOUBLE IF BLANK;^0;13^Q
+13 ;;^DD(357.5,.13,.1)
+14 ;;=HOW SHOULD THE TEXT LINES BE SPACED?
+15 ;;^DD(357.5,.13,3)
+16 ;;=How do you want the text lines to be spaced?
+17 ;;^DD(357.5,.13,21,0)
+18 ;;=^^2^2^2930527^
+19 ;;^DD(357.5,.13,21,1,0)
+20 ;;=
+21 ;;^DD(357.5,.13,21,2,0)
+22 ;;=Determines the spacing between lines of text.
+23 ;;^DD(357.5,.13,"DT")
+24 ;;=2930414
+25 ;;^DD(357.5,.14,0)
+26 ;;=WIDTH OF TEXT LINES^NJ3,0^^0;14^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
+27 ;;^DD(357.5,.14,.1)
+28 ;;=HOW MANY CHARACTERS ACROSS SHOULD THE TEXT LINES BE?
+29 ;;^DD(357.5,.14,3)
+30 ;;=How many columns wide do you want the text?
+31 ;;^DD(357.5,.14,21,0)
+32 ;;=^^2^2^2930527^
+33 ;;^DD(357.5,.14,21,1,0)
+34 ;;=
+35 ;;^DD(357.5,.14,21,2,0)
+36 ;;=Determines how many characters across should be allocated to the text.
+37 ;;^DD(357.5,.14,"DT")
+38 ;;=2930414
+39 ;;^DD(357.5,2,0)
+40 ;;=SUBFIELD^357.52I^^2;0
+41 ;;^DD(357.5,2,21,0)
+42 ;;=^^2^2^2940217^^^^
+43 ;;^DD(357.5,2,21,1,0)
+44 ;;=A data field can be composed of multiple subfields. Each subfield can have
+45 ;;^DD(357.5,2,21,2,0)
+46 ;;=a label and data.
+47 ;;^DD(357.5,2,"DT")
+48 ;;=2930323
+49 ;;^DD(357.52,0)
+50 ;;=SUBFIELD SUB-FIELD^^.09^8
+51 ;;^DD(357.52,0,"DIK")
+52 ;;=IBXF5
+53 ;;^DD(357.52,0,"DT")
+54 ;;=2930730
+55 ;;^DD(357.52,0,"IX","B",357.52,.01)
+56 ;;=
+57 ;;^DD(357.52,0,"NM","SUBFIELD")
+58 ;;=
+59 ;;^DD(357.52,0,"UP")
+60 ;;=357.5
+61 ;;^DD(357.52,.01,0)
+62 ;;=SUBFIELD LABEL^MF^^0;1^K:$L(X)>150!($L(X)<1) X
+63 ;;^DD(357.52,.01,1,0)
+64 ;;=^.1
+65 ;;^DD(357.52,.01,1,1,0)
+66 ;;=357.52^B
+67 ;;^DD(357.52,.01,1,1,1)
+68 ;;=S ^IBE(357.5,DA(1),2,"B",$E(X,1,30),DA)=""
+69 ;;^DD(357.52,.01,1,1,2)
+70 ;;=K ^IBE(357.5,DA(1),2,"B",$E(X,1,30),DA)
+71 ;;^DD(357.52,.01,3)
+72 ;;=What should the subfield be named? The label will print unless it is made invisible.
+73 ;;^DD(357.52,.01,4)
+74 ;;=
+75 ;;^DD(357.52,.01,21,0)
+76 ;;=^^3^3^2931020^^^^
+77 ;;^DD(357.52,.01,21,1,0)
+78 ;;=
+79 ;;^DD(357.52,.01,21,2,0)
+80 ;;=The name of the subfield. The label prints to the form unless it is made
+81 ;;^DD(357.52,.01,21,3,0)
+82 ;;=invisible.
+83 ;;^DD(357.52,.01,"DT")
+84 ;;=2930730
+85 ;;^DD(357.52,.03,0)
+86 ;;=SUBCOLUMN LABEL APPEARANCE^FX^^0;3^S X=$$UPPER^VALM1(X) K:$L(X)>3!("UBI"'[$E(X,1))!("UBI"'[$E(X,2))!("UBI"'[$E(X,3)) X
+87 ;;^DD(357.52,.03,.1)
+88 ;;=HOW SHOULD THE LABEL APPEAR? CHOOSE FROM {U,B,I}
+89 ;;^DD(357.52,.03,3)
+90 ;;=B=bold,U=underline,I=invisible You can enter any combination of {B,U,I}. The label will not print if it is made invisible.
+91 ;;^DD(357.52,.03,4)
+92 ;;=
+93 ;;^DD(357.52,.03,21,0)
+94 ;;=^^3^3^2940217^
+95 ;;^DD(357.52,.03,21,1,0)
+96 ;;=
+97 ;;^DD(357.52,.03,21,2,0)
+98 ;;=The label can be made bold, underlined, or invisible. This field
+99 ;;^DD(357.52,.03,21,3,0)
+100 ;;=determines which of those characteristics apply.
+101 ;;^DD(357.52,.03,"DT")
+102 ;;=2930616
+103 ;;^DD(357.52,.04,0)
+104 ;;=STARTING COLUMN FOR LABEL^NJ3,0XO^^0;4^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
+105 ;;^DD(357.52,.04,2)
+106 ;;=S Y(0)=Y S:Y=+Y Y=Y+1
+107 ;;^DD(357.52,.04,2.1)
+108 ;;=S:Y=+Y Y=Y+1
+109 ;;^DD(357.52,.04,3)
+110 ;;=What block column should the label start in?
+111 ;;^DD(357.52,.04,21,0)
+112 ;;=^^2^2^2930715^^
+113 ;;^DD(357.52,.04,21,1,0)
+114 ;;=
+115 ;;^DD(357.52,.04,21,2,0)
+116 ;;=The column, relative to the block, that the label should start at.
+117 ;;^DD(357.52,.04,23,0)
+118 ;;=^^4^4^2930715^
+119 ;;^DD(357.52,.04,23,1,0)
+120 ;;=The internal representation starts at 0, the external representation