IBINI07S ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(357.3) 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.3,0,"GL")
;;=^IBE(357.3,
;;^DIC("B","SELECTION",357.3)
;;=
;;^DIC(357.3,"%D",0)
;;=^^4^4^2931214^^^
;;^DIC(357.3,"%D",1,0)
;;=
;;^DIC(357.3,"%D",2,0)
;;=Contains the items appearing on the SELECTION LISTS. A selection can be
;;^DIC(357.3,"%D",3,0)
;;=composed of several fields, hence can occupy several subcolumns. Only the
;;^DIC(357.3,"%D",4,0)
;;=text is stored here, not the MARKING SYMBOLS.
;;^DD(357.3,0)
;;=FIELD^^1^6
;;^DD(357.3,0,"DIK")
;;=IBXF3
;;^DD(357.3,0,"DT")
;;=2931020
;;^DD(357.3,0,"ID",.03)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(357.2,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(357.2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(357.3,0,"ID",.04)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(357.4,+$P(^(0),U,4),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(357.4,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(357.3,0,"IX","APO",357.3,.03)
;;=
;;^DD(357.3,0,"IX","APO1",357.3,.04)
;;=
;;^DD(357.3,0,"IX","APO2",357.3,.05)
;;=
;;^DD(357.3,0,"IX","B",357.3,.01)
;;=
;;^DD(357.3,0,"IX","C",357.3,.03)
;;=
;;^DD(357.3,0,"IX","D",357.3,.04)
;;=
;;^DD(357.3,0,"NM","SELECTION")
;;=
;;^DD(357.3,.01,0)
;;=SELECTION ID^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
;;^DD(357.3,.01,1,0)
;;=^.1
;;^DD(357.3,.01,1,1,0)
;;=357.3^B
;;^DD(357.3,.01,1,1,1)
;;=S ^IBE(357.3,"B",$E(X,1,30),DA)=""
;;^DD(357.3,.01,1,1,2)
;;=K ^IBE(357.3,"B",$E(X,1,30),DA)
;;^DD(357.3,.01,3)
;;=Answer must be 3-30 characters in length.
;;^DD(357.3,.01,21,0)
;;=^^2^2^2930309^
;;^DD(357.3,.01,21,1,0)
;;=
;;^DD(357.3,.01,21,2,0)
;;=The ID passed by the package.
;;^DD(357.3,.01,"DT")
;;=2921119
;;^DD(357.3,.02,0)
;;=PLACE HOLDER ONLY^S^0:NO;1:YES;^0;2^Q
;;^DD(357.3,.02,3)
;;=Enter YES if this is a real entry on the list, NO if it is a place holder, used to add some blank space to the list.
;;^DD(357.3,.02,"DT")
;;=2931020
;;^DD(357.3,.03,0)
;;=SELECTION LIST^RP357.2'^IBE(357.2,^0;3^Q
;;^DD(357.3,.03,1,0)
;;=^.1
;;^DD(357.3,.03,1,1,0)
;;=357.3^C
;;^DD(357.3,.03,1,1,1)
;;=S ^IBE(357.3,"C",$E(X,1,30),DA)=""
;;^DD(357.3,.03,1,1,2)
;;=K ^IBE(357.3,"C",$E(X,1,30),DA)
;;^DD(357.3,.03,1,1,"DT")
;;=2921127
;;^DD(357.3,.03,1,2,0)
;;=357.3^APO^MUMPS
;;^DD(357.3,.03,1,2,1)
;;=I $P(^IBE(357.3,DA,0),U,5)]"",$P(^(0),U,4) S ^IBE(357.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)=""
;;^DD(357.3,.03,1,2,2)
;;=I $P(^IBE(357.3,DA,0),U,5)]"",$P(^(0),U,4) K ^IBE(357.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)
;;^DD(357.3,.03,1,2,"%D",0)
;;=^^7^7^2940224^
;;^DD(357.3,.03,1,2,"%D",1,0)
;;=
;;^DD(357.3,.03,1,2,"%D",2,0)
;;=Allows all selections for a particular group in a selection list to be
;;^DD(357.3,.03,1,2,"%D",3,0)
;;=found in the order that they should appear. The subscripts are
;;^DD(357.3,.03,1,2,"%D",4,0)
;;=^IBE(357.3,"APO",<selection list ien>,<group ien>,<print order within
;;^DD(357.3,.03,1,2,"%D",5,0)
;;=group>,<selection ien>). If this field is re-indexed then the APO1 index
;;^DD(357.3,.03,1,2,"%D",6,0)
;;=on the .04 field and the APO2 index on the .05 field need not be
;;^DD(357.3,.03,1,2,"%D",7,0)
;;=re-indexed.
;;^DD(357.3,.03,1,2,"DT")
;;=2921222
;;^DD(357.3,.03,21,0)
;;=^^2^2^2921215^
;;^DD(357.3,.03,21,1,0)
;;=
;;^DD(357.3,.03,21,2,0)
;;=Identifies the selection list that this selection belongs on.
;;^DD(357.3,.03,"DT")
;;=2921222
;;^DD(357.3,.04,0)
;;=SELECTION GROUP^RP357.4^IBE(357.4,^0;4^Q
;;^DD(357.3,.04,1,0)
;;=^.1
;;^DD(357.3,.04,1,1,0)
;;=357.3^D
;;^DD(357.3,.04,1,1,1)
;;=S ^IBE(357.3,"D",$E(X,1,30),DA)=""
IBINI07S ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(357.3)
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.3,0,"GL")
+2 ;;=^IBE(357.3,
+3 ;;^DIC("B","SELECTION",357.3)
+4 ;;=
+5 ;;^DIC(357.3,"%D",0)
+6 ;;=^^4^4^2931214^^^
+7 ;;^DIC(357.3,"%D",1,0)
+8 ;;=
+9 ;;^DIC(357.3,"%D",2,0)
+10 ;;=Contains the items appearing on the SELECTION LISTS. A selection can be
+11 ;;^DIC(357.3,"%D",3,0)
+12 ;;=composed of several fields, hence can occupy several subcolumns. Only the
+13 ;;^DIC(357.3,"%D",4,0)
+14 ;;=text is stored here, not the MARKING SYMBOLS.
+15 ;;^DD(357.3,0)
+16 ;;=FIELD^^1^6
+17 ;;^DD(357.3,0,"DIK")
+18 ;;=IBXF3
+19 ;;^DD(357.3,0,"DT")
+20 ;;=2931020
+21 ;;^DD(357.3,0,"ID",.03)
+22 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(357.2,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(357.2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+23 ;;^DD(357.3,0,"ID",.04)
+24 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(357.4,+$P(^(0),U,4),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(357.4,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+25 ;;^DD(357.3,0,"IX","APO",357.3,.03)
+26 ;;=
+27 ;;^DD(357.3,0,"IX","APO1",357.3,.04)
+28 ;;=
+29 ;;^DD(357.3,0,"IX","APO2",357.3,.05)
+30 ;;=
+31 ;;^DD(357.3,0,"IX","B",357.3,.01)
+32 ;;=
+33 ;;^DD(357.3,0,"IX","C",357.3,.03)
+34 ;;=
+35 ;;^DD(357.3,0,"IX","D",357.3,.04)
+36 ;;=
+37 ;;^DD(357.3,0,"NM","SELECTION")
+38 ;;=
+39 ;;^DD(357.3,.01,0)
+40 ;;=SELECTION ID^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
+41 ;;^DD(357.3,.01,1,0)
+42 ;;=^.1
+43 ;;^DD(357.3,.01,1,1,0)
+44 ;;=357.3^B
+45 ;;^DD(357.3,.01,1,1,1)
+46 ;;=S ^IBE(357.3,"B",$E(X,1,30),DA)=""
+47 ;;^DD(357.3,.01,1,1,2)
+48 ;;=K ^IBE(357.3,"B",$E(X,1,30),DA)
+49 ;;^DD(357.3,.01,3)
+50 ;;=Answer must be 3-30 characters in length.
+51 ;;^DD(357.3,.01,21,0)
+52 ;;=^^2^2^2930309^
+53 ;;^DD(357.3,.01,21,1,0)
+54 ;;=
+55 ;;^DD(357.3,.01,21,2,0)
+56 ;;=The ID passed by the package.
+57 ;;^DD(357.3,.01,"DT")
+58 ;;=2921119
+59 ;;^DD(357.3,.02,0)
+60 ;;=PLACE HOLDER ONLY^S^0:NO;1:YES;^0;2^Q
+61 ;;^DD(357.3,.02,3)
+62 ;;=Enter YES if this is a real entry on the list, NO if it is a place holder, used to add some blank space to the list.
+63 ;;^DD(357.3,.02,"DT")
+64 ;;=2931020
+65 ;;^DD(357.3,.03,0)
+66 ;;=SELECTION LIST^RP357.2'^IBE(357.2,^0;3^Q
+67 ;;^DD(357.3,.03,1,0)
+68 ;;=^.1
+69 ;;^DD(357.3,.03,1,1,0)
+70 ;;=357.3^C
+71 ;;^DD(357.3,.03,1,1,1)
+72 ;;=S ^IBE(357.3,"C",$E(X,1,30),DA)=""
+73 ;;^DD(357.3,.03,1,1,2)
+74 ;;=K ^IBE(357.3,"C",$E(X,1,30),DA)
+75 ;;^DD(357.3,.03,1,1,"DT")
+76 ;;=2921127
+77 ;;^DD(357.3,.03,1,2,0)
+78 ;;=357.3^APO^MUMPS
+79 ;;^DD(357.3,.03,1,2,1)
+80 ;;=I $P(^IBE(357.3,DA,0),U,5)]"",$P(^(0),U,4) S ^IBE(357.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)=""
+81 ;;^DD(357.3,.03,1,2,2)
+82 ;;=I $P(^IBE(357.3,DA,0),U,5)]"",$P(^(0),U,4) K ^IBE(357.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)
+83 ;;^DD(357.3,.03,1,2,"%D",0)
+84 ;;=^^7^7^2940224^
+85 ;;^DD(357.3,.03,1,2,"%D",1,0)
+86 ;;=
+87 ;;^DD(357.3,.03,1,2,"%D",2,0)
+88 ;;=Allows all selections for a particular group in a selection list to be
+89 ;;^DD(357.3,.03,1,2,"%D",3,0)
+90 ;;=found in the order that they should appear. The subscripts are
+91 ;;^DD(357.3,.03,1,2,"%D",4,0)
+92 ;;=^IBE(357.3,"APO",<selection list ien>,<group ien>,<print order within
+93 ;;^DD(357.3,.03,1,2,"%D",5,0)
+94 ;;=group>,<selection ien>). If this field is re-indexed then the APO1 index
+95 ;;^DD(357.3,.03,1,2,"%D",6,0)
+96 ;;=on the .04 field and the APO2 index on the .05 field need not be
+97 ;;^DD(357.3,.03,1,2,"%D",7,0)
+98 ;;=re-indexed.
+99 ;;^DD(357.3,.03,1,2,"DT")
+100 ;;=2921222
+101 ;;^DD(357.3,.03,21,0)
+102 ;;=^^2^2^2921215^
+103 ;;^DD(357.3,.03,21,1,0)
+104 ;;=
+105 ;;^DD(357.3,.03,21,2,0)
+106 ;;=Identifies the selection list that this selection belongs on.
+107 ;;^DD(357.3,.03,"DT")
+108 ;;=2921222
+109 ;;^DD(357.3,.04,0)
+110 ;;=SELECTION GROUP^RP357.4^IBE(357.4,^0;4^Q
+111 ;;^DD(357.3,.04,1,0)
+112 ;;=^.1
+113 ;;^DD(357.3,.04,1,1,0)
+114 ;;=357.3^D
+115 ;;^DD(357.3,.04,1,1,1)
+116 ;;=S ^IBE(357.3,"D",$E(X,1,30),DA)=""