IBINI0BQ ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(399.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(399.3,0,"GL")
;;=^DGCR(399.3,
;;^DIC("B","RATE TYPE",399.3)
;;=
;;^DIC(399.3,"%D",0)
;;=^^3^3^2940215^^^^
;;^DIC(399.3,"%D",1,0)
;;=This file contains all of the Rate Types which may be used in MCCR Billing.
;;^DIC(399.3,"%D",2,0)
;;=
;;^DIC(399.3,"%D",3,0)
;;=Per VHA Directive 10-93-142, this file definition should not be modified.
;;^DD(399.3,0)
;;=FIELD^^.09^10
;;^DD(399.3,0,"DT")
;;=2920206
;;^DD(399.3,0,"ID",.07)
;;=W "Who's Responsible: ",@("$P($P($C(59)_$S($D(^DD(399.3,.07,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,7)_"":"",2),$C(59),1)")
;;^DD(399.3,0,"IX","B",399.3,.01)
;;=
;;^DD(399.3,0,"NM","RATE TYPE")
;;=
;;^DD(399.3,0,"PT",399,.07)
;;=
;;^DD(399.3,.001,0)
;;=NUMBER^NJ3,0^^ ^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(399.3,.001,3)
;;=Enter the internal file number of this entry.
;;^DD(399.3,.001,21,0)
;;=^^1^1^2880901^
;;^DD(399.3,.001,21,1,0)
;;=This is the internal file number of this entry.
;;^DD(399.3,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<1)!'(X'?1P.E) X
;;^DD(399.3,.01,1,0)
;;=^.1
;;^DD(399.3,.01,1,1,0)
;;=399.3^B
;;^DD(399.3,.01,1,1,1)
;;=S ^DGCR(399.3,"B",$E(X,1,30),DA)=""
;;^DD(399.3,.01,1,1,2)
;;=K ^DGCR(399.3,"B",$E(X,1,30),DA)
;;^DD(399.3,.01,3)
;;=Enter the 1-30 character name/description of this rate type.
;;^DD(399.3,.01,21,0)
;;=^^1^1^2890331^^
;;^DD(399.3,.01,21,1,0)
;;=This is the name/description of this rate type.
;;^DD(399.3,.01,"DEL",.01,0)
;;=I 1 W !,"Deletion of Rate Types not allowed. Use the Inactive field."
;;^DD(399.3,.02,0)
;;=BILL NAME^RF^^0;2^K:$L(X)>30!($L(X)<1)!'(X'?1P.E) X
;;^DD(399.3,.02,3)
;;=Enter the 1-30 character text which you want to appear on the UB form each time a bill of this rate type is printed.
;;^DD(399.3,.02,21,0)
;;=^^2^2^2940120^^
;;^DD(399.3,.02,21,1,0)
;;=This is the text which will appear on the UB claim form each time a bill of
;;^DD(399.3,.02,21,2,0)
;;=this rate type is printed.
;;^DD(399.3,.03,0)
;;=INACTIVE^S^0:NO;1:YES;^0;3^Q
;;^DD(399.3,.03,3)
;;=Enter the code which indicates whether or not you would like to inactivate this rate type.
;;^DD(399.3,.03,21,0)
;;=^^1^1^2890405^^
;;^DD(399.3,.03,21,1,0)
;;=This indicates whether or not this code has been inactivated.
;;^DD(399.3,.03,"DT")
;;=2890405
;;^DD(399.3,.04,0)
;;=ABBREVIATION^RF^^0;4^K:$L(X)>8!($L(X)<2)!'(X?1A.ANP) X
;;^DD(399.3,.04,3)
;;=Enter the 2-8 character abbreviation of the name of this rate type which will appear on all of the billing outputs.
;;^DD(399.3,.04,21,0)
;;=^^2^2^2880901^
;;^DD(399.3,.04,21,1,0)
;;=This defines the abbreviation of the name of this rate type which will
;;^DD(399.3,.04,21,2,0)
;;=appear on all of the billing outputs.
;;^DD(399.3,.05,0)
;;=IS THIS A THIRD PARTY BILL?^RS^0:NO;1:YES;^0;5^Q
;;^DD(399.3,.05,3)
;;=Enter '1' or 'Yes' if this is a third party bill or '0' or 'No' if a bill of this rate type is not a third party bill.
;;^DD(399.3,.05,21,0)
;;=^^2^2^2880901^
;;^DD(399.3,.05,21,1,0)
;;=This allows the user to determine whether or not a bill of this rate type
;;^DD(399.3,.05,21,2,0)
;;=is a third party bill.
;;^DD(399.3,.06,0)
;;=ACCOUNTS RECEIVABLE CATEGORY^R*P430.2'^PRCA(430.2,^0;6^S DIC("S")="I $P(^(0),U,7)>9" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(399.3,.06,1,0)
;;=^.1
;;^DD(399.3,.06,1,1,0)
;;=^^TRIGGER^399.3^.07
;;^DD(399.3,.06,1,1,1)
;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DGCR(399.3,D0,0)):^(0),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y S X=DIV D ARCAT^IBCU X ^DD(399.3,.06,1,1,1.4)
IBINI0BQ ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(399.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(399.3,0,"GL")
+2 ;;=^DGCR(399.3,
+3 ;;^DIC("B","RATE TYPE",399.3)
+4 ;;=
+5 ;;^DIC(399.3,"%D",0)
+6 ;;=^^3^3^2940215^^^^
+7 ;;^DIC(399.3,"%D",1,0)
+8 ;;=This file contains all of the Rate Types which may be used in MCCR Billing.
+9 ;;^DIC(399.3,"%D",2,0)
+10 ;;=
+11 ;;^DIC(399.3,"%D",3,0)
+12 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
+13 ;;^DD(399.3,0)
+14 ;;=FIELD^^.09^10
+15 ;;^DD(399.3,0,"DT")
+16 ;;=2920206
+17 ;;^DD(399.3,0,"ID",.07)
+18 ;;=W "Who's Responsible: ",@("$P($P($C(59)_$S($D(^DD(399.3,.07,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,7)_"":"",2),$C(59),1)")
+19 ;;^DD(399.3,0,"IX","B",399.3,.01)
+20 ;;=
+21 ;;^DD(399.3,0,"NM","RATE TYPE")
+22 ;;=
+23 ;;^DD(399.3,0,"PT",399,.07)
+24 ;;=
+25 ;;^DD(399.3,.001,0)
+26 ;;=NUMBER^NJ3,0^^ ^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
+27 ;;^DD(399.3,.001,3)
+28 ;;=Enter the internal file number of this entry.
+29 ;;^DD(399.3,.001,21,0)
+30 ;;=^^1^1^2880901^
+31 ;;^DD(399.3,.001,21,1,0)
+32 ;;=This is the internal file number of this entry.
+33 ;;^DD(399.3,.01,0)
+34 ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<1)!'(X'?1P.E) X
+35 ;;^DD(399.3,.01,1,0)
+36 ;;=^.1
+37 ;;^DD(399.3,.01,1,1,0)
+38 ;;=399.3^B
+39 ;;^DD(399.3,.01,1,1,1)
+40 ;;=S ^DGCR(399.3,"B",$E(X,1,30),DA)=""
+41 ;;^DD(399.3,.01,1,1,2)
+42 ;;=K ^DGCR(399.3,"B",$E(X,1,30),DA)
+43 ;;^DD(399.3,.01,3)
+44 ;;=Enter the 1-30 character name/description of this rate type.
+45 ;;^DD(399.3,.01,21,0)
+46 ;;=^^1^1^2890331^^
+47 ;;^DD(399.3,.01,21,1,0)
+48 ;;=This is the name/description of this rate type.
+49 ;;^DD(399.3,.01,"DEL",.01,0)
+50 ;;=I 1 W !,"Deletion of Rate Types not allowed. Use the Inactive field."
+51 ;;^DD(399.3,.02,0)
+52 ;;=BILL NAME^RF^^0;2^K:$L(X)>30!($L(X)<1)!'(X'?1P.E) X
+53 ;;^DD(399.3,.02,3)
+54 ;;=Enter the 1-30 character text which you want to appear on the UB form each time a bill of this rate type is printed.
+55 ;;^DD(399.3,.02,21,0)
+56 ;;=^^2^2^2940120^^
+57 ;;^DD(399.3,.02,21,1,0)
+58 ;;=This is the text which will appear on the UB claim form each time a bill of
+59 ;;^DD(399.3,.02,21,2,0)
+60 ;;=this rate type is printed.
+61 ;;^DD(399.3,.03,0)
+62 ;;=INACTIVE^S^0:NO;1:YES;^0;3^Q
+63 ;;^DD(399.3,.03,3)
+64 ;;=Enter the code which indicates whether or not you would like to inactivate this rate type.
+65 ;;^DD(399.3,.03,21,0)
+66 ;;=^^1^1^2890405^^
+67 ;;^DD(399.3,.03,21,1,0)
+68 ;;=This indicates whether or not this code has been inactivated.
+69 ;;^DD(399.3,.03,"DT")
+70 ;;=2890405
+71 ;;^DD(399.3,.04,0)
+72 ;;=ABBREVIATION^RF^^0;4^K:$L(X)>8!($L(X)<2)!'(X?1A.ANP) X
+73 ;;^DD(399.3,.04,3)
+74 ;;=Enter the 2-8 character abbreviation of the name of this rate type which will appear on all of the billing outputs.
+75 ;;^DD(399.3,.04,21,0)
+76 ;;=^^2^2^2880901^
+77 ;;^DD(399.3,.04,21,1,0)
+78 ;;=This defines the abbreviation of the name of this rate type which will
+79 ;;^DD(399.3,.04,21,2,0)
+80 ;;=appear on all of the billing outputs.
+81 ;;^DD(399.3,.05,0)
+82 ;;=IS THIS A THIRD PARTY BILL?^RS^0:NO;1:YES;^0;5^Q
+83 ;;^DD(399.3,.05,3)
+84 ;;=Enter '1' or 'Yes' if this is a third party bill or '0' or 'No' if a bill of this rate type is not a third party bill.
+85 ;;^DD(399.3,.05,21,0)
+86 ;;=^^2^2^2880901^
+87 ;;^DD(399.3,.05,21,1,0)
+88 ;;=This allows the user to determine whether or not a bill of this rate type
+89 ;;^DD(399.3,.05,21,2,0)
+90 ;;=is a third party bill.
+91 ;;^DD(399.3,.06,0)
+92 ;;=ACCOUNTS RECEIVABLE CATEGORY^R*P430.2'^PRCA(430.2,^0;6^S DIC("S")="I $P(^(0),U,7)>9" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+93 ;;^DD(399.3,.06,1,0)
+94 ;;=^.1
+95 ;;^DD(399.3,.06,1,1,0)
+96 ;;=^^TRIGGER^399.3^.07
+97 ;;^DD(399.3,.06,1,1,1)
+98 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DGCR(399.3,D0,0)):^(0),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y S X=DIV D ARCAT^IBCU X ^DD(399.3,.06,1,1,1.4)