Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IBINI07V

IBINI07V.m

Go to the documentation of this file.
  1. IBINI07V ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. 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
  1. Q Q
  1. ;;^DIC(357.4,0,"GL")
  1. ;;=^IBE(357.4,
  1. ;;^DIC("B","SELECTION GROUP",357.4)
  1. ;;=
  1. ;;^DIC(357.4,"%D",0)
  1. ;;=^^3^3^2931214^^
  1. ;;^DIC(357.4,"%D",1,0)
  1. ;;=
  1. ;;^DIC(357.4,"%D",2,0)
  1. ;;=A Selection Group is a set of items on a list and the header that those
  1. ;;^DIC(357.4,"%D",3,0)
  1. ;;=items should appear under.
  1. ;;^DD(357.4,0)
  1. ;;=FIELD^^.03^3
  1. ;;^DD(357.4,0,"DDA")
  1. ;;=N
  1. ;;^DD(357.4,0,"DIK")
  1. ;;=IBXF4
  1. ;;^DD(357.4,0,"DT")
  1. ;;=2930604
  1. ;;^DD(357.4,0,"ID",.02)
  1. ;;=W " ",$P(^(0),U,2)
  1. ;;^DD(357.4,0,"ID",.03)
  1. ;;=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
  1. ;;^DD(357.4,0,"IX","APO",357.4,.02)
  1. ;;=
  1. ;;^DD(357.4,0,"IX","APO1",357.4,.03)
  1. ;;=
  1. ;;^DD(357.4,0,"IX","B",357.4,.01)
  1. ;;=
  1. ;;^DD(357.4,0,"IX","D",357.4,.03)
  1. ;;=
  1. ;;^DD(357.4,0,"NM","SELECTION GROUP")
  1. ;;=
  1. ;;^DD(357.4,0,"PT",357.3,.04)
  1. ;;=
  1. ;;^DD(357.4,.01,0)
  1. ;;=HEADER^RF^^0;1^K:$L(X)>40!($L(X)<1) X
  1. ;;^DD(357.4,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(357.4,.01,1,1,0)
  1. ;;=357.4^B
  1. ;;^DD(357.4,.01,1,1,1)
  1. ;;=S ^IBE(357.4,"B",$E(X,1,30),DA)=""
  1. ;;^DD(357.4,.01,1,1,2)
  1. ;;=K ^IBE(357.4,"B",$E(X,1,30),DA)
  1. ;;^DD(357.4,.01,3)
  1. ;;=What text do you want to appear at the top of this group?
  1. ;;^DD(357.4,.01,21,0)
  1. ;;=^^2^2^2930604^^^^
  1. ;;^DD(357.4,.01,21,1,0)
  1. ;;=
  1. ;;^DD(357.4,.01,21,2,0)
  1. ;;=The name given to a group of selections appearing on a selection list.
  1. ;;^DD(357.4,.01,"DEL",1,0)
  1. ;;=I '$G(IBLISTPR) W "...Selection Groups can only be deleted through the Encounter Form Utilities!"
  1. ;;^DD(357.4,.01,"DT")
  1. ;;=2930604
  1. ;;^DD(357.4,.02,0)
  1. ;;=PRINT ORDER^RNJ5,2^^0;2^K:+X'=X!(X>99.99)!(X<0)!(X?.E1"."3N.N) X
  1. ;;^DD(357.4,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(357.4,.02,1,1,0)
  1. ;;=357.4^APO^MUMPS
  1. ;;^DD(357.4,.02,1,1,1)
  1. ;;=I $P(^IBE(357.4,DA,0),U,3) S ^IBE(357.4,"APO",$P(^(0),U,3),X,DA)=""
  1. ;;^DD(357.4,.02,1,1,2)
  1. ;;=I $P(^IBE(357.4,DA,0),U,3) K ^IBE(357.4,"APO",$P(^(0),U,3),X,DA)
  1. ;;^DD(357.4,.02,1,1,"%D",0)
  1. ;;=^^5^5^2940224^
  1. ;;^DD(357.4,.02,1,1,"%D",1,0)
  1. ;;=
  1. ;;^DD(357.4,.02,1,1,"%D",2,0)
  1. ;;=Allows all groups in a selection list to be found in the order that they
  1. ;;^DD(357.4,.02,1,1,"%D",3,0)
  1. ;;=should appear. The subscripts are ^IBE(357.4,"APO",<selection list
  1. ;;^DD(357.4,.02,1,1,"%D",4,0)
  1. ;;=ien>,<print order for group>,<group ien>). If this field is re-indexed
  1. ;;^DD(357.4,.02,1,1,"%D",5,0)
  1. ;;=then the APO1 index on the .03 field need not be re-indexed.
  1. ;;^DD(357.4,.02,1,1,"DT")
  1. ;;=2921222
  1. ;;^DD(357.4,.02,3)
  1. ;;=Type a Number between 0 and 99.99, 2 Decimal Digits
  1. ;;^DD(357.4,.02,21,0)
  1. ;;=^^5^5^2921222^^^^
  1. ;;^DD(357.4,.02,21,1,0)
  1. ;;=
  1. ;;^DD(357.4,.02,21,2,0)
  1. ;;=This will define the order that a group of selections will appear in as
  1. ;;^DD(357.4,.02,21,3,0)
  1. ;;=compared to the other groups of selections.
  1. ;;^DD(357.4,.02,21,4,0)
  1. ;;=A group header "BLANK" will be created by default with order number 0.
  1. ;;^DD(357.4,.02,21,5,0)
  1. ;;=This header will not print to the form.
  1. ;;^DD(357.4,.02,"DT")
  1. ;;=2921222
  1. ;;^DD(357.4,.03,0)
  1. ;;=SELECTION LIST^RP357.2'^IBE(357.2,^0;3^Q
  1. ;;^DD(357.4,.03,1,0)
  1. ;;=^.1
  1. ;;^DD(357.4,.03,1,1,0)
  1. ;;=357.4^D
  1. ;;^DD(357.4,.03,1,1,1)
  1. ;;=S ^IBE(357.4,"D",$E(X,1,30),DA)=""
  1. ;;^DD(357.4,.03,1,1,2)
  1. ;;=K ^IBE(357.4,"D",$E(X,1,30),DA)
  1. ;;^DD(357.4,.03,1,1,"%D",0)
  1. ;;=^^1^1^2921218^
  1. ;;^DD(357.4,.03,1,1,"%D",1,0)
  1. ;;=Used to find all the groups belonging to a selection list.
  1. ;;^DD(357.4,.03,1,1,"DT")
  1. ;;=2921218
  1. ;;^DD(357.4,.03,1,2,0)
  1. ;;=357.4^APO1^MUMPS
  1. ;;^DD(357.4,.03,1,2,1)
  1. ;;=I $P(^IBE(357.4,DA,0),U,2)]"" S ^IBE(357.4,"APO",X,$P(^(0),U,2),DA)=""