IBINI0B6 ; ; 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
;;^DD(399.2,2,1,1,2)
;;=K ^DGCR(399.2,"AC",DA)
;;^DD(399.2,2,1,1,"%D",0)
;;=^^1^1^2940214^
;;^DD(399.2,2,1,1,"%D",1,0)
;;=Cross reference of all active revenue codes.
;;^DD(399.2,2,1,2,0)
;;=399.2^D1^MUMPS
;;^DD(399.2,2,1,2,1)
;;=S Z1=+X,Z=$P(^DGCR(399.2,DA,0),"^",1) X ^DD(399.2,2,9.3)
;;^DD(399.2,2,1,2,2)
;;=S Z1=+X,Z=$P(^DGCR(399.2,DA,0),"^",1) X ^DD(399.2,2,9.4)
;;^DD(399.2,2,3)
;;=Enter 'A' or '1' if you want to activate this code for usage. 'I' or '0' if you want this code to remain inactive.
;;^DD(399.2,2,9.3)
;;=S:Z1 ^DGCR(399.2,"D",Z,DA)="" K Z,Z1
;;^DD(399.2,2,9.4)
;;=K ^DGCR(399.2,"D",Z,DA),Z,Z1
;;^DD(399.2,2,21,0)
;;=^^1^1^2931221^^^^
;;^DD(399.2,2,21,1,0)
;;=This indicates whether or not this revenue code has been activated for use.
;;^DD(399.2,2,"DT")
;;=2931221
;;^DD(399.2,3,0)
;;=DESCRIPTION^RFX^^0;4^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>60!($L(X)<2) X
;;^DD(399.2,3,1,0)
;;=^.1
;;^DD(399.2,3,1,1,0)
;;=399.2^E^KWIC
;;^DD(399.2,3,1,1,1)
;;=S %1=1 F %=1:1:$L(X)+1 S I=$E(X,%) I "(,.?!'-/&:;)\|*#+`="[I S I=$E($E(X,%1,%-1),1,30),%1=%+1 I $L(I)>2,^DD("KWIC")'[I S ^DGCR(399.2,"E",I,DA)=""
;;^DD(399.2,3,1,1,2)
;;=S %1=1 F %=1:1:$L(X)+1 S I=$E(X,%) I "(,.?!'-/&:;)\|*#+`="[I S I=$E($E(X,%1,%-1),1,30),%1=%+1 I $L(I)>2 K ^DGCR(399.2,"E",I,DA)
;;^DD(399.2,3,3)
;;=Enter the 2-60 character description of this revenue code.
;;^DD(399.2,3,5,1,0)
;;=399.2^1^2
;;^DD(399.2,3,21,0)
;;=^^1^1^2931220^^
;;^DD(399.2,3,21,1,0)
;;=This is the full length description of this entry.
;;^DD(399.2,3,"DT")
;;=2931220
;;^DD(399.2,4,0)
;;=ALL INCLUSIVE^SX^0:NO;1:YES;^0;5^K X
;;^DD(399.2,4,3)
;;=Enter the code which indicates if this revenue code is an all inclusive rate.
;;^DD(399.2,4,21,0)
;;=^^1^1^2880901^
;;^DD(399.2,4,21,1,0)
;;=This indicates whether or not this revenue code is an all inclusive rate.
;;^DD(399.2,4,"DT")
;;=2880831
IBINI0B6 ; ; 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 ;;^DD(399.2,2,1,1,2)
+2 ;;=K ^DGCR(399.2,"AC",DA)
+3 ;;^DD(399.2,2,1,1,"%D",0)
+4 ;;=^^1^1^2940214^
+5 ;;^DD(399.2,2,1,1,"%D",1,0)
+6 ;;=Cross reference of all active revenue codes.
+7 ;;^DD(399.2,2,1,2,0)
+8 ;;=399.2^D1^MUMPS
+9 ;;^DD(399.2,2,1,2,1)
+10 ;;=S Z1=+X,Z=$P(^DGCR(399.2,DA,0),"^",1) X ^DD(399.2,2,9.3)
+11 ;;^DD(399.2,2,1,2,2)
+12 ;;=S Z1=+X,Z=$P(^DGCR(399.2,DA,0),"^",1) X ^DD(399.2,2,9.4)
+13 ;;^DD(399.2,2,3)
+14 ;;=Enter 'A' or '1' if you want to activate this code for usage. 'I' or '0' if you want this code to remain inactive.
+15 ;;^DD(399.2,2,9.3)
+16 ;;=S:Z1 ^DGCR(399.2,"D",Z,DA)="" K Z,Z1
+17 ;;^DD(399.2,2,9.4)
+18 ;;=K ^DGCR(399.2,"D",Z,DA),Z,Z1
+19 ;;^DD(399.2,2,21,0)
+20 ;;=^^1^1^2931221^^^^
+21 ;;^DD(399.2,2,21,1,0)
+22 ;;=This indicates whether or not this revenue code has been activated for use.
+23 ;;^DD(399.2,2,"DT")
+24 ;;=2931221
+25 ;;^DD(399.2,3,0)
+26 ;;=DESCRIPTION^RFX^^0;4^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>60!($L(X)<2) X
+27 ;;^DD(399.2,3,1,0)
+28 ;;=^.1
+29 ;;^DD(399.2,3,1,1,0)
+30 ;;=399.2^E^KWIC
+31 ;;^DD(399.2,3,1,1,1)
+32 ;;=S %1=1 F %=1:1:$L(X)+1 S I=$E(X,%) I "(,.?!'-/&:;)\|*#+`="[I S I=$E($E(X,%1,%-1),1,30),%1=%+1 I $L(I)>2,^DD("KWIC")'[I S ^DGCR(399.2,"E",I,DA)=""
+33 ;;^DD(399.2,3,1,1,2)
+34 ;;=S %1=1 F %=1:1:$L(X)+1 S I=$E(X,%) I "(,.?!'-/&:;)\|*#+`="[I S I=$E($E(X,%1,%-1),1,30),%1=%+1 I $L(I)>2 K ^DGCR(399.2,"E",I,DA)
+35 ;;^DD(399.2,3,3)
+36 ;;=Enter the 2-60 character description of this revenue code.
+37 ;;^DD(399.2,3,5,1,0)
+38 ;;=399.2^1^2
+39 ;;^DD(399.2,3,21,0)
+40 ;;=^^1^1^2931220^^
+41 ;;^DD(399.2,3,21,1,0)
+42 ;;=This is the full length description of this entry.
+43 ;;^DD(399.2,3,"DT")
+44 ;;=2931220
+45 ;;^DD(399.2,4,0)
+46 ;;=ALL INCLUSIVE^SX^0:NO;1:YES;^0;5^K X
+47 ;;^DD(399.2,4,3)
+48 ;;=Enter the code which indicates if this revenue code is an all inclusive rate.
+49 ;;^DD(399.2,4,21,0)
+50 ;;=^^1^1^2880901^
+51 ;;^DD(399.2,4,21,1,0)
+52 ;;=This indicates whether or not this revenue code is an all inclusive rate.
+53 ;;^DD(399.2,4,"DT")
+54 ;;=2880831