IBINI0B5 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(399.2) 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.2,0,"GL")
;;=^DGCR(399.2,
;;^DIC("B","REVENUE CODE",399.2)
;;=
;;^DIC(399.2,"%D",0)
;;=^^4^4^2940215^^^^
;;^DIC(399.2,"%D",1,0)
;;=This file contains all of the Revenue Codes which may be used on the
;;^DIC(399.2,"%D",2,0)
;;=Third Party claim forms.
;;^DIC(399.2,"%D",3,0)
;;=
;;^DIC(399.2,"%D",4,0)
;;=Per VHA Directive 10-93-142, this file definition should not be modified.
;;^DD(399.2,0)
;;=FIELD^^4^5
;;^DD(399.2,0,"DDA")
;;=N
;;^DD(399.2,0,"DT")
;;=2931221
;;^DD(399.2,0,"ID",1)
;;=W " ",$P(^(0),U,2)
;;^DD(399.2,0,"ID",3)
;;=W " ",$P(^(0),U,4)
;;^DD(399.2,0,"IX","AC",399.2,2)
;;=
;;^DD(399.2,0,"IX","B",399.2,.01)
;;=
;;^DD(399.2,0,"IX","C",399.2,1)
;;=
;;^DD(399.2,0,"IX","D1",399.2,2)
;;=
;;^DD(399.2,0,"IX","E",399.2,3)
;;=
;;^DD(399.2,0,"IX","F",399.2,.01)
;;=
;;^DD(399.2,0,"NM","REVENUE CODE")
;;=
;;^DD(399.2,0,"PT",36,.09)
;;=
;;^DD(399.2,0,"PT",36,.15)
;;=
;;^DD(399.2,0,"PT",350.9,1.18)
;;=
;;^DD(399.2,0,"PT",350.9,1.28)
;;=
;;^DD(399.2,0,"PT",399.042,.01)
;;=
;;^DD(399.2,0,"PT",399.5,.03)
;;=
;;^DD(399.2,.01,0)
;;=REVENUE CODE^RFXI^^0;1^K:X[""""!($A(X)=45) X I $D(X) S:$L(X)<3 X=$E("000",1,3-$L(X))_X K:X="000" X K:$L(X)>3!($L(X)<3)!'(X?3N) X I $D(X) S DINUM=+X K X
;;^DD(399.2,.01,1,0)
;;=^.1^^-1
;;^DD(399.2,.01,1,1,0)
;;=399.2^B
;;^DD(399.2,.01,1,1,1)
;;=S ^DGCR(399.2,"B",$E(X,1,30),DA)=""
;;^DD(399.2,.01,1,1,2)
;;=K ^DGCR(399.2,"B",$E(X,1,30),DA)
;;^DD(399.2,.01,1,3,0)
;;=399.2^F^MUMPS
;;^DD(399.2,.01,1,3,1)
;;=I +X,+X<100 S ^DGCR(399.2,"F",+X,DA)=""
;;^DD(399.2,.01,1,3,2)
;;=K ^DGCR(399.2,"F",+X,DA)
;;^DD(399.2,.01,1,3,"%D",0)
;;=^^1^1^2940214^
;;^DD(399.2,.01,1,3,"%D",1,0)
;;=All revenue codes less than 100.
;;^DD(399.2,.01,3)
;;=Enter the 3-digit numeric code associated with this entry.
;;^DD(399.2,.01,21,0)
;;=^^1^1^2880901^
;;^DD(399.2,.01,21,1,0)
;;=This is the 3-digit numeric code associated with this entry.
;;^DD(399.2,.01,"DT")
;;=2901003
;;^DD(399.2,1,0)
;;=STANDARD ABBREVIATION^FX^^0;2^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>60!($L(X)<1)!'(X?1"*".A!(X?1A.E)) X I $D(X),$E(X)="*" S X=X_"RESERVED" K X
;;^DD(399.2,1,1,0)
;;=^.1
;;^DD(399.2,1,1,1,0)
;;=399.2^C
;;^DD(399.2,1,1,1,1)
;;=S ^DGCR(399.2,"C",$E(X,1,30),DA)=""
;;^DD(399.2,1,1,1,2)
;;=K ^DGCR(399.2,"C",$E(X,1,30),DA)
;;^DD(399.2,1,1,2,0)
;;=^^TRIGGER^399.2^3
;;^DD(399.2,1,1,2,1)
;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X S X=Y(0),X=$E(X)="*" I X S X=DIV S Y(1)=$S($D(^DGCR(399.2,D0,0)):^(0),1:"") S X=$P(Y(1),U,4),X=X S DIU=X K Y S X=DIV S X=DIV X ^DD(399.2,1,1,2,1.4)
;;^DD(399.2,1,1,2,1.4)
;;=S DIH=$S($D(^DGCR(399.2,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,4)=DIV,DIH=399.2,DIG=3 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
;;^DD(399.2,1,1,2,2)
;;=Q
;;^DD(399.2,1,1,2,"CREATE CONDITION")
;;=$E(STANDARD ABBREVIATION)="*"
;;^DD(399.2,1,1,2,"CREATE VALUE")
;;=STANDARD ABBREVIATION
;;^DD(399.2,1,1,2,"DELETE VALUE")
;;=NO EFFECT
;;^DD(399.2,1,1,2,"FIELD")
;;=DESCRIPTION
;;^DD(399.2,1,3)
;;=Enter the 1-60 character abbreviation of the description field of this entry.
;;^DD(399.2,1,21,0)
;;=^^1^1^2880901^
;;^DD(399.2,1,21,1,0)
;;=This is the abbreviation of the description field of this entry.
;;^DD(399.2,1,"DT")
;;=2880831
;;^DD(399.2,2,0)
;;=ACTIVATE^RSX^1:ACTIVATE CODE;0:INACTIVATE CODE;^0;3^Q:'X S %=^DGCR(399.2,+DA,0) I $E($P(%,"^",2))="*"!($E($P(%,"^",4))="*") W !?4,"Can't activate a RESERVED code...",*7 K X
;;^DD(399.2,2,1,0)
;;=^.1
;;^DD(399.2,2,1,1,0)
;;=399.2^AC^MUMPS
;;^DD(399.2,2,1,1,1)
;;=I $P(^DGCR(399.2,DA,0),"^",3)=1 S ^DGCR(399.2,"AC",DA)=""
IBINI0B5 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(399.2)
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.2,0,"GL")
+2 ;;=^DGCR(399.2,
+3 ;;^DIC("B","REVENUE CODE",399.2)
+4 ;;=
+5 ;;^DIC(399.2,"%D",0)
+6 ;;=^^4^4^2940215^^^^
+7 ;;^DIC(399.2,"%D",1,0)
+8 ;;=This file contains all of the Revenue Codes which may be used on the
+9 ;;^DIC(399.2,"%D",2,0)
+10 ;;=Third Party claim forms.
+11 ;;^DIC(399.2,"%D",3,0)
+12 ;;=
+13 ;;^DIC(399.2,"%D",4,0)
+14 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
+15 ;;^DD(399.2,0)
+16 ;;=FIELD^^4^5
+17 ;;^DD(399.2,0,"DDA")
+18 ;;=N
+19 ;;^DD(399.2,0,"DT")
+20 ;;=2931221
+21 ;;^DD(399.2,0,"ID",1)
+22 ;;=W " ",$P(^(0),U,2)
+23 ;;^DD(399.2,0,"ID",3)
+24 ;;=W " ",$P(^(0),U,4)
+25 ;;^DD(399.2,0,"IX","AC",399.2,2)
+26 ;;=
+27 ;;^DD(399.2,0,"IX","B",399.2,.01)
+28 ;;=
+29 ;;^DD(399.2,0,"IX","C",399.2,1)
+30 ;;=
+31 ;;^DD(399.2,0,"IX","D1",399.2,2)
+32 ;;=
+33 ;;^DD(399.2,0,"IX","E",399.2,3)
+34 ;;=
+35 ;;^DD(399.2,0,"IX","F",399.2,.01)
+36 ;;=
+37 ;;^DD(399.2,0,"NM","REVENUE CODE")
+38 ;;=
+39 ;;^DD(399.2,0,"PT",36,.09)
+40 ;;=
+41 ;;^DD(399.2,0,"PT",36,.15)
+42 ;;=
+43 ;;^DD(399.2,0,"PT",350.9,1.18)
+44 ;;=
+45 ;;^DD(399.2,0,"PT",350.9,1.28)
+46 ;;=
+47 ;;^DD(399.2,0,"PT",399.042,.01)
+48 ;;=
+49 ;;^DD(399.2,0,"PT",399.5,.03)
+50 ;;=
+51 ;;^DD(399.2,.01,0)
+52 ;;=REVENUE CODE^RFXI^^0;1^K:X[""""!($A(X)=45) X I $D(X) S:$L(X)<3 X=$E("000",1,3-$L(X))_X K:X="000" X K:$L(X)>3!($L(X)<3)!'(X?3N) X I $D(X) S DINUM=+X K X
+53 ;;^DD(399.2,.01,1,0)
+54 ;;=^.1^^-1
+55 ;;^DD(399.2,.01,1,1,0)
+56 ;;=399.2^B
+57 ;;^DD(399.2,.01,1,1,1)
+58 ;;=S ^DGCR(399.2,"B",$E(X,1,30),DA)=""
+59 ;;^DD(399.2,.01,1,1,2)
+60 ;;=K ^DGCR(399.2,"B",$E(X,1,30),DA)
+61 ;;^DD(399.2,.01,1,3,0)
+62 ;;=399.2^F^MUMPS
+63 ;;^DD(399.2,.01,1,3,1)
+64 ;;=I +X,+X<100 S ^DGCR(399.2,"F",+X,DA)=""
+65 ;;^DD(399.2,.01,1,3,2)
+66 ;;=K ^DGCR(399.2,"F",+X,DA)
+67 ;;^DD(399.2,.01,1,3,"%D",0)
+68 ;;=^^1^1^2940214^
+69 ;;^DD(399.2,.01,1,3,"%D",1,0)
+70 ;;=All revenue codes less than 100.
+71 ;;^DD(399.2,.01,3)
+72 ;;=Enter the 3-digit numeric code associated with this entry.
+73 ;;^DD(399.2,.01,21,0)
+74 ;;=^^1^1^2880901^
+75 ;;^DD(399.2,.01,21,1,0)
+76 ;;=This is the 3-digit numeric code associated with this entry.
+77 ;;^DD(399.2,.01,"DT")
+78 ;;=2901003
+79 ;;^DD(399.2,1,0)
+80 ;;=STANDARD ABBREVIATION^FX^^0;2^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>60!($L(X)<1)!'(X?1"*".A!(X?1A.E)) X I $D(X),$E(X)="*" S X=X_"RESERVED" K X
+81 ;;^DD(399.2,1,1,0)
+82 ;;=^.1
+83 ;;^DD(399.2,1,1,1,0)
+84 ;;=399.2^C
+85 ;;^DD(399.2,1,1,1,1)
+86 ;;=S ^DGCR(399.2,"C",$E(X,1,30),DA)=""
+87 ;;^DD(399.2,1,1,1,2)
+88 ;;=K ^DGCR(399.2,"C",$E(X,1,30),DA)
+89 ;;^DD(399.2,1,1,2,0)
+90 ;;=^^TRIGGER^399.2^3
+91 ;;^DD(399.2,1,1,2,1)
+92 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X S X=Y(0),X=$E(X)="*" I X S X=DIV S Y(1)=$S($D(^DGCR(399.2,D0,0)):^(0),1:"") S X=$P(Y(1),U,4),X=X S DIU=X K Y S X=DIV S X=DIV X ^DD(399.2,1,1,2,1.4)
+93 ;;^DD(399.2,1,1,2,1.4)
+94 ;;=S DIH=$S($D(^DGCR(399.2,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,4)=DIV,DIH=399.2,DIG=3 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
+95 ;;^DD(399.2,1,1,2,2)
+96 ;;=Q
+97 ;;^DD(399.2,1,1,2,"CREATE CONDITION")
+98 ;;=$E(STANDARD ABBREVIATION)="*"
+99 ;;^DD(399.2,1,1,2,"CREATE VALUE")
+100 ;;=STANDARD ABBREVIATION
+101 ;;^DD(399.2,1,1,2,"DELETE VALUE")
+102 ;;=NO EFFECT
+103 ;;^DD(399.2,1,1,2,"FIELD")
+104 ;;=DESCRIPTION
+105 ;;^DD(399.2,1,3)
+106 ;;=Enter the 1-60 character abbreviation of the description field of this entry.
+107 ;;^DD(399.2,1,21,0)
+108 ;;=^^1^1^2880901^
+109 ;;^DD(399.2,1,21,1,0)
+110 ;;=This is the abbreviation of the description field of this entry.
+111 ;;^DD(399.2,1,"DT")
+112 ;;=2880831
+113 ;;^DD(399.2,2,0)
+114 ;;=ACTIVATE^RSX^1:ACTIVATE CODE;0:INACTIVATE CODE;^0;3^Q:'X S %=^DGCR(399.2,+DA,0) I $E($P(%,"^",2))="*"!($E($P(%,"^",4))="*") W !?4,"Can't activate a RESERVED code...",*7 K X
+115 ;;^DD(399.2,2,1,0)
+116 ;;=^.1
+117 ;;^DD(399.2,2,1,1,0)
+118 ;;=399.2^AC^MUMPS
+119 ;;^DD(399.2,2,1,1,1)
+120 ;;=I $P(^DGCR(399.2,DA,0),"^",3)=1 S ^DGCR(399.2,"AC",DA)=""