IBDEI00P ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(358.4) 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.4,0,"GL")
;;=^IBE(358.4,
;;^DIC("B","IMP/EXP SELECTION GROUP",358.4)
;;=
;;^DIC(358.4,"%D",0)
;;=^^4^4^2940217^
;;^DIC(358.4,"%D",1,0)
;;=
;;^DIC(358.4,"%D",2,0)
;;=This file is nearly identical to file #357.4. It is used by the
;;^DIC(358.4,"%D",3,0)
;;=Import/Export Utility as a temporary staging area for data from that file
;;^DIC(358.4,"%D",4,0)
;;=that is being imported or exported.
;;^DD(358.4,0)
;;=FIELD^^.03^3
;;^DD(358.4,0,"DDA")
;;=N
;;^DD(358.4,0,"ID",.02)
;;=W " ",$P(^(0),U,2)
;;^DD(358.4,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.4,0,"IX","APO",358.4,.02)
;;=
;;^DD(358.4,0,"IX","APO1",358.4,.03)
;;=
;;^DD(358.4,0,"IX","B",358.4,.01)
;;=
;;^DD(358.4,0,"IX","D",358.4,.03)
;;=
;;^DD(358.4,0,"NM","IMP/EXP SELECTION GROUP")
;;=
;;^DD(358.4,0,"PT",358.3,.04)
;;=
;;^DD(358.4,.01,0)
;;=HEADER^RF^^0;1^K:$L(X)>40!($L(X)<1) X
;;^DD(358.4,.01,1,0)
;;=^.1
;;^DD(358.4,.01,1,1,0)
;;=358.4^B
;;^DD(358.4,.01,1,1,1)
;;=S ^IBE(358.4,"B",$E(X,1,30),DA)=""
;;^DD(358.4,.01,1,1,2)
;;=K ^IBE(358.4,"B",$E(X,1,30),DA)
;;^DD(358.4,.01,3)
;;=What text do you want to appear at the top of this group?
;;^DD(358.4,.01,21,0)
;;=^^2^2^2930604^^^^
;;^DD(358.4,.01,21,1,0)
;;=
;;^DD(358.4,.01,21,2,0)
;;=The name given to a group of selections appearing on a selection list.
;;^DD(358.4,.01,"DEL",1,0)
;;=I '$G(IBLISTPR) W "...Selection Groups can only be deleted through the Encounter Form Utilities!"
;;^DD(358.4,.01,"DT")
;;=2930604
;;^DD(358.4,.02,0)
;;=PRINT ORDER^RNJ5,2^^0;2^K:+X'=X!(X>99.99)!(X<0)!(X?.E1"."3N.N) X
;;^DD(358.4,.02,1,0)
;;=^.1
;;^DD(358.4,.02,1,1,0)
;;=358.4^APO^MUMPS
;;^DD(358.4,.02,1,1,1)
;;=I $P(^IBE(358.4,DA,0),U,3) S ^IBE(358.4,"APO",$P(^(0),U,3),X,DA)=""
;;^DD(358.4,.02,1,1,2)
;;=I $P(^IBE(358.4,DA,0),U,3) K ^IBE(358.4,"APO",$P(^(0),U,3),X,DA)
;;^DD(358.4,.02,1,1,"DT")
;;=2921222
;;^DD(358.4,.02,3)
;;=Type a Number between 0 and 99.99, 2 Decimal Digits
;;^DD(358.4,.02,21,0)
;;=^^5^5^2921222^^^^
;;^DD(358.4,.02,21,1,0)
;;=
;;^DD(358.4,.02,21,2,0)
;;=This will define the order that a group of selections will appear in as
;;^DD(358.4,.02,21,3,0)
;;=compared to the other groups of selections.
;;^DD(358.4,.02,21,4,0)
;;=A group header "BLANK" will be created by default with order number 0.
;;^DD(358.4,.02,"DT")
;;=2921222
;;^DD(358.4,.03,0)
;;=SELECTION LIST^RP358.2'^IBE(358.2,^0;3^Q
;;^DD(358.4,.03,1,0)
;;=^.1
;;^DD(358.4,.03,1,1,0)
;;=358.4^D
;;^DD(358.4,.03,1,1,1)
;;=S ^IBE(358.4,"D",$E(X,1,30),DA)=""
;;^DD(358.4,.03,1,1,2)
;;=K ^IBE(358.4,"D",$E(X,1,30),DA)
;;^DD(358.4,.03,1,1,"%D",0)
;;=^^1^1^2921218^
;;^DD(358.4,.03,1,1,"%D",1,0)
;;=Used to find all the groups belonging to a selection list.
;;^DD(358.4,.03,1,1,"DT")
;;=2921218
;;^DD(358.4,.03,1,2,0)
;;=358.4^APO1^MUMPS
;;^DD(358.4,.03,1,2,1)
;;=I $P(^IBE(358.4,DA,0),U,2)]"" S ^IBE(358.4,"APO",X,$P(^(0),U,2),DA)=""
;;^DD(358.4,.03,1,2,2)
;;=I $P(^IBE(358.4,DA,0),U,2)]"" K ^IBE(358.4,"APO",X,$P(^(0),U,2),DA)
;;^DD(358.4,.03,1,2,"DT")
;;=2921222
;;^DD(358.4,.03,3)
;;=This identifies the selection list that contains this group.
;;^DD(358.4,.03,21,0)
;;=^^2^2^2930527^
;;^DD(358.4,.03,21,1,0)
;;=
;;^DD(358.4,.03,21,2,0)
;;=The Selection List this group belongs to.
;;^DD(358.4,.03,"DT")
;;=2921222
IBDEI00P ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(358.4)
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.4,0,"GL")
+2 ;;=^IBE(358.4,
+3 ;;^DIC("B","IMP/EXP SELECTION GROUP",358.4)
+4 ;;=
+5 ;;^DIC(358.4,"%D",0)
+6 ;;=^^4^4^2940217^
+7 ;;^DIC(358.4,"%D",1,0)
+8 ;;=
+9 ;;^DIC(358.4,"%D",2,0)
+10 ;;=This file is nearly identical to file #357.4. It is used by the
+11 ;;^DIC(358.4,"%D",3,0)
+12 ;;=Import/Export Utility as a temporary staging area for data from that file
+13 ;;^DIC(358.4,"%D",4,0)
+14 ;;=that is being imported or exported.
+15 ;;^DD(358.4,0)
+16 ;;=FIELD^^.03^3
+17 ;;^DD(358.4,0,"DDA")
+18 ;;=N
+19 ;;^DD(358.4,0,"ID",.02)
+20 ;;=W " ",$P(^(0),U,2)
+21 ;;^DD(358.4,0,"ID",.03)
+22 ;;=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
+23 ;;^DD(358.4,0,"IX","APO",358.4,.02)
+24 ;;=
+25 ;;^DD(358.4,0,"IX","APO1",358.4,.03)
+26 ;;=
+27 ;;^DD(358.4,0,"IX","B",358.4,.01)
+28 ;;=
+29 ;;^DD(358.4,0,"IX","D",358.4,.03)
+30 ;;=
+31 ;;^DD(358.4,0,"NM","IMP/EXP SELECTION GROUP")
+32 ;;=
+33 ;;^DD(358.4,0,"PT",358.3,.04)
+34 ;;=
+35 ;;^DD(358.4,.01,0)
+36 ;;=HEADER^RF^^0;1^K:$L(X)>40!($L(X)<1) X
+37 ;;^DD(358.4,.01,1,0)
+38 ;;=^.1
+39 ;;^DD(358.4,.01,1,1,0)
+40 ;;=358.4^B
+41 ;;^DD(358.4,.01,1,1,1)
+42 ;;=S ^IBE(358.4,"B",$E(X,1,30),DA)=""
+43 ;;^DD(358.4,.01,1,1,2)
+44 ;;=K ^IBE(358.4,"B",$E(X,1,30),DA)
+45 ;;^DD(358.4,.01,3)
+46 ;;=What text do you want to appear at the top of this group?
+47 ;;^DD(358.4,.01,21,0)
+48 ;;=^^2^2^2930604^^^^
+49 ;;^DD(358.4,.01,21,1,0)
+50 ;;=
+51 ;;^DD(358.4,.01,21,2,0)
+52 ;;=The name given to a group of selections appearing on a selection list.
+53 ;;^DD(358.4,.01,"DEL",1,0)
+54 ;;=I '$G(IBLISTPR) W "...Selection Groups can only be deleted through the Encounter Form Utilities!"
+55 ;;^DD(358.4,.01,"DT")
+56 ;;=2930604
+57 ;;^DD(358.4,.02,0)
+58 ;;=PRINT ORDER^RNJ5,2^^0;2^K:+X'=X!(X>99.99)!(X<0)!(X?.E1"."3N.N) X
+59 ;;^DD(358.4,.02,1,0)
+60 ;;=^.1
+61 ;;^DD(358.4,.02,1,1,0)
+62 ;;=358.4^APO^MUMPS
+63 ;;^DD(358.4,.02,1,1,1)
+64 ;;=I $P(^IBE(358.4,DA,0),U,3) S ^IBE(358.4,"APO",$P(^(0),U,3),X,DA)=""
+65 ;;^DD(358.4,.02,1,1,2)
+66 ;;=I $P(^IBE(358.4,DA,0),U,3) K ^IBE(358.4,"APO",$P(^(0),U,3),X,DA)
+67 ;;^DD(358.4,.02,1,1,"DT")
+68 ;;=2921222
+69 ;;^DD(358.4,.02,3)
+70 ;;=Type a Number between 0 and 99.99, 2 Decimal Digits
+71 ;;^DD(358.4,.02,21,0)
+72 ;;=^^5^5^2921222^^^^
+73 ;;^DD(358.4,.02,21,1,0)
+74 ;;=
+75 ;;^DD(358.4,.02,21,2,0)
+76 ;;=This will define the order that a group of selections will appear in as
+77 ;;^DD(358.4,.02,21,3,0)
+78 ;;=compared to the other groups of selections.
+79 ;;^DD(358.4,.02,21,4,0)
+80 ;;=A group header "BLANK" will be created by default with order number 0.
+81 ;;^DD(358.4,.02,"DT")
+82 ;;=2921222
+83 ;;^DD(358.4,.03,0)
+84 ;;=SELECTION LIST^RP358.2'^IBE(358.2,^0;3^Q
+85 ;;^DD(358.4,.03,1,0)
+86 ;;=^.1
+87 ;;^DD(358.4,.03,1,1,0)
+88 ;;=358.4^D
+89 ;;^DD(358.4,.03,1,1,1)
+90 ;;=S ^IBE(358.4,"D",$E(X,1,30),DA)=""
+91 ;;^DD(358.4,.03,1,1,2)
+92 ;;=K ^IBE(358.4,"D",$E(X,1,30),DA)
+93 ;;^DD(358.4,.03,1,1,"%D",0)
+94 ;;=^^1^1^2921218^
+95 ;;^DD(358.4,.03,1,1,"%D",1,0)
+96 ;;=Used to find all the groups belonging to a selection list.
+97 ;;^DD(358.4,.03,1,1,"DT")
+98 ;;=2921218
+99 ;;^DD(358.4,.03,1,2,0)
+100 ;;=358.4^APO1^MUMPS
+101 ;;^DD(358.4,.03,1,2,1)
+102 ;;=I $P(^IBE(358.4,DA,0),U,2)]"" S ^IBE(358.4,"APO",X,$P(^(0),U,2),DA)=""
+103 ;;^DD(358.4,.03,1,2,2)
+104 ;;=I $P(^IBE(358.4,DA,0),U,2)]"" K ^IBE(358.4,"APO",X,$P(^(0),U,2),DA)
+105 ;;^DD(358.4,.03,1,2,"DT")
+106 ;;=2921222
+107 ;;^DD(358.4,.03,3)
+108 ;;=This identifies the selection list that contains this group.
+109 ;;^DD(358.4,.03,21,0)
+110 ;;=^^2^2^2930527^
+111 ;;^DD(358.4,.03,21,1,0)
+112 ;;=
+113 ;;^DD(358.4,.03,21,2,0)
+114 ;;=The Selection List this group belongs to.
+115 ;;^DD(358.4,.03,"DT")
+116 ;;=2921222