- IBINI07T ; ; 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
- ;;^DD(357.3,.04,1,1,2)
- ;;=K ^IBE(357.3,"D",$E(X,1,30),DA)
- ;;^DD(357.3,.04,1,1,"DT")
- ;;=2921221
- ;;^DD(357.3,.04,1,2,0)
- ;;=357.3^APO1^MUMPS
- ;;^DD(357.3,.04,1,2,1)
- ;;=I $P(^IBE(357.3,DA,0),U,5)]"",$P(^(0),U,3) S ^IBE(357.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)=""
- ;;^DD(357.3,.04,1,2,2)
- ;;=I $P(^IBE(357.3,DA,0),U,5)]"",$P(^(0),U,3) K ^IBE(357.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)
- ;;^DD(357.3,.04,1,2,"%D",0)
- ;;=^^7^7^2940224^
- ;;^DD(357.3,.04,1,2,"%D",1,0)
- ;;=
- ;;^DD(357.3,.04,1,2,"%D",2,0)
- ;;=Allows all selections for a particular group in a selection list to be
- ;;^DD(357.3,.04,1,2,"%D",3,0)
- ;;=found in the order that they should appear. The subscripts are
- ;;^DD(357.3,.04,1,2,"%D",4,0)
- ;;=^IBE(357.3,"APO",<selection list ien>,<group ien>,<print order within
- ;;^DD(357.3,.04,1,2,"%D",5,0)
- ;;=group>,<selection ien>). If this field is re-indexed then the APO index
- ;;^DD(357.3,.04,1,2,"%D",6,0)
- ;;=on the .03 field and the APO2 index on the .05 field need not be
- ;;^DD(357.3,.04,1,2,"%D",7,0)
- ;;=re-indexed.
- ;;^DD(357.3,.04,1,2,"DT")
- ;;=2921222
- ;;^DD(357.3,.04,3)
- ;;=Entries on a list are grouped under group headers - under which header should this entry appear?
- ;;^DD(357.3,.04,21,0)
- ;;=^^3^3^2930607^
- ;;^DD(357.3,.04,21,1,0)
- ;;=
- ;;^DD(357.3,.04,21,2,0)
- ;;=The SELECTION GROUP that the selection belongs to.The selection will
- ;;^DD(357.3,.04,21,3,0)
- ;;=appear under the group header on the form.
- ;;^DD(357.3,.04,"DT")
- ;;=2921222
- ;;^DD(357.3,.05,0)
- ;;=PRINT ORDER WITHIN GROUP^RNJ6,2^^0;5^K:+X'=X!(X>999.99)!(X<0)!(X?.E1"."3N.N) X
- ;;^DD(357.3,.05,1,0)
- ;;=^.1
- ;;^DD(357.3,.05,1,1,0)
- ;;=357.3^APO2^MUMPS
- ;;^DD(357.3,.05,1,1,1)
- ;;=I $P(^IBE(357.3,DA,0),U,3),$P(^(0),U,4) S ^IBE(357.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)=""
- ;;^DD(357.3,.05,1,1,2)
- ;;=I $P(^IBE(357.3,DA,0),U,3),$P(^(0),U,4) K ^IBE(357.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)
- ;;^DD(357.3,.05,1,1,"%D",0)
- ;;=^^7^7^2940224^
- ;;^DD(357.3,.05,1,1,"%D",1,0)
- ;;=
- ;;^DD(357.3,.05,1,1,"%D",2,0)
- ;;=Allows all selections for a particular group in a selection list to be
- ;;^DD(357.3,.05,1,1,"%D",3,0)
- ;;=found in the order that they should appear. The subscripts are
- ;;^DD(357.3,.05,1,1,"%D",4,0)
- ;;=^IBE(357.3,"APO",<selection list ien>,<group ien>,<print order within
- ;;^DD(357.3,.05,1,1,"%D",5,0)
- ;;=group>,<selection ien>). If this field is re-indexed then the APO index
- ;;^DD(357.3,.05,1,1,"%D",6,0)
- ;;=on the .03 field and the APO1 index on the .04 field need not be
- ;;^DD(357.3,.05,1,1,"%D",7,0)
- ;;=re-indexed.
- ;;^DD(357.3,.05,1,1,"DT")
- ;;=2921222
- ;;^DD(357.3,.05,3)
- ;;=Type a Number between 0 and 999.99, 2 Decimal Digits
- ;;^DD(357.3,.05,21,0)
- ;;=^^2^2^2921229^^^^
- ;;^DD(357.3,.05,21,1,0)
- ;;=Determines the order that this selection entry will appear in under the
- ;;^DD(357.3,.05,21,2,0)
- ;;=header for the selection group.
- ;;^DD(357.3,.05,"DT")
- ;;=2921229
- ;;^DD(357.3,1,0)
- ;;=SUBCOLUMN VALUE^357.31IA^^1;0
- ;;^DD(357.3,1,21,0)
- ;;=^^3^3^2930527^
- ;;^DD(357.3,1,21,1,0)
- ;;=
- ;;^DD(357.3,1,21,2,0)
- ;;=The selection can be composed of multiple fields. Each field occupies its
- ;;^DD(357.3,1,21,3,0)
- ;;=own subcolumn on the form.
- ;;^DD(357.31,0)
- ;;=SUBCOLUMN VALUE SUB-FIELD^^.02^2
- ;;^DD(357.31,0,"DIK")
- ;;=IBXF3
- ;;^DD(357.31,0,"DT")
- ;;=2930402
- ;;^DD(357.31,0,"ID",.02)
- ;;=W " ",$P(^(0),U,2)
- ;;^DD(357.31,0,"IX","B",357.31,.01)
- ;;=
- ;;^DD(357.31,0,"NM","SUBCOLUMN VALUE")
- ;;=
- ;;^DD(357.31,0,"UP")
- ;;=357.3
- ;;^DD(357.31,.01,0)
- ;;=SUBCOLUMN NUMBER^MRNJ1,0X^^0;1^K:+X'=X!(X>6)!(X<1)!(X?.E1"."1N.N)!($D(^IBE(357.3,DA(1),1,"B",X))) X
- IBINI07T ; ; 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 ;;^DD(357.3,.04,1,1,2)
- +2 ;;=K ^IBE(357.3,"D",$E(X,1,30),DA)
- +3 ;;^DD(357.3,.04,1,1,"DT")
- +4 ;;=2921221
- +5 ;;^DD(357.3,.04,1,2,0)
- +6 ;;=357.3^APO1^MUMPS
- +7 ;;^DD(357.3,.04,1,2,1)
- +8 ;;=I $P(^IBE(357.3,DA,0),U,5)]"",$P(^(0),U,3) S ^IBE(357.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)=""
- +9 ;;^DD(357.3,.04,1,2,2)
- +10 ;;=I $P(^IBE(357.3,DA,0),U,5)]"",$P(^(0),U,3) K ^IBE(357.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)
- +11 ;;^DD(357.3,.04,1,2,"%D",0)
- +12 ;;=^^7^7^2940224^
- +13 ;;^DD(357.3,.04,1,2,"%D",1,0)
- +14 ;;=
- +15 ;;^DD(357.3,.04,1,2,"%D",2,0)
- +16 ;;=Allows all selections for a particular group in a selection list to be
- +17 ;;^DD(357.3,.04,1,2,"%D",3,0)
- +18 ;;=found in the order that they should appear. The subscripts are
- +19 ;;^DD(357.3,.04,1,2,"%D",4,0)
- +20 ;;=^IBE(357.3,"APO",<selection list ien>,<group ien>,<print order within
- +21 ;;^DD(357.3,.04,1,2,"%D",5,0)
- +22 ;;=group>,<selection ien>). If this field is re-indexed then the APO index
- +23 ;;^DD(357.3,.04,1,2,"%D",6,0)
- +24 ;;=on the .03 field and the APO2 index on the .05 field need not be
- +25 ;;^DD(357.3,.04,1,2,"%D",7,0)
- +26 ;;=re-indexed.
- +27 ;;^DD(357.3,.04,1,2,"DT")
- +28 ;;=2921222
- +29 ;;^DD(357.3,.04,3)
- +30 ;;=Entries on a list are grouped under group headers - under which header should this entry appear?
- +31 ;;^DD(357.3,.04,21,0)
- +32 ;;=^^3^3^2930607^
- +33 ;;^DD(357.3,.04,21,1,0)
- +34 ;;=
- +35 ;;^DD(357.3,.04,21,2,0)
- +36 ;;=The SELECTION GROUP that the selection belongs to.The selection will
- +37 ;;^DD(357.3,.04,21,3,0)
- +38 ;;=appear under the group header on the form.
- +39 ;;^DD(357.3,.04,"DT")
- +40 ;;=2921222
- +41 ;;^DD(357.3,.05,0)
- +42 ;;=PRINT ORDER WITHIN GROUP^RNJ6,2^^0;5^K:+X'=X!(X>999.99)!(X<0)!(X?.E1"."3N.N) X
- +43 ;;^DD(357.3,.05,1,0)
- +44 ;;=^.1
- +45 ;;^DD(357.3,.05,1,1,0)
- +46 ;;=357.3^APO2^MUMPS
- +47 ;;^DD(357.3,.05,1,1,1)
- +48 ;;=I $P(^IBE(357.3,DA,0),U,3),$P(^(0),U,4) S ^IBE(357.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)=""
- +49 ;;^DD(357.3,.05,1,1,2)
- +50 ;;=I $P(^IBE(357.3,DA,0),U,3),$P(^(0),U,4) K ^IBE(357.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)
- +51 ;;^DD(357.3,.05,1,1,"%D",0)
- +52 ;;=^^7^7^2940224^
- +53 ;;^DD(357.3,.05,1,1,"%D",1,0)
- +54 ;;=
- +55 ;;^DD(357.3,.05,1,1,"%D",2,0)
- +56 ;;=Allows all selections for a particular group in a selection list to be
- +57 ;;^DD(357.3,.05,1,1,"%D",3,0)
- +58 ;;=found in the order that they should appear. The subscripts are
- +59 ;;^DD(357.3,.05,1,1,"%D",4,0)
- +60 ;;=^IBE(357.3,"APO",<selection list ien>,<group ien>,<print order within
- +61 ;;^DD(357.3,.05,1,1,"%D",5,0)
- +62 ;;=group>,<selection ien>). If this field is re-indexed then the APO index
- +63 ;;^DD(357.3,.05,1,1,"%D",6,0)
- +64 ;;=on the .03 field and the APO1 index on the .04 field need not be
- +65 ;;^DD(357.3,.05,1,1,"%D",7,0)
- +66 ;;=re-indexed.
- +67 ;;^DD(357.3,.05,1,1,"DT")
- +68 ;;=2921222
- +69 ;;^DD(357.3,.05,3)
- +70 ;;=Type a Number between 0 and 999.99, 2 Decimal Digits
- +71 ;;^DD(357.3,.05,21,0)
- +72 ;;=^^2^2^2921229^^^^
- +73 ;;^DD(357.3,.05,21,1,0)
- +74 ;;=Determines the order that this selection entry will appear in under the
- +75 ;;^DD(357.3,.05,21,2,0)
- +76 ;;=header for the selection group.
- +77 ;;^DD(357.3,.05,"DT")
- +78 ;;=2921229
- +79 ;;^DD(357.3,1,0)
- +80 ;;=SUBCOLUMN VALUE^357.31IA^^1;0
- +81 ;;^DD(357.3,1,21,0)
- +82 ;;=^^3^3^2930527^
- +83 ;;^DD(357.3,1,21,1,0)
- +84 ;;=
- +85 ;;^DD(357.3,1,21,2,0)
- +86 ;;=The selection can be composed of multiple fields. Each field occupies its
- +87 ;;^DD(357.3,1,21,3,0)
- +88 ;;=own subcolumn on the form.
- +89 ;;^DD(357.31,0)
- +90 ;;=SUBCOLUMN VALUE SUB-FIELD^^.02^2
- +91 ;;^DD(357.31,0,"DIK")
- +92 ;;=IBXF3
- +93 ;;^DD(357.31,0,"DT")
- +94 ;;=2930402
- +95 ;;^DD(357.31,0,"ID",.02)
- +96 ;;=W " ",$P(^(0),U,2)
- +97 ;;^DD(357.31,0,"IX","B",357.31,.01)
- +98 ;;=
- +99 ;;^DD(357.31,0,"NM","SUBCOLUMN VALUE")
- +100 ;;=
- +101 ;;^DD(357.31,0,"UP")
- +102 ;;=357.3
- +103 ;;^DD(357.31,.01,0)
- +104 ;;=SUBCOLUMN NUMBER^MRNJ1,0X^^0;1^K:+X'=X!(X>6)!(X<1)!(X?.E1"."1N.N)!($D(^IBE(357.3,DA(1),1,"B",X))) X