IBINI07Q ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(357.2) 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.21,.03,"DT")
;;=2930930
;;^DD(357.21,.04,0)
;;=LIST COLUMN HEIGHT^NJ3,0^^0;4^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
;;^DD(357.21,.04,.1)
;;=HOW MANY LINES HIGH SHOULD THE LIST COLUMN BE? (OPTIONAL)
;;^DD(357.21,.04,3)
;;=How many lines should the column cover?
;;^DD(357.21,.04,21,0)
;;=^^3^3^2930527^
;;^DD(357.21,.04,21,1,0)
;;=
;;^DD(357.21,.04,21,2,0)
;;=The number of lines the column should occupy. This is optional - if not
;;^DD(357.21,.04,21,3,0)
;;=supplied the column will extend to the bottom of the block.
;;^DD(357.21,.04,"DT")
;;=2930802
;;^DD(357.22,0)
;;=SUBCOLUMN NUMBER SUB-FIELD^^.07^7
;;^DD(357.22,0,"DIK")
;;=IBXF2
;;^DD(357.22,0,"DT")
;;=2930413
;;^DD(357.22,0,"ID","WRITE")
;;=D ID1^IBDFU5
;;^DD(357.22,0,"IX","B",357.22,.01)
;;=
;;^DD(357.22,0,"NM","SUBCOLUMN NUMBER")
;;=
;;^DD(357.22,0,"UP")
;;=357.2
;;^DD(357.22,.01,0)
;;=SUBCOLUMN NUMBER^MRNJ1,0X^^0;1^K:+X'=X!(X>6)!(X<1)!(X?.E1"."1N.N)!($D(^IBE(357.2,DA(1),2,"B",X))) X
;;^DD(357.22,.01,.1)
;;=Number of the subcolumn, subcolumns being numbered 1-6, left-to-right
;;^DD(357.22,.01,1,0)
;;=^.1
;;^DD(357.22,.01,1,1,0)
;;=357.22^B
;;^DD(357.22,.01,1,1,1)
;;=S ^IBE(357.2,DA(1),2,"B",$E(X,1,30),DA)=""
;;^DD(357.22,.01,1,1,2)
;;=K ^IBE(357.2,DA(1),2,"B",$E(X,1,30),DA)
;;^DD(357.22,.01,3)
;;=The SUBCOLUMN NUMBER determines the order in which the subcolumns will display. There are at most 6 subcolumns, numbered 1-6.
;;^DD(357.22,.01,21,0)
;;=^^2^2^2930527^
;;^DD(357.22,.01,21,1,0)
;;=
;;^DD(357.22,.01,21,2,0)
;;=The order that the subcolumn will appear on the form.
;;^DD(357.22,.01,"DT")
;;=2930413
;;^DD(357.22,.02,0)
;;=SUBCOLUMN HEADER^F^^0;2^K:$L(X)>150!($L(X)<1) X
;;^DD(357.22,.02,.1)
;;=WHAT TEXT SHOULD APPEAR AT THE TOP OF THE SUBCOLUMN?
;;^DD(357.22,.02,3)
;;=What text should appear at the top of the subcolumn?
;;^DD(357.22,.02,21,0)
;;=^^2^2^2930527^
;;^DD(357.22,.02,21,1,0)
;;=
;;^DD(357.22,.02,21,2,0)
;;=The text that will appear at the top of the subcolumn.
;;^DD(357.22,.02,"DT")
;;=2930414
;;^DD(357.22,.03,0)
;;=SUBCOLUMN WIDTH^NJ3,0^^0;3^K:+X'=X!(X>150)!(X<1)!(X?.E1"."1N.N) X
;;^DD(357.22,.03,.1)
;;=HOW WIDE SHOULD THE SUBCOLUMN BE?
;;^DD(357.22,.03,3)
;;=How wide should the subcolumn be?
;;^DD(357.22,.03,21,0)
;;=^^3^3^2930527^
;;^DD(357.22,.03,21,1,0)
;;=
;;^DD(357.22,.03,21,2,0)
;;=The width of the subcolumn. If the subcolumn contains a MARKING AREA then
;;^DD(357.22,.03,21,3,0)
;;=the width of the MARKING AREA overrides what ever this is.
;;^DD(357.22,.03,"DT")
;;=2930414
;;^DD(357.22,.04,0)
;;=TYPE OF SUBCOLUMN^RS^1:TEXT;2:MARKING;^0;4^Q
;;^DD(357.22,.04,.1)
;;=SUBCOLUMN CONTAINS TEXT, OR FOR MARKING? (TEXT/MARKING)
;;^DD(357.22,.04,3)
;;=Enter '1' if the subcolumn will contain text, '2' if it will be for the user to mark his selections.
;;^DD(357.22,.04,21,0)
;;=^^4^4^2930527^
;;^DD(357.22,.04,21,1,0)
;;=
;;^DD(357.22,.04,21,2,0)
;;=The subcolumn can contain either text, derived from what is returned by
;;^DD(357.22,.04,21,3,0)
;;=the PACKAGE INTERFACE, or a MARKING AREA, which is meant to be written in
;;^DD(357.22,.04,21,4,0)
;;=to select an entry on the list.
;;^DD(357.22,.04,"DT")
;;=2930428
;;^DD(357.22,.05,0)
;;=SUBCOLUMN'S DATA^NJ1,0X^^0;5^K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N)!($P($G(^IBE(357.6,+$P($G(^IBE(357.2,DA(1),0)),U,11),2)),U,(2*X)-1)="")!((X=1)&'$P($G(^IBE(357.6,+$P($G(^IBE(357.2,DA(1),0)),U,11),2)),U,17)) X
;;^DD(357.22,.05,.1)
;;=WHAT DATA SHOULD BE CONTAINED IN THE SUBCOLUMN?
IBINI07Q ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(357.2)
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.21,.03,"DT")
+2 ;;=2930930
+3 ;;^DD(357.21,.04,0)
+4 ;;=LIST COLUMN HEIGHT^NJ3,0^^0;4^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
+5 ;;^DD(357.21,.04,.1)
+6 ;;=HOW MANY LINES HIGH SHOULD THE LIST COLUMN BE? (OPTIONAL)
+7 ;;^DD(357.21,.04,3)
+8 ;;=How many lines should the column cover?
+9 ;;^DD(357.21,.04,21,0)
+10 ;;=^^3^3^2930527^
+11 ;;^DD(357.21,.04,21,1,0)
+12 ;;=
+13 ;;^DD(357.21,.04,21,2,0)
+14 ;;=The number of lines the column should occupy. This is optional - if not
+15 ;;^DD(357.21,.04,21,3,0)
+16 ;;=supplied the column will extend to the bottom of the block.
+17 ;;^DD(357.21,.04,"DT")
+18 ;;=2930802
+19 ;;^DD(357.22,0)
+20 ;;=SUBCOLUMN NUMBER SUB-FIELD^^.07^7
+21 ;;^DD(357.22,0,"DIK")
+22 ;;=IBXF2
+23 ;;^DD(357.22,0,"DT")
+24 ;;=2930413
+25 ;;^DD(357.22,0,"ID","WRITE")
+26 ;;=D ID1^IBDFU5
+27 ;;^DD(357.22,0,"IX","B",357.22,.01)
+28 ;;=
+29 ;;^DD(357.22,0,"NM","SUBCOLUMN NUMBER")
+30 ;;=
+31 ;;^DD(357.22,0,"UP")
+32 ;;=357.2
+33 ;;^DD(357.22,.01,0)
+34 ;;=SUBCOLUMN NUMBER^MRNJ1,0X^^0;1^K:+X'=X!(X>6)!(X<1)!(X?.E1"."1N.N)!($D(^IBE(357.2,DA(1),2,"B",X))) X
+35 ;;^DD(357.22,.01,.1)
+36 ;;=Number of the subcolumn, subcolumns being numbered 1-6, left-to-right
+37 ;;^DD(357.22,.01,1,0)
+38 ;;=^.1
+39 ;;^DD(357.22,.01,1,1,0)
+40 ;;=357.22^B
+41 ;;^DD(357.22,.01,1,1,1)
+42 ;;=S ^IBE(357.2,DA(1),2,"B",$E(X,1,30),DA)=""
+43 ;;^DD(357.22,.01,1,1,2)
+44 ;;=K ^IBE(357.2,DA(1),2,"B",$E(X,1,30),DA)
+45 ;;^DD(357.22,.01,3)
+46 ;;=The SUBCOLUMN NUMBER determines the order in which the subcolumns will display. There are at most 6 subcolumns, numbered 1-6.
+47 ;;^DD(357.22,.01,21,0)
+48 ;;=^^2^2^2930527^
+49 ;;^DD(357.22,.01,21,1,0)
+50 ;;=
+51 ;;^DD(357.22,.01,21,2,0)
+52 ;;=The order that the subcolumn will appear on the form.
+53 ;;^DD(357.22,.01,"DT")
+54 ;;=2930413
+55 ;;^DD(357.22,.02,0)
+56 ;;=SUBCOLUMN HEADER^F^^0;2^K:$L(X)>150!($L(X)<1) X
+57 ;;^DD(357.22,.02,.1)
+58 ;;=WHAT TEXT SHOULD APPEAR AT THE TOP OF THE SUBCOLUMN?
+59 ;;^DD(357.22,.02,3)
+60 ;;=What text should appear at the top of the subcolumn?
+61 ;;^DD(357.22,.02,21,0)
+62 ;;=^^2^2^2930527^
+63 ;;^DD(357.22,.02,21,1,0)
+64 ;;=
+65 ;;^DD(357.22,.02,21,2,0)
+66 ;;=The text that will appear at the top of the subcolumn.
+67 ;;^DD(357.22,.02,"DT")
+68 ;;=2930414
+69 ;;^DD(357.22,.03,0)
+70 ;;=SUBCOLUMN WIDTH^NJ3,0^^0;3^K:+X'=X!(X>150)!(X<1)!(X?.E1"."1N.N) X
+71 ;;^DD(357.22,.03,.1)
+72 ;;=HOW WIDE SHOULD THE SUBCOLUMN BE?
+73 ;;^DD(357.22,.03,3)
+74 ;;=How wide should the subcolumn be?
+75 ;;^DD(357.22,.03,21,0)
+76 ;;=^^3^3^2930527^
+77 ;;^DD(357.22,.03,21,1,0)
+78 ;;=
+79 ;;^DD(357.22,.03,21,2,0)
+80 ;;=The width of the subcolumn. If the subcolumn contains a MARKING AREA then
+81 ;;^DD(357.22,.03,21,3,0)
+82 ;;=the width of the MARKING AREA overrides what ever this is.
+83 ;;^DD(357.22,.03,"DT")
+84 ;;=2930414
+85 ;;^DD(357.22,.04,0)
+86 ;;=TYPE OF SUBCOLUMN^RS^1:TEXT;2:MARKING;^0;4^Q
+87 ;;^DD(357.22,.04,.1)
+88 ;;=SUBCOLUMN CONTAINS TEXT, OR FOR MARKING? (TEXT/MARKING)
+89 ;;^DD(357.22,.04,3)
+90 ;;=Enter '1' if the subcolumn will contain text, '2' if it will be for the user to mark his selections.
+91 ;;^DD(357.22,.04,21,0)
+92 ;;=^^4^4^2930527^
+93 ;;^DD(357.22,.04,21,1,0)
+94 ;;=
+95 ;;^DD(357.22,.04,21,2,0)
+96 ;;=The subcolumn can contain either text, derived from what is returned by
+97 ;;^DD(357.22,.04,21,3,0)
+98 ;;=the PACKAGE INTERFACE, or a MARKING AREA, which is meant to be written in
+99 ;;^DD(357.22,.04,21,4,0)
+100 ;;=to select an entry on the list.
+101 ;;^DD(357.22,.04,"DT")
+102 ;;=2930428
+103 ;;^DD(357.22,.05,0)
+104 ;;=SUBCOLUMN'S DATA^NJ1,0X^^0;5^K:+X'=X!(X>7)!(X<1)!(X?.E1"."1N.N)!($P($G(^IBE(357.6,+$P($G(^IBE(357.2,DA(1),0)),U,11),2)),U,(2*X)-1)="")!((X=1)&'$P($G(^IBE(357.6,+$P($G(^IBE(357.2,DA(1),0)),U,11),2)),U,17)) X
+105 ;;^DD(357.22,.05,.1)
+106 ;;=WHAT DATA SHOULD BE CONTAINED IN THE SUBCOLUMN?