- IBINI0AW ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(399) 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.042,.02,1,1,"%D",0)
- ;;=^^1^1^2940214^
- ;;^DD(399.042,.02,1,1,"%D",1,0)
- ;;=Sets/deletes total charges.
- ;;^DD(399.042,.02,1,1,"DT")
- ;;=2920921
- ;;^DD(399.042,.02,3)
- ;;=Type a Dollar Amount between 0 and 99999, 2 Decimal Digits
- ;;^DD(399.042,.02,21,0)
- ;;=^^3^3^2911025^
- ;;^DD(399.042,.02,21,1,0)
- ;;=This is the unit charge for this revenue code. It will be
- ;;^DD(399.042,.02,21,2,0)
- ;;=multiplied times the number of units to determine the total cost for
- ;;^DD(399.042,.02,21,3,0)
- ;;=this revenue code.
- ;;^DD(399.042,.02,"DT")
- ;;=2920921
- ;;^DD(399.042,.03,0)
- ;;=UNITS OF SERVICE^RNJ6,0X^^0;3^K:X'?1.N X I $D(X) S:X']"" X=1
- ;;^DD(399.042,.03,1,0)
- ;;=^.1
- ;;^DD(399.042,.03,1,1,0)
- ;;=399.042^TC^MUMPS
- ;;^DD(399.042,.03,1,1,1)
- ;;=D 31^IBCU2
- ;;^DD(399.042,.03,1,1,2)
- ;;=D 32^IBCU2
- ;;^DD(399.042,.03,1,1,"%D",0)
- ;;=^^1^1^2940214^^^
- ;;^DD(399.042,.03,1,1,"%D",1,0)
- ;;=Adds/deletes total charges.
- ;;^DD(399.042,.03,1,1,"DT")
- ;;=2920921
- ;;^DD(399.042,.03,3)
- ;;=Enter the number of units of service (accommodation days, miles, treatments, etc.) rendered to or for this patient for this revenue code.
- ;;^DD(399.042,.03,21,0)
- ;;=^^3^3^2940214^^^^
- ;;^DD(399.042,.03,21,1,0)
- ;;=This is the number of day of inpatient care or the number of outpatient
- ;;^DD(399.042,.03,21,2,0)
- ;;=visits for this revenue code. It will be multiplied by the
- ;;^DD(399.042,.03,21,3,0)
- ;;=CHARGES field to determine the TOTAL charges for this revenue code.
- ;;^DD(399.042,.03,"DT")
- ;;=2920921
- ;;^DD(399.042,.04,0)
- ;;=TOTAL^RNJ9,2XI^^0;4^K:X?1.10N.1".".2N X
- ;;^DD(399.042,.04,1,0)
- ;;=^.1^^-1
- ;;^DD(399.042,.04,1,1,0)
- ;;=399.042^ATC^MUMPS
- ;;^DD(399.042,.04,1,1,1)
- ;;=S DGXRF=1 D TC^IBCU2 K DGXRF
- ;;^DD(399.042,.04,1,1,2)
- ;;=S DGXRF=2 D TC^IBCU2 K DGXRF
- ;;^DD(399.042,.04,1,1,"%D",0)
- ;;=^^1^1^2940216^^^
- ;;^DD(399.042,.04,1,1,"%D",1,0)
- ;;=Sets/deletes total charges, FY 1 charges. Also sets FY 2 charges to "".
- ;;^DD(399.042,.04,1,1,"DT")
- ;;=2920921
- ;;^DD(399.042,.04,3)
- ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
- ;;^DD(399.042,.04,21,0)
- ;;=^^2^2^2911025^
- ;;^DD(399.042,.04,21,1,0)
- ;;=This is the total charges for this revenue code. It is computed by the
- ;;^DD(399.042,.04,21,2,0)
- ;;=system.
- ;;^DD(399.042,.04,"DT")
- ;;=2920921
- ;;^DD(399.042,.05,0)
- ;;=BEDSECTION^R*P399.1'^DGCR(399.1,^0;5^S DIC("S")="I $P(^(0),U,5)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
- ;;^DD(399.042,.05,1,0)
- ;;=^.1
- ;;^DD(399.042,.05,1,1,0)
- ;;=399.042^ABS^MUMPS
- ;;^DD(399.042,.05,1,1,1)
- ;;=S ^DGCR(399,DA(1),"RC","ABS",$E(X,1,30),+^DGCR(399,DA(1),"RC",DA,0),DA)=""
- ;;^DD(399.042,.05,1,1,2)
- ;;=K ^DGCR(399,DA(1),"RC","ABS",$E(X,1,30),+^DGCR(399,DA(1),"RC",DA,0),DA)
- ;;^DD(399.042,.05,1,1,"%D",0)
- ;;=^^1^1^2940214^
- ;;^DD(399.042,.05,1,1,"%D",1,0)
- ;;=Cross reference of all revenue codes with bedsections.
- ;;^DD(399.042,.05,12)
- ;;=ONLY BILLABLE BEDSECTIONS
- ;;^DD(399.042,.05,12.1)
- ;;=S DIC("S")="I $P(^(0),U,5)"
- ;;^DD(399.042,.05,21,0)
- ;;=^^2^2^2931018^^
- ;;^DD(399.042,.05,21,1,0)
- ;;=If this is an inpatient bill then this is the Specialty associated with
- ;;^DD(399.042,.05,21,2,0)
- ;;=authorized rates for the type of care provided for this revenue code.
- ;;^DD(399.042,.05,23,0)
- ;;=^^1^1^2931018^
- ;;^DD(399.042,.05,23,1,0)
- ;;=Includes only billable bedsections.
- ;;^DD(399.042,.05,"DT")
- ;;=2900514
- ;;^DD(399.042,.06,0)
- ;;=PROCEDURE^P81'^ICPT(^0;6^Q
- ;;^DD(399.042,.06,1,0)
- ;;=^.1^^-1
- ;;^DD(399.042,.06,1,1,0)
- ;;=399^ASC1^MUMPS
- ;;^DD(399.042,.06,1,1,1)
- ;;=I $$RC^IBEFUNC1(DA(1),DA) S ^DGCR(399,"ASC1",$E(X,1,30),DA(1),DA)=""
- IBINI0AW ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(399)
- 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.042,.02,1,1,"%D",0)
- +2 ;;=^^1^1^2940214^
- +3 ;;^DD(399.042,.02,1,1,"%D",1,0)
- +4 ;;=Sets/deletes total charges.
- +5 ;;^DD(399.042,.02,1,1,"DT")
- +6 ;;=2920921
- +7 ;;^DD(399.042,.02,3)
- +8 ;;=Type a Dollar Amount between 0 and 99999, 2 Decimal Digits
- +9 ;;^DD(399.042,.02,21,0)
- +10 ;;=^^3^3^2911025^
- +11 ;;^DD(399.042,.02,21,1,0)
- +12 ;;=This is the unit charge for this revenue code. It will be
- +13 ;;^DD(399.042,.02,21,2,0)
- +14 ;;=multiplied times the number of units to determine the total cost for
- +15 ;;^DD(399.042,.02,21,3,0)
- +16 ;;=this revenue code.
- +17 ;;^DD(399.042,.02,"DT")
- +18 ;;=2920921
- +19 ;;^DD(399.042,.03,0)
- +20 ;;=UNITS OF SERVICE^RNJ6,0X^^0;3^K:X'?1.N X I $D(X) S:X']"" X=1
- +21 ;;^DD(399.042,.03,1,0)
- +22 ;;=^.1
- +23 ;;^DD(399.042,.03,1,1,0)
- +24 ;;=399.042^TC^MUMPS
- +25 ;;^DD(399.042,.03,1,1,1)
- +26 ;;=D 31^IBCU2
- +27 ;;^DD(399.042,.03,1,1,2)
- +28 ;;=D 32^IBCU2
- +29 ;;^DD(399.042,.03,1,1,"%D",0)
- +30 ;;=^^1^1^2940214^^^
- +31 ;;^DD(399.042,.03,1,1,"%D",1,0)
- +32 ;;=Adds/deletes total charges.
- +33 ;;^DD(399.042,.03,1,1,"DT")
- +34 ;;=2920921
- +35 ;;^DD(399.042,.03,3)
- +36 ;;=Enter the number of units of service (accommodation days, miles, treatments, etc.) rendered to or for this patient for this revenue code.
- +37 ;;^DD(399.042,.03,21,0)
- +38 ;;=^^3^3^2940214^^^^
- +39 ;;^DD(399.042,.03,21,1,0)
- +40 ;;=This is the number of day of inpatient care or the number of outpatient
- +41 ;;^DD(399.042,.03,21,2,0)
- +42 ;;=visits for this revenue code. It will be multiplied by the
- +43 ;;^DD(399.042,.03,21,3,0)
- +44 ;;=CHARGES field to determine the TOTAL charges for this revenue code.
- +45 ;;^DD(399.042,.03,"DT")
- +46 ;;=2920921
- +47 ;;^DD(399.042,.04,0)
- +48 ;;=TOTAL^RNJ9,2XI^^0;4^K:X?1.10N.1".".2N X
- +49 ;;^DD(399.042,.04,1,0)
- +50 ;;=^.1^^-1
- +51 ;;^DD(399.042,.04,1,1,0)
- +52 ;;=399.042^ATC^MUMPS
- +53 ;;^DD(399.042,.04,1,1,1)
- +54 ;;=S DGXRF=1 D TC^IBCU2 K DGXRF
- +55 ;;^DD(399.042,.04,1,1,2)
- +56 ;;=S DGXRF=2 D TC^IBCU2 K DGXRF
- +57 ;;^DD(399.042,.04,1,1,"%D",0)
- +58 ;;=^^1^1^2940216^^^
- +59 ;;^DD(399.042,.04,1,1,"%D",1,0)
- +60 ;;=Sets/deletes total charges, FY 1 charges. Also sets FY 2 charges to "".
- +61 ;;^DD(399.042,.04,1,1,"DT")
- +62 ;;=2920921
- +63 ;;^DD(399.042,.04,3)
- +64 ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
- +65 ;;^DD(399.042,.04,21,0)
- +66 ;;=^^2^2^2911025^
- +67 ;;^DD(399.042,.04,21,1,0)
- +68 ;;=This is the total charges for this revenue code. It is computed by the
- +69 ;;^DD(399.042,.04,21,2,0)
- +70 ;;=system.
- +71 ;;^DD(399.042,.04,"DT")
- +72 ;;=2920921
- +73 ;;^DD(399.042,.05,0)
- +74 ;;=BEDSECTION^R*P399.1'^DGCR(399.1,^0;5^S DIC("S")="I $P(^(0),U,5)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
- +75 ;;^DD(399.042,.05,1,0)
- +76 ;;=^.1
- +77 ;;^DD(399.042,.05,1,1,0)
- +78 ;;=399.042^ABS^MUMPS
- +79 ;;^DD(399.042,.05,1,1,1)
- +80 ;;=S ^DGCR(399,DA(1),"RC","ABS",$E(X,1,30),+^DGCR(399,DA(1),"RC",DA,0),DA)=""
- +81 ;;^DD(399.042,.05,1,1,2)
- +82 ;;=K ^DGCR(399,DA(1),"RC","ABS",$E(X,1,30),+^DGCR(399,DA(1),"RC",DA,0),DA)
- +83 ;;^DD(399.042,.05,1,1,"%D",0)
- +84 ;;=^^1^1^2940214^
- +85 ;;^DD(399.042,.05,1,1,"%D",1,0)
- +86 ;;=Cross reference of all revenue codes with bedsections.
- +87 ;;^DD(399.042,.05,12)
- +88 ;;=ONLY BILLABLE BEDSECTIONS
- +89 ;;^DD(399.042,.05,12.1)
- +90 ;;=S DIC("S")="I $P(^(0),U,5)"
- +91 ;;^DD(399.042,.05,21,0)
- +92 ;;=^^2^2^2931018^^
- +93 ;;^DD(399.042,.05,21,1,0)
- +94 ;;=If this is an inpatient bill then this is the Specialty associated with
- +95 ;;^DD(399.042,.05,21,2,0)
- +96 ;;=authorized rates for the type of care provided for this revenue code.
- +97 ;;^DD(399.042,.05,23,0)
- +98 ;;=^^1^1^2931018^
- +99 ;;^DD(399.042,.05,23,1,0)
- +100 ;;=Includes only billable bedsections.
- +101 ;;^DD(399.042,.05,"DT")
- +102 ;;=2900514
- +103 ;;^DD(399.042,.06,0)
- +104 ;;=PROCEDURE^P81'^ICPT(^0;6^Q
- +105 ;;^DD(399.042,.06,1,0)
- +106 ;;=^.1^^-1
- +107 ;;^DD(399.042,.06,1,1,0)
- +108 ;;=399^ASC1^MUMPS
- +109 ;;^DD(399.042,.06,1,1,1)
- +110 ;;=I $$RC^IBEFUNC1(DA(1),DA) S ^DGCR(399,"ASC1",$E(X,1,30),DA(1),DA)=""