IBINI01J ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(350.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(350.2,0,"GL")
;;=^IBE(350.2,
;;^DIC("B","IB ACTION CHARGE",350.2)
;;=
;;^DIC(350.2,"%D",0)
;;=^^6^6^2940214^^^
;;^DIC(350.2,"%D",1,0)
;;=This file contains the unit charges for an IB ACTION TYPE by the
;;^DIC(350.2,"%D",2,0)
;;=effective date of the charge. The "AIVDT" cross-reference can be
;;^DIC(350.2,"%D",3,0)
;;=used to quickly ascertain the most recent charge for an action type.
;;^DIC(350.2,"%D",4,0)
;;=
;;^DIC(350.2,"%D",5,0)
;;=
;;^DIC(350.2,"%D",6,0)
;;=Per VHA Directive 10-93-142, this file definition should not be modified.
;;^DD(350.2,0)
;;=FIELD^^10^7
;;^DD(350.2,0,"DDA")
;;=N
;;^DD(350.2,0,"DT")
;;=2910913
;;^DD(350.2,0,"ID",.02)
;;=W " ",$E($P(^(0),U,2),4,5)_"-"_$E($P(^(0),U,2),6,7)_"-"_$E($P(^(0),U,2),2,3)
;;^DD(350.2,0,"IX","AIVDT",350.2,.02)
;;=
;;^DD(350.2,0,"IX","AIVDT1",350.2,.03)
;;=
;;^DD(350.2,0,"IX","B",350.2,.01)
;;=
;;^DD(350.2,0,"IX","C",350.2,.02)
;;=
;;^DD(350.2,0,"NM","IB ACTION CHARGE")
;;=
;;^DD(350.2,.01,0)
;;=KEY^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
;;^DD(350.2,.01,1,0)
;;=^.1
;;^DD(350.2,.01,1,1,0)
;;=350.2^B
;;^DD(350.2,.01,1,1,1)
;;=S ^IBE(350.2,"B",$E(X,1,30),DA)=""
;;^DD(350.2,.01,1,1,2)
;;=K ^IBE(350.2,"B",$E(X,1,30),DA)
;;^DD(350.2,.01,3)
;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
;;^DD(350.2,.01,21,0)
;;=^^3^3^2910305^
;;^DD(350.2,.01,21,1,0)
;;=This is a description unique name for this entry that identifies it. It
;;^DD(350.2,.01,21,2,0)
;;=is not used in the calculation of the charge but rather for editing
;;^DD(350.2,.01,21,3,0)
;;=purposes.
;;^DD(350.2,.02,0)
;;=EFFECTIVE DATE^D^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
;;^DD(350.2,.02,1,0)
;;=^.1
;;^DD(350.2,.02,1,1,0)
;;=350.2^C
;;^DD(350.2,.02,1,1,1)
;;=S ^IBE(350.2,"C",$E(X,1,30),DA)=""
;;^DD(350.2,.02,1,1,2)
;;=K ^IBE(350.2,"C",$E(X,1,30),DA)
;;^DD(350.2,.02,1,2,0)
;;=350.2^AIVDT^MUMPS
;;^DD(350.2,.02,1,2,1)
;;=I $P(^IBE(350.2,DA,0),U,3) S ^IBE(350.2,"AIVDT",$P(^(0),U,3),-X,DA)=""
;;^DD(350.2,.02,1,2,2)
;;=I $P(^IBE(350.2,DA,0),U,3) K ^IBE(350.2,"AIVDT",$P(^(0),U,3),-X,DA)
;;^DD(350.2,.02,21,0)
;;=^^1^1^2910305^
;;^DD(350.2,.02,21,1,0)
;;=This is the date the charge rate for this entry became effective.
;;^DD(350.2,.02,"DT")
;;=2910206
;;^DD(350.2,.03,0)
;;=IB TRANSACTION TYPE^P350.1'^IBE(350.1,^0;3^Q
;;^DD(350.2,.03,1,0)
;;=^.1
;;^DD(350.2,.03,1,1,0)
;;=350.2^AIVDT1^MUMPS
;;^DD(350.2,.03,1,1,1)
;;=I $P(^IBE(350.2,DA,0),U,2) S ^IBE(350.2,"AIVDT",X,-$P(^(0),U,2),DA)=""
;;^DD(350.2,.03,1,1,2)
;;=I $P(^IBE(350.2,DA,0),U,2) K ^IBE(350.2,"AIVDT",X,-$P(^(0),U,2),DA)
;;^DD(350.2,.03,21,0)
;;=^^1^1^2910305^
;;^DD(350.2,.03,21,1,0)
;;=This is the IB TRANSACTION TYPE that this rate is for.
;;^DD(350.2,.03,"DT")
;;=2910206
;;^DD(350.2,.04,0)
;;=UNIT CHARGE, FIXED^NJ10,2^^0;4^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
;;^DD(350.2,.04,3)
;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
;;^DD(350.2,.04,21,0)
;;=^^1^1^2910305^^
;;^DD(350.2,.04,21,1,0)
;;=If this charge is a fixed amount, this field contains the fixed amount.
;;^DD(350.2,.05,0)
;;=INACTIVATION DATE^D^^0;5^S %DT="EX" D ^%DT S X=Y K:Y<1 X
;;^DD(350.2,.05,3)
;;=
;;^DD(350.2,.05,21,0)
;;=^^6^6^2910429^^
;;^DD(350.2,.05,21,1,0)
;;=If this charge is inactive put in the inactive date. If the charge
;;^DD(350.2,.05,21,2,0)
;;=is not to be used the inactive date should equal the active date. If
;;^DD(350.2,.05,21,3,0)
;;=the charge was effective for a time period but that charge no longer
IBINI01J ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(350.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(350.2,0,"GL")
+2 ;;=^IBE(350.2,
+3 ;;^DIC("B","IB ACTION CHARGE",350.2)
+4 ;;=
+5 ;;^DIC(350.2,"%D",0)
+6 ;;=^^6^6^2940214^^^
+7 ;;^DIC(350.2,"%D",1,0)
+8 ;;=This file contains the unit charges for an IB ACTION TYPE by the
+9 ;;^DIC(350.2,"%D",2,0)
+10 ;;=effective date of the charge. The "AIVDT" cross-reference can be
+11 ;;^DIC(350.2,"%D",3,0)
+12 ;;=used to quickly ascertain the most recent charge for an action type.
+13 ;;^DIC(350.2,"%D",4,0)
+14 ;;=
+15 ;;^DIC(350.2,"%D",5,0)
+16 ;;=
+17 ;;^DIC(350.2,"%D",6,0)
+18 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
+19 ;;^DD(350.2,0)
+20 ;;=FIELD^^10^7
+21 ;;^DD(350.2,0,"DDA")
+22 ;;=N
+23 ;;^DD(350.2,0,"DT")
+24 ;;=2910913
+25 ;;^DD(350.2,0,"ID",.02)
+26 ;;=W " ",$E($P(^(0),U,2),4,5)_"-"_$E($P(^(0),U,2),6,7)_"-"_$E($P(^(0),U,2),2,3)
+27 ;;^DD(350.2,0,"IX","AIVDT",350.2,.02)
+28 ;;=
+29 ;;^DD(350.2,0,"IX","AIVDT1",350.2,.03)
+30 ;;=
+31 ;;^DD(350.2,0,"IX","B",350.2,.01)
+32 ;;=
+33 ;;^DD(350.2,0,"IX","C",350.2,.02)
+34 ;;=
+35 ;;^DD(350.2,0,"NM","IB ACTION CHARGE")
+36 ;;=
+37 ;;^DD(350.2,.01,0)
+38 ;;=KEY^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
+39 ;;^DD(350.2,.01,1,0)
+40 ;;=^.1
+41 ;;^DD(350.2,.01,1,1,0)
+42 ;;=350.2^B
+43 ;;^DD(350.2,.01,1,1,1)
+44 ;;=S ^IBE(350.2,"B",$E(X,1,30),DA)=""
+45 ;;^DD(350.2,.01,1,1,2)
+46 ;;=K ^IBE(350.2,"B",$E(X,1,30),DA)
+47 ;;^DD(350.2,.01,3)
+48 ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
+49 ;;^DD(350.2,.01,21,0)
+50 ;;=^^3^3^2910305^
+51 ;;^DD(350.2,.01,21,1,0)
+52 ;;=This is a description unique name for this entry that identifies it. It
+53 ;;^DD(350.2,.01,21,2,0)
+54 ;;=is not used in the calculation of the charge but rather for editing
+55 ;;^DD(350.2,.01,21,3,0)
+56 ;;=purposes.
+57 ;;^DD(350.2,.02,0)
+58 ;;=EFFECTIVE DATE^D^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
+59 ;;^DD(350.2,.02,1,0)
+60 ;;=^.1
+61 ;;^DD(350.2,.02,1,1,0)
+62 ;;=350.2^C
+63 ;;^DD(350.2,.02,1,1,1)
+64 ;;=S ^IBE(350.2,"C",$E(X,1,30),DA)=""
+65 ;;^DD(350.2,.02,1,1,2)
+66 ;;=K ^IBE(350.2,"C",$E(X,1,30),DA)
+67 ;;^DD(350.2,.02,1,2,0)
+68 ;;=350.2^AIVDT^MUMPS
+69 ;;^DD(350.2,.02,1,2,1)
+70 ;;=I $P(^IBE(350.2,DA,0),U,3) S ^IBE(350.2,"AIVDT",$P(^(0),U,3),-X,DA)=""
+71 ;;^DD(350.2,.02,1,2,2)
+72 ;;=I $P(^IBE(350.2,DA,0),U,3) K ^IBE(350.2,"AIVDT",$P(^(0),U,3),-X,DA)
+73 ;;^DD(350.2,.02,21,0)
+74 ;;=^^1^1^2910305^
+75 ;;^DD(350.2,.02,21,1,0)
+76 ;;=This is the date the charge rate for this entry became effective.
+77 ;;^DD(350.2,.02,"DT")
+78 ;;=2910206
+79 ;;^DD(350.2,.03,0)
+80 ;;=IB TRANSACTION TYPE^P350.1'^IBE(350.1,^0;3^Q
+81 ;;^DD(350.2,.03,1,0)
+82 ;;=^.1
+83 ;;^DD(350.2,.03,1,1,0)
+84 ;;=350.2^AIVDT1^MUMPS
+85 ;;^DD(350.2,.03,1,1,1)
+86 ;;=I $P(^IBE(350.2,DA,0),U,2) S ^IBE(350.2,"AIVDT",X,-$P(^(0),U,2),DA)=""
+87 ;;^DD(350.2,.03,1,1,2)
+88 ;;=I $P(^IBE(350.2,DA,0),U,2) K ^IBE(350.2,"AIVDT",X,-$P(^(0),U,2),DA)
+89 ;;^DD(350.2,.03,21,0)
+90 ;;=^^1^1^2910305^
+91 ;;^DD(350.2,.03,21,1,0)
+92 ;;=This is the IB TRANSACTION TYPE that this rate is for.
+93 ;;^DD(350.2,.03,"DT")
+94 ;;=2910206
+95 ;;^DD(350.2,.04,0)
+96 ;;=UNIT CHARGE, FIXED^NJ10,2^^0;4^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
+97 ;;^DD(350.2,.04,3)
+98 ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
+99 ;;^DD(350.2,.04,21,0)
+100 ;;=^^1^1^2910305^^
+101 ;;^DD(350.2,.04,21,1,0)
+102 ;;=If this charge is a fixed amount, this field contains the fixed amount.
+103 ;;^DD(350.2,.05,0)
+104 ;;=INACTIVATION DATE^D^^0;5^S %DT="EX" D ^%DT S X=Y K:Y<1 X
+105 ;;^DD(350.2,.05,3)
+106 ;;=
+107 ;;^DD(350.2,.05,21,0)
+108 ;;=^^6^6^2910429^^
+109 ;;^DD(350.2,.05,21,1,0)
+110 ;;=If this charge is inactive put in the inactive date. If the charge
+111 ;;^DD(350.2,.05,21,2,0)
+112 ;;=is not to be used the inactive date should equal the active date. If
+113 ;;^DD(350.2,.05,21,3,0)
+114 ;;=the charge was effective for a time period but that charge no longer