IBDEI00J ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(358.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(358.3,0,"GL")
;;=^IBE(358.3,
;;^DIC("B","IMP/EXP SELECTION",358.3)
;;=
;;^DIC(358.3,"%D",0)
;;=^^4^4^2940217^
;;^DIC(358.3,"%D",1,0)
;;=
;;^DIC(358.3,"%D",2,0)
;;=This file is nearly identical to file #357.3. It is used by the
;;^DIC(358.3,"%D",3,0)
;;=Import/Export Utility as a temporary staging area for data from that file
;;^DIC(358.3,"%D",4,0)
;;=that is being imported or exported.
;;^DD(358.3,0)
;;=FIELD^^1^5
;;^DD(358.3,0,"ID",.03)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(358.2,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(358.2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(358.3,0,"ID",.04)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(358.4,+$P(^(0),U,4),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(358.4,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(358.3,0,"IX","APO",358.3,.03)
;;=
;;^DD(358.3,0,"IX","APO1",358.3,.04)
;;=
;;^DD(358.3,0,"IX","APO2",358.3,.05)
;;=
;;^DD(358.3,0,"IX","B",358.3,.01)
;;=
;;^DD(358.3,0,"IX","C",358.3,.03)
;;=
;;^DD(358.3,0,"IX","D",358.3,.04)
;;=
;;^DD(358.3,0,"NM","IMP/EXP SELECTION")
;;=
;;^DD(358.3,.01,0)
;;=SELECTION ID^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
;;^DD(358.3,.01,1,0)
;;=^.1
;;^DD(358.3,.01,1,1,0)
;;=358.3^B
;;^DD(358.3,.01,1,1,1)
;;=S ^IBE(358.3,"B",$E(X,1,30),DA)=""
;;^DD(358.3,.01,1,1,2)
;;=K ^IBE(358.3,"B",$E(X,1,30),DA)
;;^DD(358.3,.01,3)
;;=Answer must be 3-30 characters in length.
;;^DD(358.3,.01,21,0)
;;=^^2^2^2930309^
;;^DD(358.3,.01,21,1,0)
;;=
;;^DD(358.3,.01,21,2,0)
;;=The ID passed by the package.
;;^DD(358.3,.01,"DT")
;;=2921119
;;^DD(358.3,.03,0)
;;=SELECTION LIST^RP358.2'^IBE(358.2,^0;3^Q
;;^DD(358.3,.03,1,0)
;;=^.1
;;^DD(358.3,.03,1,1,0)
;;=358.3^C
;;^DD(358.3,.03,1,1,1)
;;=S ^IBE(358.3,"C",$E(X,1,30),DA)=""
;;^DD(358.3,.03,1,1,2)
;;=K ^IBE(358.3,"C",$E(X,1,30),DA)
;;^DD(358.3,.03,1,1,"DT")
;;=2921127
;;^DD(358.3,.03,1,2,0)
;;=358.3^APO^MUMPS
;;^DD(358.3,.03,1,2,1)
;;=I $P(^IBE(358.3,DA,0),U,5)]"",$P(^(0),U,4) S ^IBE(358.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)=""
;;^DD(358.3,.03,1,2,2)
;;=I $P(^IBE(358.3,DA,0),U,5)]"",$P(^(0),U,4) K ^IBE(358.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)
;;^DD(358.3,.03,1,2,"DT")
;;=2921222
;;^DD(358.3,.03,21,0)
;;=^^2^2^2921215^
;;^DD(358.3,.03,21,1,0)
;;=
;;^DD(358.3,.03,21,2,0)
;;=Identifies the selection list that this selection belongs on.
;;^DD(358.3,.03,"DT")
;;=2921222
;;^DD(358.3,.04,0)
;;=SELECTION GROUP^RP358.4^IBE(358.4,^0;4^Q
;;^DD(358.3,.04,1,0)
;;=^.1
;;^DD(358.3,.04,1,1,0)
;;=358.3^D
;;^DD(358.3,.04,1,1,1)
;;=S ^IBE(358.3,"D",$E(X,1,30),DA)=""
;;^DD(358.3,.04,1,1,2)
;;=K ^IBE(358.3,"D",$E(X,1,30),DA)
;;^DD(358.3,.04,1,1,"DT")
;;=2921221
;;^DD(358.3,.04,1,2,0)
;;=358.3^APO1^MUMPS
;;^DD(358.3,.04,1,2,1)
;;=I $P(^IBE(358.3,DA,0),U,5)]"",$P(^(0),U,3) S ^IBE(358.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)=""
;;^DD(358.3,.04,1,2,2)
;;=I $P(^IBE(358.3,DA,0),U,5)]"",$P(^(0),U,3) K ^IBE(358.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)
;;^DD(358.3,.04,1,2,"DT")
;;=2921222
;;^DD(358.3,.04,3)
;;=Entries on a list are grouped under group headers - under which header should this entry appear?
;;^DD(358.3,.04,21,0)
;;=^^3^3^2930607^
;;^DD(358.3,.04,21,1,0)
;;=
;;^DD(358.3,.04,21,2,0)
;;=The SELECTION GROUP that the selection belongs to.The selection will
;;^DD(358.3,.04,21,3,0)
;;=appear under the group header on the form.
;;^DD(358.3,.04,"DT")
;;=2921222
;;^DD(358.3,.05,0)
;;=PRINT ORDER WITHIN GROUP^RNJ6,2^^0;5^K:+X'=X!(X>999.99)!(X<0)!(X?.E1"."3N.N) X
IBDEI00J ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(358.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(358.3,0,"GL")
+2 ;;=^IBE(358.3,
+3 ;;^DIC("B","IMP/EXP SELECTION",358.3)
+4 ;;=
+5 ;;^DIC(358.3,"%D",0)
+6 ;;=^^4^4^2940217^
+7 ;;^DIC(358.3,"%D",1,0)
+8 ;;=
+9 ;;^DIC(358.3,"%D",2,0)
+10 ;;=This file is nearly identical to file #357.3. It is used by the
+11 ;;^DIC(358.3,"%D",3,0)
+12 ;;=Import/Export Utility as a temporary staging area for data from that file
+13 ;;^DIC(358.3,"%D",4,0)
+14 ;;=that is being imported or exported.
+15 ;;^DD(358.3,0)
+16 ;;=FIELD^^1^5
+17 ;;^DD(358.3,0,"ID",.03)
+18 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(358.2,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(358.2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+19 ;;^DD(358.3,0,"ID",.04)
+20 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(358.4,+$P(^(0),U,4),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(358.4,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+21 ;;^DD(358.3,0,"IX","APO",358.3,.03)
+22 ;;=
+23 ;;^DD(358.3,0,"IX","APO1",358.3,.04)
+24 ;;=
+25 ;;^DD(358.3,0,"IX","APO2",358.3,.05)
+26 ;;=
+27 ;;^DD(358.3,0,"IX","B",358.3,.01)
+28 ;;=
+29 ;;^DD(358.3,0,"IX","C",358.3,.03)
+30 ;;=
+31 ;;^DD(358.3,0,"IX","D",358.3,.04)
+32 ;;=
+33 ;;^DD(358.3,0,"NM","IMP/EXP SELECTION")
+34 ;;=
+35 ;;^DD(358.3,.01,0)
+36 ;;=SELECTION ID^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
+37 ;;^DD(358.3,.01,1,0)
+38 ;;=^.1
+39 ;;^DD(358.3,.01,1,1,0)
+40 ;;=358.3^B
+41 ;;^DD(358.3,.01,1,1,1)
+42 ;;=S ^IBE(358.3,"B",$E(X,1,30),DA)=""
+43 ;;^DD(358.3,.01,1,1,2)
+44 ;;=K ^IBE(358.3,"B",$E(X,1,30),DA)
+45 ;;^DD(358.3,.01,3)
+46 ;;=Answer must be 3-30 characters in length.
+47 ;;^DD(358.3,.01,21,0)
+48 ;;=^^2^2^2930309^
+49 ;;^DD(358.3,.01,21,1,0)
+50 ;;=
+51 ;;^DD(358.3,.01,21,2,0)
+52 ;;=The ID passed by the package.
+53 ;;^DD(358.3,.01,"DT")
+54 ;;=2921119
+55 ;;^DD(358.3,.03,0)
+56 ;;=SELECTION LIST^RP358.2'^IBE(358.2,^0;3^Q
+57 ;;^DD(358.3,.03,1,0)
+58 ;;=^.1
+59 ;;^DD(358.3,.03,1,1,0)
+60 ;;=358.3^C
+61 ;;^DD(358.3,.03,1,1,1)
+62 ;;=S ^IBE(358.3,"C",$E(X,1,30),DA)=""
+63 ;;^DD(358.3,.03,1,1,2)
+64 ;;=K ^IBE(358.3,"C",$E(X,1,30),DA)
+65 ;;^DD(358.3,.03,1,1,"DT")
+66 ;;=2921127
+67 ;;^DD(358.3,.03,1,2,0)
+68 ;;=358.3^APO^MUMPS
+69 ;;^DD(358.3,.03,1,2,1)
+70 ;;=I $P(^IBE(358.3,DA,0),U,5)]"",$P(^(0),U,4) S ^IBE(358.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)=""
+71 ;;^DD(358.3,.03,1,2,2)
+72 ;;=I $P(^IBE(358.3,DA,0),U,5)]"",$P(^(0),U,4) K ^IBE(358.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)
+73 ;;^DD(358.3,.03,1,2,"DT")
+74 ;;=2921222
+75 ;;^DD(358.3,.03,21,0)
+76 ;;=^^2^2^2921215^
+77 ;;^DD(358.3,.03,21,1,0)
+78 ;;=
+79 ;;^DD(358.3,.03,21,2,0)
+80 ;;=Identifies the selection list that this selection belongs on.
+81 ;;^DD(358.3,.03,"DT")
+82 ;;=2921222
+83 ;;^DD(358.3,.04,0)
+84 ;;=SELECTION GROUP^RP358.4^IBE(358.4,^0;4^Q
+85 ;;^DD(358.3,.04,1,0)
+86 ;;=^.1
+87 ;;^DD(358.3,.04,1,1,0)
+88 ;;=358.3^D
+89 ;;^DD(358.3,.04,1,1,1)
+90 ;;=S ^IBE(358.3,"D",$E(X,1,30),DA)=""
+91 ;;^DD(358.3,.04,1,1,2)
+92 ;;=K ^IBE(358.3,"D",$E(X,1,30),DA)
+93 ;;^DD(358.3,.04,1,1,"DT")
+94 ;;=2921221
+95 ;;^DD(358.3,.04,1,2,0)
+96 ;;=358.3^APO1^MUMPS
+97 ;;^DD(358.3,.04,1,2,1)
+98 ;;=I $P(^IBE(358.3,DA,0),U,5)]"",$P(^(0),U,3) S ^IBE(358.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)=""
+99 ;;^DD(358.3,.04,1,2,2)
+100 ;;=I $P(^IBE(358.3,DA,0),U,5)]"",$P(^(0),U,3) K ^IBE(358.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)
+101 ;;^DD(358.3,.04,1,2,"DT")
+102 ;;=2921222
+103 ;;^DD(358.3,.04,3)
+104 ;;=Entries on a list are grouped under group headers - under which header should this entry appear?
+105 ;;^DD(358.3,.04,21,0)
+106 ;;=^^3^3^2930607^
+107 ;;^DD(358.3,.04,21,1,0)
+108 ;;=
+109 ;;^DD(358.3,.04,21,2,0)
+110 ;;=The SELECTION GROUP that the selection belongs to.The selection will
+111 ;;^DD(358.3,.04,21,3,0)
+112 ;;=appear under the group header on the form.
+113 ;;^DD(358.3,.04,"DT")
+114 ;;=2921222
+115 ;;^DD(358.3,.05,0)
+116 ;;=PRINT ORDER WITHIN GROUP^RNJ6,2^^0;5^K:+X'=X!(X>999.99)!(X<0)!(X?.E1"."3N.N) X