Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IBDEI00T

IBDEI00T.m

Go to the documentation of this file.
  1. IBDEI00T ; ; 18-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(358.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
  1. Q Q
  1. ;;^DD(358.5,.13,.1)
  1. ;;=HOW SHOULD THE TEXT LINES BE SPACED?
  1. ;;^DD(358.5,.13,3)
  1. ;;=How do you want the text lines to be spaced?
  1. ;;^DD(358.5,.13,21,0)
  1. ;;=^^2^2^2930527^
  1. ;;^DD(358.5,.13,21,1,0)
  1. ;;=
  1. ;;^DD(358.5,.13,21,2,0)
  1. ;;=Determines the spacing between lines of text.
  1. ;;^DD(358.5,.13,"DT")
  1. ;;=2930414
  1. ;;^DD(358.5,.14,0)
  1. ;;=WIDTH OF TEXT LINES^NJ3,0^^0;14^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(358.5,.14,.1)
  1. ;;=HOW MANY CHARACTERS ACROSS SHOULD THE TEXT LINES BE?
  1. ;;^DD(358.5,.14,3)
  1. ;;=How many columns wide do you want the text?
  1. ;;^DD(358.5,.14,21,0)
  1. ;;=^^2^2^2930527^
  1. ;;^DD(358.5,.14,21,1,0)
  1. ;;=
  1. ;;^DD(358.5,.14,21,2,0)
  1. ;;=Determines how many characters across should be allocated to the text.
  1. ;;^DD(358.5,.14,"DT")
  1. ;;=2930414
  1. ;;^DD(358.5,2,0)
  1. ;;=SUBFIELD^358.52I^^2;0
  1. ;;^DD(358.5,2,21,0)
  1. ;;=^^2^2^2930730^^^^
  1. ;;^DD(358.5,2,21,1,0)
  1. ;;=A data field can be composed of multiple subfields. Each subfield can have
  1. ;;^DD(358.5,2,21,2,0)
  1. ;;=a label and data.
  1. ;;^DD(358.5,2,"DT")
  1. ;;=2930323
  1. ;;^DD(358.52,0)
  1. ;;=SUBFIELD SUB-FIELD^^.09^8
  1. ;;^DD(358.52,0,"IX","B",358.52,.01)
  1. ;;=
  1. ;;^DD(358.52,0,"NM","SUBFIELD")
  1. ;;=
  1. ;;^DD(358.52,0,"UP")
  1. ;;=358.5
  1. ;;^DD(358.52,.01,0)
  1. ;;=SUBFIELD LABEL^MF^^0;1^K:$L(X)>150!($L(X)<1) X
  1. ;;^DD(358.52,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(358.52,.01,1,1,0)
  1. ;;=358.52^B
  1. ;;^DD(358.52,.01,1,1,1)
  1. ;;=S ^IBE(358.5,DA(1),2,"B",$E(X,1,30),DA)=""
  1. ;;^DD(358.52,.01,1,1,2)
  1. ;;=K ^IBE(358.5,DA(1),2,"B",$E(X,1,30),DA)
  1. ;;^DD(358.52,.01,3)
  1. ;;=What should the subfield be named? The label will print unless it is made invisible.
  1. ;;^DD(358.52,.01,4)
  1. ;;=
  1. ;;^DD(358.52,.01,21,0)
  1. ;;=^^3^3^2930730^^
  1. ;;^DD(358.52,.01,21,1,0)
  1. ;;=
  1. ;;^DD(358.52,.01,21,2,0)
  1. ;;=The name of the subfield. The label prints to the form unless it is made
  1. ;;^DD(358.52,.01,21,3,0)
  1. ;;=invisible.
  1. ;;^DD(358.52,.01,"DT")
  1. ;;=2930730
  1. ;;^DD(358.52,.03,0)
  1. ;;=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
  1. ;;^DD(358.52,.03,.1)
  1. ;;=HOW SHOULD THE LABEL APPEAR? CHOOSE FROM {U,B,I}
  1. ;;^DD(358.52,.03,3)
  1. ;;=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.
  1. ;;^DD(358.52,.03,4)
  1. ;;=
  1. ;;^DD(358.52,.03,21,0)
  1. ;;=^^2^2^2930527^
  1. ;;^DD(358.52,.03,21,1,0)
  1. ;;=
  1. ;;^DD(358.52,.03,21,2,0)
  1. ;;=The label can have characterisics, such as being underlined.
  1. ;;^DD(358.52,.03,"DT")
  1. ;;=2930616
  1. ;;^DD(358.52,.04,0)
  1. ;;=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
  1. ;;^DD(358.52,.04,2)
  1. ;;=S Y(0)=Y S:Y=+Y Y=Y+1
  1. ;;^DD(358.52,.04,2.1)
  1. ;;=S:Y=+Y Y=Y+1
  1. ;;^DD(358.52,.04,3)
  1. ;;=What block column should the label start in?
  1. ;;^DD(358.52,.04,21,0)
  1. ;;=^^2^2^2930715^^
  1. ;;^DD(358.52,.04,21,1,0)
  1. ;;=
  1. ;;^DD(358.52,.04,21,2,0)
  1. ;;=The column, relative to the block, that the label should start at.
  1. ;;^DD(358.52,.04,23,0)
  1. ;;=^^4^4^2930715^
  1. ;;^DD(358.52,.04,23,1,0)
  1. ;;=The internal representation starts at 0, the external representation
  1. ;;^DD(358.52,.04,23,2,0)
  1. ;;=starts at 1. The difference is because for computing the form image
  1. ;;^DD(358.52,.04,23,3,0)
  1. ;;=it is convenient to work with displacements from the top left-hand
  1. ;;^DD(358.52,.04,23,4,0)
  1. ;;=corner. However, users do not want to work with row=0 or column=0.
  1. ;;^DD(358.52,.04,"DT")
  1. ;;=2930617
  1. ;;^DD(358.52,.05,0)
  1. ;;=STARTING ROW FOR LABEL^NJ3,0XO^^0;5^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(358.52,.05,2)
  1. ;;=S Y(0)=Y S:Y=+Y Y=Y+1
  1. ;;^DD(358.52,.05,2.1)
  1. ;;=S:Y=+Y Y=Y+1