- IBINI01K ; ; 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
- ;;^DD(350.2,.05,21,4,0)
- ;;=is valid then enter the date that this is inactive. No entry is
- ;;^DD(350.2,.05,21,5,0)
- ;;=necessary in this field if a more recent active date is added for an
- ;;^DD(350.2,.05,21,6,0)
- ;;=IB ACTION TYPE.
- ;;^DD(350.2,.06,0)
- ;;=ADDITIONAL AMOUNT^NJ10,2^^0;6^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
- ;;^DD(350.2,.06,3)
- ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
- ;;^DD(350.2,.06,21,0)
- ;;=^^4^4^2940209^^^^
- ;;^DD(350.2,.06,21,1,0)
- ;;=This is a fixed additional dollar amount that will be added to the
- ;;^DD(350.2,.06,21,2,0)
- ;;=basic charge after it has been computed. An example of this would
- ;;^DD(350.2,.06,21,3,0)
- ;;=be the additional charge of $200 added to HCFA Ambulatory Surgery rate
- ;;^DD(350.2,.06,21,4,0)
- ;;=groups for inter-ocular lens implants.
- ;;^DD(350.2,.06,"DT")
- ;;=2910913
- ;;^DD(350.2,10,0)
- ;;=UNIT CHARGE LOGIC^K^^10;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
- ;;^DD(350.2,10,3)
- ;;=This is Standard MUMPS code.
- ;;^DD(350.2,10,21,0)
- ;;=^^3^3^2910305^^
- ;;^DD(350.2,10,21,1,0)
- ;;=If this charge is not fixed (ie an exact cost) the field contains the logic
- ;;^DD(350.2,10,21,2,0)
- ;;=to calculate the cost per unit. It may need to use the logic in the IB
- ;;^DD(350.2,10,21,3,0)
- ;;=transaction type file to find this cost.
- IBINI01K ; ; 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 ;;^DD(350.2,.05,21,4,0)
- +2 ;;=is valid then enter the date that this is inactive. No entry is
- +3 ;;^DD(350.2,.05,21,5,0)
- +4 ;;=necessary in this field if a more recent active date is added for an
- +5 ;;^DD(350.2,.05,21,6,0)
- +6 ;;=IB ACTION TYPE.
- +7 ;;^DD(350.2,.06,0)
- +8 ;;=ADDITIONAL AMOUNT^NJ10,2^^0;6^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
- +9 ;;^DD(350.2,.06,3)
- +10 ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
- +11 ;;^DD(350.2,.06,21,0)
- +12 ;;=^^4^4^2940209^^^^
- +13 ;;^DD(350.2,.06,21,1,0)
- +14 ;;=This is a fixed additional dollar amount that will be added to the
- +15 ;;^DD(350.2,.06,21,2,0)
- +16 ;;=basic charge after it has been computed. An example of this would
- +17 ;;^DD(350.2,.06,21,3,0)
- +18 ;;=be the additional charge of $200 added to HCFA Ambulatory Surgery rate
- +19 ;;^DD(350.2,.06,21,4,0)
- +20 ;;=groups for inter-ocular lens implants.
- +21 ;;^DD(350.2,.06,"DT")
- +22 ;;=2910913
- +23 ;;^DD(350.2,10,0)
- +24 ;;=UNIT CHARGE LOGIC^K^^10;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
- +25 ;;^DD(350.2,10,3)
- +26 ;;=This is Standard MUMPS code.
- +27 ;;^DD(350.2,10,21,0)
- +28 ;;=^^3^3^2910305^^
- +29 ;;^DD(350.2,10,21,1,0)
- +30 ;;=If this charge is not fixed (ie an exact cost) the field contains the logic
- +31 ;;^DD(350.2,10,21,2,0)
- +32 ;;=to calculate the cost per unit. It may need to use the logic in the IB
- +33 ;;^DD(350.2,10,21,3,0)
- +34 ;;=transaction type file to find this cost.