- IBINI07V ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(357.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(357.4,0,"GL")
- ;;=^IBE(357.4,
- ;;^DIC("B","SELECTION GROUP",357.4)
- ;;=
- ;;^DIC(357.4,"%D",0)
- ;;=^^3^3^2931214^^
- ;;^DIC(357.4,"%D",1,0)
- ;;=
- ;;^DIC(357.4,"%D",2,0)
- ;;=A Selection Group is a set of items on a list and the header that those
- ;;^DIC(357.4,"%D",3,0)
- ;;=items should appear under.
- ;;^DD(357.4,0)
- ;;=FIELD^^.03^3
- ;;^DD(357.4,0,"DDA")
- ;;=N
- ;;^DD(357.4,0,"DIK")
- ;;=IBXF4
- ;;^DD(357.4,0,"DT")
- ;;=2930604
- ;;^DD(357.4,0,"ID",.02)
- ;;=W " ",$P(^(0),U,2)
- ;;^DD(357.4,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.4,0,"IX","APO",357.4,.02)
- ;;=
- ;;^DD(357.4,0,"IX","APO1",357.4,.03)
- ;;=
- ;;^DD(357.4,0,"IX","B",357.4,.01)
- ;;=
- ;;^DD(357.4,0,"IX","D",357.4,.03)
- ;;=
- ;;^DD(357.4,0,"NM","SELECTION GROUP")
- ;;=
- ;;^DD(357.4,0,"PT",357.3,.04)
- ;;=
- ;;^DD(357.4,.01,0)
- ;;=HEADER^RF^^0;1^K:$L(X)>40!($L(X)<1) X
- ;;^DD(357.4,.01,1,0)
- ;;=^.1
- ;;^DD(357.4,.01,1,1,0)
- ;;=357.4^B
- ;;^DD(357.4,.01,1,1,1)
- ;;=S ^IBE(357.4,"B",$E(X,1,30),DA)=""
- ;;^DD(357.4,.01,1,1,2)
- ;;=K ^IBE(357.4,"B",$E(X,1,30),DA)
- ;;^DD(357.4,.01,3)
- ;;=What text do you want to appear at the top of this group?
- ;;^DD(357.4,.01,21,0)
- ;;=^^2^2^2930604^^^^
- ;;^DD(357.4,.01,21,1,0)
- ;;=
- ;;^DD(357.4,.01,21,2,0)
- ;;=The name given to a group of selections appearing on a selection list.
- ;;^DD(357.4,.01,"DEL",1,0)
- ;;=I '$G(IBLISTPR) W "...Selection Groups can only be deleted through the Encounter Form Utilities!"
- ;;^DD(357.4,.01,"DT")
- ;;=2930604
- ;;^DD(357.4,.02,0)
- ;;=PRINT ORDER^RNJ5,2^^0;2^K:+X'=X!(X>99.99)!(X<0)!(X?.E1"."3N.N) X
- ;;^DD(357.4,.02,1,0)
- ;;=^.1
- ;;^DD(357.4,.02,1,1,0)
- ;;=357.4^APO^MUMPS
- ;;^DD(357.4,.02,1,1,1)
- ;;=I $P(^IBE(357.4,DA,0),U,3) S ^IBE(357.4,"APO",$P(^(0),U,3),X,DA)=""
- ;;^DD(357.4,.02,1,1,2)
- ;;=I $P(^IBE(357.4,DA,0),U,3) K ^IBE(357.4,"APO",$P(^(0),U,3),X,DA)
- ;;^DD(357.4,.02,1,1,"%D",0)
- ;;=^^5^5^2940224^
- ;;^DD(357.4,.02,1,1,"%D",1,0)
- ;;=
- ;;^DD(357.4,.02,1,1,"%D",2,0)
- ;;=Allows all groups in a selection list to be found in the order that they
- ;;^DD(357.4,.02,1,1,"%D",3,0)
- ;;=should appear. The subscripts are ^IBE(357.4,"APO",<selection list
- ;;^DD(357.4,.02,1,1,"%D",4,0)
- ;;=ien>,<print order for group>,<group ien>). If this field is re-indexed
- ;;^DD(357.4,.02,1,1,"%D",5,0)
- ;;=then the APO1 index on the .03 field need not be re-indexed.
- ;;^DD(357.4,.02,1,1,"DT")
- ;;=2921222
- ;;^DD(357.4,.02,3)
- ;;=Type a Number between 0 and 99.99, 2 Decimal Digits
- ;;^DD(357.4,.02,21,0)
- ;;=^^5^5^2921222^^^^
- ;;^DD(357.4,.02,21,1,0)
- ;;=
- ;;^DD(357.4,.02,21,2,0)
- ;;=This will define the order that a group of selections will appear in as
- ;;^DD(357.4,.02,21,3,0)
- ;;=compared to the other groups of selections.
- ;;^DD(357.4,.02,21,4,0)
- ;;=A group header "BLANK" will be created by default with order number 0.
- ;;^DD(357.4,.02,21,5,0)
- ;;=This header will not print to the form.
- ;;^DD(357.4,.02,"DT")
- ;;=2921222
- ;;^DD(357.4,.03,0)
- ;;=SELECTION LIST^RP357.2'^IBE(357.2,^0;3^Q
- ;;^DD(357.4,.03,1,0)
- ;;=^.1
- ;;^DD(357.4,.03,1,1,0)
- ;;=357.4^D
- ;;^DD(357.4,.03,1,1,1)
- ;;=S ^IBE(357.4,"D",$E(X,1,30),DA)=""
- ;;^DD(357.4,.03,1,1,2)
- ;;=K ^IBE(357.4,"D",$E(X,1,30),DA)
- ;;^DD(357.4,.03,1,1,"%D",0)
- ;;=^^1^1^2921218^
- ;;^DD(357.4,.03,1,1,"%D",1,0)
- ;;=Used to find all the groups belonging to a selection list.
- ;;^DD(357.4,.03,1,1,"DT")
- ;;=2921218
- ;;^DD(357.4,.03,1,2,0)
- ;;=357.4^APO1^MUMPS
- ;;^DD(357.4,.03,1,2,1)
- ;;=I $P(^IBE(357.4,DA,0),U,2)]"" S ^IBE(357.4,"APO",X,$P(^(0),U,2),DA)=""
- IBINI07V ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(357.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(357.4,0,"GL")
- +2 ;;=^IBE(357.4,
- +3 ;;^DIC("B","SELECTION GROUP",357.4)
- +4 ;;=
- +5 ;;^DIC(357.4,"%D",0)
- +6 ;;=^^3^3^2931214^^
- +7 ;;^DIC(357.4,"%D",1,0)
- +8 ;;=
- +9 ;;^DIC(357.4,"%D",2,0)
- +10 ;;=A Selection Group is a set of items on a list and the header that those
- +11 ;;^DIC(357.4,"%D",3,0)
- +12 ;;=items should appear under.
- +13 ;;^DD(357.4,0)
- +14 ;;=FIELD^^.03^3
- +15 ;;^DD(357.4,0,"DDA")
- +16 ;;=N
- +17 ;;^DD(357.4,0,"DIK")
- +18 ;;=IBXF4
- +19 ;;^DD(357.4,0,"DT")
- +20 ;;=2930604
- +21 ;;^DD(357.4,0,"ID",.02)
- +22 ;;=W " ",$P(^(0),U,2)
- +23 ;;^DD(357.4,0,"ID",.03)
- +24 ;;=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
- +25 ;;^DD(357.4,0,"IX","APO",357.4,.02)
- +26 ;;=
- +27 ;;^DD(357.4,0,"IX","APO1",357.4,.03)
- +28 ;;=
- +29 ;;^DD(357.4,0,"IX","B",357.4,.01)
- +30 ;;=
- +31 ;;^DD(357.4,0,"IX","D",357.4,.03)
- +32 ;;=
- +33 ;;^DD(357.4,0,"NM","SELECTION GROUP")
- +34 ;;=
- +35 ;;^DD(357.4,0,"PT",357.3,.04)
- +36 ;;=
- +37 ;;^DD(357.4,.01,0)
- +38 ;;=HEADER^RF^^0;1^K:$L(X)>40!($L(X)<1) X
- +39 ;;^DD(357.4,.01,1,0)
- +40 ;;=^.1
- +41 ;;^DD(357.4,.01,1,1,0)
- +42 ;;=357.4^B
- +43 ;;^DD(357.4,.01,1,1,1)
- +44 ;;=S ^IBE(357.4,"B",$E(X,1,30),DA)=""
- +45 ;;^DD(357.4,.01,1,1,2)
- +46 ;;=K ^IBE(357.4,"B",$E(X,1,30),DA)
- +47 ;;^DD(357.4,.01,3)
- +48 ;;=What text do you want to appear at the top of this group?
- +49 ;;^DD(357.4,.01,21,0)
- +50 ;;=^^2^2^2930604^^^^
- +51 ;;^DD(357.4,.01,21,1,0)
- +52 ;;=
- +53 ;;^DD(357.4,.01,21,2,0)
- +54 ;;=The name given to a group of selections appearing on a selection list.
- +55 ;;^DD(357.4,.01,"DEL",1,0)
- +56 ;;=I '$G(IBLISTPR) W "...Selection Groups can only be deleted through the Encounter Form Utilities!"
- +57 ;;^DD(357.4,.01,"DT")
- +58 ;;=2930604
- +59 ;;^DD(357.4,.02,0)
- +60 ;;=PRINT ORDER^RNJ5,2^^0;2^K:+X'=X!(X>99.99)!(X<0)!(X?.E1"."3N.N) X
- +61 ;;^DD(357.4,.02,1,0)
- +62 ;;=^.1
- +63 ;;^DD(357.4,.02,1,1,0)
- +64 ;;=357.4^APO^MUMPS
- +65 ;;^DD(357.4,.02,1,1,1)
- +66 ;;=I $P(^IBE(357.4,DA,0),U,3) S ^IBE(357.4,"APO",$P(^(0),U,3),X,DA)=""
- +67 ;;^DD(357.4,.02,1,1,2)
- +68 ;;=I $P(^IBE(357.4,DA,0),U,3) K ^IBE(357.4,"APO",$P(^(0),U,3),X,DA)
- +69 ;;^DD(357.4,.02,1,1,"%D",0)
- +70 ;;=^^5^5^2940224^
- +71 ;;^DD(357.4,.02,1,1,"%D",1,0)
- +72 ;;=
- +73 ;;^DD(357.4,.02,1,1,"%D",2,0)
- +74 ;;=Allows all groups in a selection list to be found in the order that they
- +75 ;;^DD(357.4,.02,1,1,"%D",3,0)
- +76 ;;=should appear. The subscripts are ^IBE(357.4,"APO",<selection list
- +77 ;;^DD(357.4,.02,1,1,"%D",4,0)
- +78 ;;=ien>,<print order for group>,<group ien>). If this field is re-indexed
- +79 ;;^DD(357.4,.02,1,1,"%D",5,0)
- +80 ;;=then the APO1 index on the .03 field need not be re-indexed.
- +81 ;;^DD(357.4,.02,1,1,"DT")
- +82 ;;=2921222
- +83 ;;^DD(357.4,.02,3)
- +84 ;;=Type a Number between 0 and 99.99, 2 Decimal Digits
- +85 ;;^DD(357.4,.02,21,0)
- +86 ;;=^^5^5^2921222^^^^
- +87 ;;^DD(357.4,.02,21,1,0)
- +88 ;;=
- +89 ;;^DD(357.4,.02,21,2,0)
- +90 ;;=This will define the order that a group of selections will appear in as
- +91 ;;^DD(357.4,.02,21,3,0)
- +92 ;;=compared to the other groups of selections.
- +93 ;;^DD(357.4,.02,21,4,0)
- +94 ;;=A group header "BLANK" will be created by default with order number 0.
- +95 ;;^DD(357.4,.02,21,5,0)
- +96 ;;=This header will not print to the form.
- +97 ;;^DD(357.4,.02,"DT")
- +98 ;;=2921222
- +99 ;;^DD(357.4,.03,0)
- +100 ;;=SELECTION LIST^RP357.2'^IBE(357.2,^0;3^Q
- +101 ;;^DD(357.4,.03,1,0)
- +102 ;;=^.1
- +103 ;;^DD(357.4,.03,1,1,0)
- +104 ;;=357.4^D
- +105 ;;^DD(357.4,.03,1,1,1)
- +106 ;;=S ^IBE(357.4,"D",$E(X,1,30),DA)=""
- +107 ;;^DD(357.4,.03,1,1,2)
- +108 ;;=K ^IBE(357.4,"D",$E(X,1,30),DA)
- +109 ;;^DD(357.4,.03,1,1,"%D",0)
- +110 ;;=^^1^1^2921218^
- +111 ;;^DD(357.4,.03,1,1,"%D",1,0)
- +112 ;;=Used to find all the groups belonging to a selection list.
- +113 ;;^DD(357.4,.03,1,1,"DT")
- +114 ;;=2921218
- +115 ;;^DD(357.4,.03,1,2,0)
- +116 ;;=357.4^APO1^MUMPS
- +117 ;;^DD(357.4,.03,1,2,1)
- +118 ;;=I $P(^IBE(357.4,DA,0),U,2)]"" S ^IBE(357.4,"APO",X,$P(^(0),U,2),DA)=""