IBINI0BX ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(399.5) 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.5,0,"GL")
;;=^DGCR(399.5,
;;^DIC("B","BILLING RATES",399.5)
;;=
;;^DIC(399.5,"%D",0)
;;=^^8^8^2940215^^^^
;;^DIC(399.5,"%D",1,0)
;;=This file contains the historical billing rates, associated with revenue
;;^DIC(399.5,"%D",2,0)
;;=codes and bedsections that the DVA has legislative authority to bill third
;;^DIC(399.5,"%D",3,0)
;;=parties for reimbursement.
;;^DIC(399.5,"%D",4,0)
;;=
;;^DIC(399.5,"%D",5,0)
;;=It is used to automatically associate revenue codes, bedsections and
;;^DIC(399.5,"%D",6,0)
;;=amounts with a bill.
;;^DIC(399.5,"%D",7,0)
;;=
;;^DIC(399.5,"%D",8,0)
;;=Per VHA Directive 10-93-142, this file definition should not be modified.
;;^DD(399.5,0)
;;=FIELD^^.07^7
;;^DD(399.5,0,"DDA")
;;=N
;;^DD(399.5,0,"DT")
;;=2900501
;;^DD(399.5,0,"ID",.02)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGCR(399.1,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(399.1,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(399.5,0,"ID",.03)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGCR(399.2,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(399.2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(399.5,0,"ID",.04)
;;=S DGZX=X,X=$P(^(0),U,4),X2="2$" D COMMA^%DTC W " ",X S X=DGZX K DGZX,X2
;;^DD(399.5,0,"ID",.05)
;;=W " ",@("$P($P($C(59)_$S($D(^DD(399.5,.05,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,5)_"":"",2),$C(59),1)")
;;^DD(399.5,0,"IX","AIVDT",399.5,.01)
;;=
;;^DD(399.5,0,"IX","AIVDT1",399.5,.02)
;;=
;;^DD(399.5,0,"IX","AIVDT2",399.5,.03)
;;=
;;^DD(399.5,0,"IX","B",399.5,.01)
;;=
;;^DD(399.5,0,"IX","D",399.5,.03)
;;=
;;^DD(399.5,0,"NM","BILLING RATES")
;;=
;;^DD(399.5,.01,0)
;;=EFFECTIVE DATE^RD^^0;1^S %DT="EX" D ^%DT S X=Y K:2991001<X!(2861001>X) X
;;^DD(399.5,.01,1,0)
;;=^.1
;;^DD(399.5,.01,1,1,0)
;;=399.5^B
;;^DD(399.5,.01,1,1,1)
;;=S ^DGCR(399.5,"B",$E(X,1,30),DA)=""
;;^DD(399.5,.01,1,1,2)
;;=K ^DGCR(399.5,"B",$E(X,1,30),DA)
;;^DD(399.5,.01,1,2,0)
;;=399.5^AIVDT^MUMPS
;;^DD(399.5,.01,1,2,1)
;;=S:$P(^DGCR(399.5,DA,0),U,2)&($P(^(0),U,3)) ^DGCR(399.5,"AIVDT",$P(^(0),U,2),-X,$P(^(0),U,3),DA)=""
;;^DD(399.5,.01,1,2,2)
;;=K:$P(^DGCR(399.5,DA,0),U,2)&($P(^(0),U,3)) ^DGCR(399.5,"AIVDT",$P(^(0),U,2),-X,$P(^(0),U,3),DA)
;;^DD(399.5,.01,1,2,3)
;;=DON'T DELETE
;;^DD(399.5,.01,1,2,"%D",0)
;;=^^1^1^2940214^^^
;;^DD(399.5,.01,1,2,"%D",1,0)
;;=All rates by revenue code, bedsection, and inverse date effective.
;;^DD(399.5,.01,1,2,"DT")
;;=2900501
;;^DD(399.5,.01,3)
;;=TYPE A DATE BETWEEN 10/1/1986 AND 10/1/1999
;;^DD(399.5,.01,21,0)
;;=^^4^4^2900501^^
;;^DD(399.5,.01,21,1,0)
;;=This is the date in which changes in billing rates will take effect.
;;^DD(399.5,.01,21,2,0)
;;=A new entry, with a new effective date is necessary to change a
;;^DD(399.5,.01,21,3,0)
;;=previous entry. The most recent effective date's entry data will
;;^DD(399.5,.01,21,4,0)
;;=be used (even if its null) in calculating current charges.
;;^DD(399.5,.01,"DT")
;;=2900525
;;^DD(399.5,.02,0)
;;=BILLING BEDSECTION^R*P399.1'^DGCR(399.1,^0;2^S DIC("S")="I $P(^DGCR(399.1,+Y,0),U,5)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(399.5,.02,1,0)
;;=^.1^^-1
;;^DD(399.5,.02,1,2,0)
;;=399.5^AIVDT1^MUMPS
;;^DD(399.5,.02,1,2,1)
;;=S:$P(^DGCR(399.5,DA,0),U,3) ^DGCR(399.5,"AIVDT",X,-^(0),$P(^(0),U,3),DA)=""
;;^DD(399.5,.02,1,2,2)
;;=K:$P(^DGCR(399.5,DA,0),U,3) ^DGCR(399.5,"AIVDT",X,-^(0),$P(^(0),U,3),DA)
;;^DD(399.5,.02,1,2,3)
;;=DON'T DELETE
;;^DD(399.5,.02,1,2,"%D",0)
;;=^^1^1^2940214^^
IBINI0BX ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(399.5)
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.5,0,"GL")
+2 ;;=^DGCR(399.5,
+3 ;;^DIC("B","BILLING RATES",399.5)
+4 ;;=
+5 ;;^DIC(399.5,"%D",0)
+6 ;;=^^8^8^2940215^^^^
+7 ;;^DIC(399.5,"%D",1,0)
+8 ;;=This file contains the historical billing rates, associated with revenue
+9 ;;^DIC(399.5,"%D",2,0)
+10 ;;=codes and bedsections that the DVA has legislative authority to bill third
+11 ;;^DIC(399.5,"%D",3,0)
+12 ;;=parties for reimbursement.
+13 ;;^DIC(399.5,"%D",4,0)
+14 ;;=
+15 ;;^DIC(399.5,"%D",5,0)
+16 ;;=It is used to automatically associate revenue codes, bedsections and
+17 ;;^DIC(399.5,"%D",6,0)
+18 ;;=amounts with a bill.
+19 ;;^DIC(399.5,"%D",7,0)
+20 ;;=
+21 ;;^DIC(399.5,"%D",8,0)
+22 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
+23 ;;^DD(399.5,0)
+24 ;;=FIELD^^.07^7
+25 ;;^DD(399.5,0,"DDA")
+26 ;;=N
+27 ;;^DD(399.5,0,"DT")
+28 ;;=2900501
+29 ;;^DD(399.5,0,"ID",.02)
+30 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGCR(399.1,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(399.1,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+31 ;;^DD(399.5,0,"ID",.03)
+32 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGCR(399.2,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(399.2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+33 ;;^DD(399.5,0,"ID",.04)
+34 ;;=S DGZX=X,X=$P(^(0),U,4),X2="2$" D COMMA^%DTC W " ",X S X=DGZX K DGZX,X2
+35 ;;^DD(399.5,0,"ID",.05)
+36 ;;=W " ",@("$P($P($C(59)_$S($D(^DD(399.5,.05,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,5)_"":"",2),$C(59),1)")
+37 ;;^DD(399.5,0,"IX","AIVDT",399.5,.01)
+38 ;;=
+39 ;;^DD(399.5,0,"IX","AIVDT1",399.5,.02)
+40 ;;=
+41 ;;^DD(399.5,0,"IX","AIVDT2",399.5,.03)
+42 ;;=
+43 ;;^DD(399.5,0,"IX","B",399.5,.01)
+44 ;;=
+45 ;;^DD(399.5,0,"IX","D",399.5,.03)
+46 ;;=
+47 ;;^DD(399.5,0,"NM","BILLING RATES")
+48 ;;=
+49 ;;^DD(399.5,.01,0)
+50 ;;=EFFECTIVE DATE^RD^^0;1^S %DT="EX" D ^%DT S X=Y K:2991001<X!(2861001>X) X
+51 ;;^DD(399.5,.01,1,0)
+52 ;;=^.1
+53 ;;^DD(399.5,.01,1,1,0)
+54 ;;=399.5^B
+55 ;;^DD(399.5,.01,1,1,1)
+56 ;;=S ^DGCR(399.5,"B",$E(X,1,30),DA)=""
+57 ;;^DD(399.5,.01,1,1,2)
+58 ;;=K ^DGCR(399.5,"B",$E(X,1,30),DA)
+59 ;;^DD(399.5,.01,1,2,0)
+60 ;;=399.5^AIVDT^MUMPS
+61 ;;^DD(399.5,.01,1,2,1)
+62 ;;=S:$P(^DGCR(399.5,DA,0),U,2)&($P(^(0),U,3)) ^DGCR(399.5,"AIVDT",$P(^(0),U,2),-X,$P(^(0),U,3),DA)=""
+63 ;;^DD(399.5,.01,1,2,2)
+64 ;;=K:$P(^DGCR(399.5,DA,0),U,2)&($P(^(0),U,3)) ^DGCR(399.5,"AIVDT",$P(^(0),U,2),-X,$P(^(0),U,3),DA)
+65 ;;^DD(399.5,.01,1,2,3)
+66 ;;=DON'T DELETE
+67 ;;^DD(399.5,.01,1,2,"%D",0)
+68 ;;=^^1^1^2940214^^^
+69 ;;^DD(399.5,.01,1,2,"%D",1,0)
+70 ;;=All rates by revenue code, bedsection, and inverse date effective.
+71 ;;^DD(399.5,.01,1,2,"DT")
+72 ;;=2900501
+73 ;;^DD(399.5,.01,3)
+74 ;;=TYPE A DATE BETWEEN 10/1/1986 AND 10/1/1999
+75 ;;^DD(399.5,.01,21,0)
+76 ;;=^^4^4^2900501^^
+77 ;;^DD(399.5,.01,21,1,0)
+78 ;;=This is the date in which changes in billing rates will take effect.
+79 ;;^DD(399.5,.01,21,2,0)
+80 ;;=A new entry, with a new effective date is necessary to change a
+81 ;;^DD(399.5,.01,21,3,0)
+82 ;;=previous entry. The most recent effective date's entry data will
+83 ;;^DD(399.5,.01,21,4,0)
+84 ;;=be used (even if its null) in calculating current charges.
+85 ;;^DD(399.5,.01,"DT")
+86 ;;=2900525
+87 ;;^DD(399.5,.02,0)
+88 ;;=BILLING BEDSECTION^R*P399.1'^DGCR(399.1,^0;2^S DIC("S")="I $P(^DGCR(399.1,+Y,0),U,5)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+89 ;;^DD(399.5,.02,1,0)
+90 ;;=^.1^^-1
+91 ;;^DD(399.5,.02,1,2,0)
+92 ;;=399.5^AIVDT1^MUMPS
+93 ;;^DD(399.5,.02,1,2,1)
+94 ;;=S:$P(^DGCR(399.5,DA,0),U,3) ^DGCR(399.5,"AIVDT",X,-^(0),$P(^(0),U,3),DA)=""
+95 ;;^DD(399.5,.02,1,2,2)
+96 ;;=K:$P(^DGCR(399.5,DA,0),U,3) ^DGCR(399.5,"AIVDT",X,-^(0),$P(^(0),U,3),DA)
+97 ;;^DD(399.5,.02,1,2,3)
+98 ;;=DON'T DELETE
+99 ;;^DD(399.5,.02,1,2,"%D",0)
+100 ;;=^^1^1^2940214^^