IBINI07N ; ; 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
;;^DIC(357.2,0,"GL")
;;=^IBE(357.2,
;;^DIC("B","SELECTION LIST",357.2)
;;=
;;^DIC(357.2,"%D",0)
;;=^^10^10^2940217^
;;^DIC(357.2,"%D",1,0)
;;=
;;^DIC(357.2,"%D",2,0)
;;=
;;^DIC(357.2,"%D",3,0)
;;=
;;^DIC(357.2,"%D",4,0)
;;=
;;^DIC(357.2,"%D",5,0)
;;=
;;^DIC(357.2,"%D",6,0)
;;=This file contains descriptions of 'selection lists'. A selection list is
;;^DIC(357.2,"%D",7,0)
;;=a rectangular area in a block that contains a list. The list has 'columns'
;;^DIC(357.2,"%D",8,0)
;;=of 'selections'. The columns have 'subcolumns', which can either contain
;;^DIC(357.2,"%D",9,0)
;;=text or a 'marking area'. A marking area is an area on the form designed
;;^DIC(357.2,"%D",10,0)
;;=to be checked to indicate that a choice is being made from the list.
;;^DD(357.2,0)
;;=FIELD^^2^12
;;^DD(357.2,0,"DDA")
;;=N
;;^DD(357.2,0,"DIK")
;;=IBXF2
;;^DD(357.2,0,"DT")
;;=2930427
;;^DD(357.2,0,"ID",.02)
;;=W ""
;;^DD(357.2,0,"ID",.11)
;;=W ""
;;^DD(357.2,0,"IX","B",357.2,.01)
;;=
;;^DD(357.2,0,"IX","C",357.2,.02)
;;=
;;^DD(357.2,0,"NM","SELECTION LIST")
;;=
;;^DD(357.2,0,"PT",357.3,.03)
;;=
;;^DD(357.2,0,"PT",357.4,.03)
;;=
;;^DD(357.2,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
;;^DD(357.2,.01,1,0)
;;=^.1
;;^DD(357.2,.01,1,1,0)
;;=357.2^B
;;^DD(357.2,.01,1,1,1)
;;=S ^IBE(357.2,"B",$E(X,1,30),DA)=""
;;^DD(357.2,.01,1,1,2)
;;=K ^IBE(357.2,"B",$E(X,1,30),DA)
;;^DD(357.2,.01,3)
;;=Answer must be 3-30 characters in length.
;;^DD(357.2,.01,21,0)
;;=^^2^2^2930527^
;;^DD(357.2,.01,21,1,0)
;;=
;;^DD(357.2,.01,21,2,0)
;;=The name of the list.
;;^DD(357.2,.01,"DEL",1,0)
;;=I '$G(IBLISTPR) W "...Selection Lists can only be deleted through the Encounter Form Utilities!"
;;^DD(357.2,.01,"DT")
;;=2921119
;;^DD(357.2,.02,0)
;;=BLOCK^RP357.1'^IBE(357.1,^0;2^Q
;;^DD(357.2,.02,1,0)
;;=^.1
;;^DD(357.2,.02,1,1,0)
;;=357.2^C
;;^DD(357.2,.02,1,1,1)
;;=S ^IBE(357.2,"C",$E(X,1,30),DA)=""
;;^DD(357.2,.02,1,1,2)
;;=K ^IBE(357.2,"C",$E(X,1,30),DA)
;;^DD(357.2,.02,1,1,"DT")
;;=2921207
;;^DD(357.2,.02,3)
;;=Enter the block that the selection list should appear in.
;;^DD(357.2,.02,21,0)
;;=^^2^2^2930527^
;;^DD(357.2,.02,21,1,0)
;;=The block that the list appears on. The position of the selection list is
;;^DD(357.2,.02,21,2,0)
;;=relative to the block.
;;^DD(357.2,.02,"DT")
;;=2921207
;;^DD(357.2,.05,0)
;;=COLUMN HEADER^F^^0;5^K:$L(X)>70!($L(X)<1) X
;;^DD(357.2,.05,.1)
;;=WHAT TEXT SHOULD APPEAR AT THE TOP OF EACH COLUMN? (OPTIONAL)
;;^DD(357.2,.05,3)
;;=This header will appear at the top of the column that contains the list. If there is more than one column it will appear at the top of each.
;;^DD(357.2,.05,21,0)
;;=^^2^2^2930527^
;;^DD(357.2,.05,21,1,0)
;;=
;;^DD(357.2,.05,21,2,0)
;;=The text that appears at the top of each column (NOT subcolumn).
;;^DD(357.2,.05,"DT")
;;=2930415
;;^DD(357.2,.06,0)
;;=COLUMN HEADER APPEARANCE^FX^^0;6^S X=$$UPPER^VALM1(X) K:$L(X)>3!("UBC"'[$E(X,1))!("UBC"'[$E(X,2))!("UBC"'[$E(X,3)) X
;;^DD(357.2,.06,.1)
;;=HOW SHOULD THE COLUMN HEADER APPEAR? CHOOSE FROM {U,B,C}
;;^DD(357.2,.06,3)
;;=B=bold,U=underline,C=center. You can enter any combination of {B,U,C}.
;;^DD(357.2,.06,21,0)
;;=^^2^2^2930527^
;;^DD(357.2,.06,21,1,0)
;;=
;;^DD(357.2,.06,21,2,0)
;;=The column header can be give characteristics, such as centered and bold.
;;^DD(357.2,.06,"DT")
;;=2930616
;;^DD(357.2,.07,0)
;;=SUBCOLUMNS SEPARATED WITH?^RS^1:ONE SPACE;2:TWO SPACES;3:LINE;4:SPACE/LINE/SPACE;^0;7^Q
;;^DD(357.2,.07,.1)
;;=HOW SHOULD THE SUBCOLUMNS BE SEPARATED?
IBINI07N ; ; 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 ;;^DIC(357.2,0,"GL")
+2 ;;=^IBE(357.2,
+3 ;;^DIC("B","SELECTION LIST",357.2)
+4 ;;=
+5 ;;^DIC(357.2,"%D",0)
+6 ;;=^^10^10^2940217^
+7 ;;^DIC(357.2,"%D",1,0)
+8 ;;=
+9 ;;^DIC(357.2,"%D",2,0)
+10 ;;=
+11 ;;^DIC(357.2,"%D",3,0)
+12 ;;=
+13 ;;^DIC(357.2,"%D",4,0)
+14 ;;=
+15 ;;^DIC(357.2,"%D",5,0)
+16 ;;=
+17 ;;^DIC(357.2,"%D",6,0)
+18 ;;=This file contains descriptions of 'selection lists'. A selection list is
+19 ;;^DIC(357.2,"%D",7,0)
+20 ;;=a rectangular area in a block that contains a list. The list has 'columns'
+21 ;;^DIC(357.2,"%D",8,0)
+22 ;;=of 'selections'. The columns have 'subcolumns', which can either contain
+23 ;;^DIC(357.2,"%D",9,0)
+24 ;;=text or a 'marking area'. A marking area is an area on the form designed
+25 ;;^DIC(357.2,"%D",10,0)
+26 ;;=to be checked to indicate that a choice is being made from the list.
+27 ;;^DD(357.2,0)
+28 ;;=FIELD^^2^12
+29 ;;^DD(357.2,0,"DDA")
+30 ;;=N
+31 ;;^DD(357.2,0,"DIK")
+32 ;;=IBXF2
+33 ;;^DD(357.2,0,"DT")
+34 ;;=2930427
+35 ;;^DD(357.2,0,"ID",.02)
+36 ;;=W ""
+37 ;;^DD(357.2,0,"ID",.11)
+38 ;;=W ""
+39 ;;^DD(357.2,0,"IX","B",357.2,.01)
+40 ;;=
+41 ;;^DD(357.2,0,"IX","C",357.2,.02)
+42 ;;=
+43 ;;^DD(357.2,0,"NM","SELECTION LIST")
+44 ;;=
+45 ;;^DD(357.2,0,"PT",357.3,.03)
+46 ;;=
+47 ;;^DD(357.2,0,"PT",357.4,.03)
+48 ;;=
+49 ;;^DD(357.2,.01,0)
+50 ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
+51 ;;^DD(357.2,.01,1,0)
+52 ;;=^.1
+53 ;;^DD(357.2,.01,1,1,0)
+54 ;;=357.2^B
+55 ;;^DD(357.2,.01,1,1,1)
+56 ;;=S ^IBE(357.2,"B",$E(X,1,30),DA)=""
+57 ;;^DD(357.2,.01,1,1,2)
+58 ;;=K ^IBE(357.2,"B",$E(X,1,30),DA)
+59 ;;^DD(357.2,.01,3)
+60 ;;=Answer must be 3-30 characters in length.
+61 ;;^DD(357.2,.01,21,0)
+62 ;;=^^2^2^2930527^
+63 ;;^DD(357.2,.01,21,1,0)
+64 ;;=
+65 ;;^DD(357.2,.01,21,2,0)
+66 ;;=The name of the list.
+67 ;;^DD(357.2,.01,"DEL",1,0)
+68 ;;=I '$G(IBLISTPR) W "...Selection Lists can only be deleted through the Encounter Form Utilities!"
+69 ;;^DD(357.2,.01,"DT")
+70 ;;=2921119
+71 ;;^DD(357.2,.02,0)
+72 ;;=BLOCK^RP357.1'^IBE(357.1,^0;2^Q
+73 ;;^DD(357.2,.02,1,0)
+74 ;;=^.1
+75 ;;^DD(357.2,.02,1,1,0)
+76 ;;=357.2^C
+77 ;;^DD(357.2,.02,1,1,1)
+78 ;;=S ^IBE(357.2,"C",$E(X,1,30),DA)=""
+79 ;;^DD(357.2,.02,1,1,2)
+80 ;;=K ^IBE(357.2,"C",$E(X,1,30),DA)
+81 ;;^DD(357.2,.02,1,1,"DT")
+82 ;;=2921207
+83 ;;^DD(357.2,.02,3)
+84 ;;=Enter the block that the selection list should appear in.
+85 ;;^DD(357.2,.02,21,0)
+86 ;;=^^2^2^2930527^
+87 ;;^DD(357.2,.02,21,1,0)
+88 ;;=The block that the list appears on. The position of the selection list is
+89 ;;^DD(357.2,.02,21,2,0)
+90 ;;=relative to the block.
+91 ;;^DD(357.2,.02,"DT")
+92 ;;=2921207
+93 ;;^DD(357.2,.05,0)
+94 ;;=COLUMN HEADER^F^^0;5^K:$L(X)>70!($L(X)<1) X
+95 ;;^DD(357.2,.05,.1)
+96 ;;=WHAT TEXT SHOULD APPEAR AT THE TOP OF EACH COLUMN? (OPTIONAL)
+97 ;;^DD(357.2,.05,3)
+98 ;;=This header will appear at the top of the column that contains the list. If there is more than one column it will appear at the top of each.
+99 ;;^DD(357.2,.05,21,0)
+100 ;;=^^2^2^2930527^
+101 ;;^DD(357.2,.05,21,1,0)
+102 ;;=
+103 ;;^DD(357.2,.05,21,2,0)
+104 ;;=The text that appears at the top of each column (NOT subcolumn).
+105 ;;^DD(357.2,.05,"DT")
+106 ;;=2930415
+107 ;;^DD(357.2,.06,0)
+108 ;;=COLUMN HEADER APPEARANCE^FX^^0;6^S X=$$UPPER^VALM1(X) K:$L(X)>3!("UBC"'[$E(X,1))!("UBC"'[$E(X,2))!("UBC"'[$E(X,3)) X
+109 ;;^DD(357.2,.06,.1)
+110 ;;=HOW SHOULD THE COLUMN HEADER APPEAR? CHOOSE FROM {U,B,C}
+111 ;;^DD(357.2,.06,3)
+112 ;;=B=bold,U=underline,C=center. You can enter any combination of {B,U,C}.
+113 ;;^DD(357.2,.06,21,0)
+114 ;;=^^2^2^2930527^
+115 ;;^DD(357.2,.06,21,1,0)
+116 ;;=
+117 ;;^DD(357.2,.06,21,2,0)
+118 ;;=The column header can be give characteristics, such as centered and bold.
+119 ;;^DD(357.2,.06,"DT")
+120 ;;=2930616
+121 ;;^DD(357.2,.07,0)
+122 ;;=SUBCOLUMNS SEPARATED WITH?^RS^1:ONE SPACE;2:TWO SPACES;3:LINE;4:SPACE/LINE/SPACE;^0;7^Q
+123 ;;^DD(357.2,.07,.1)
+124 ;;=HOW SHOULD THE SUBCOLUMNS BE SEPARATED?