Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IBINI0BY

IBINI0BY.m

Go to the documentation of this file.
  1. IBINI0BY ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(399.5) 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
  1. Q Q
  1. ;;^DD(399.5,.02,1,2,"%D",1,0)
  1. ;;=All rates by revenue code, bedsection, and inverse date effective.
  1. ;;^DD(399.5,.02,1,2,"DT")
  1. ;;=2900501
  1. ;;^DD(399.5,.02,12)
  1. ;;=VALID BILLING BEDSECTIONS ONLY
  1. ;;^DD(399.5,.02,12.1)
  1. ;;=S DIC("S")="I $P(^DGCR(399.1,+Y,0),U,5)"
  1. ;;^DD(399.5,.02,21,0)
  1. ;;=^^1^1^2911025^
  1. ;;^DD(399.5,.02,21,1,0)
  1. ;;=This is the Specialty for which we have approved billing rates.
  1. ;;^DD(399.5,.02,"DT")
  1. ;;=2900504
  1. ;;^DD(399.5,.03,0)
  1. ;;=REVENUE CODE^R*P399.2'^DGCR(399.2,^0;3^S DIC("S")="I $P(^DGCR(399.2,+Y,0),U,3)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(399.5,.03,1,0)
  1. ;;=^.1
  1. ;;^DD(399.5,.03,1,1,0)
  1. ;;=399.5^D
  1. ;;^DD(399.5,.03,1,1,1)
  1. ;;=S ^DGCR(399.5,"D",$E(X,1,30),DA)=""
  1. ;;^DD(399.5,.03,1,1,2)
  1. ;;=K ^DGCR(399.5,"D",$E(X,1,30),DA)
  1. ;;^DD(399.5,.03,1,1,3)
  1. ;;=Don't delete this.
  1. ;;^DD(399.5,.03,1,1,"DT")
  1. ;;=2900501
  1. ;;^DD(399.5,.03,1,2,0)
  1. ;;=399.5^AIVDT2^MUMPS
  1. ;;^DD(399.5,.03,1,2,1)
  1. ;;=S:$P(^DGCR(399.5,DA,0),U,2) ^DGCR(399.5,"AIVDT",$P(^(0),U,2),-^(0),X,DA)=""
  1. ;;^DD(399.5,.03,1,2,2)
  1. ;;=K:$P(^DGCR(399.5,DA,0),U,2) ^DGCR(399.5,"AIVDT",$P(^(0),U,2),-^(0),X,DA)
  1. ;;^DD(399.5,.03,1,2,3)
  1. ;;=DON'T DELETE
  1. ;;^DD(399.5,.03,1,2,"%D",0)
  1. ;;=^^1^1^2940214^
  1. ;;^DD(399.5,.03,1,2,"%D",1,0)
  1. ;;=All rates by revenue code, bedsection, and inverse date effective.
  1. ;;^DD(399.5,.03,1,2,"DT")
  1. ;;=2900501
  1. ;;^DD(399.5,.03,12)
  1. ;;=Select Active Revenue Codes Only!
  1. ;;^DD(399.5,.03,12.1)
  1. ;;=S DIC("S")="I $P(^DGCR(399.2,+Y,0),U,3)"
  1. ;;^DD(399.5,.03,21,0)
  1. ;;=^^1^1^2920211^^
  1. ;;^DD(399.5,.03,21,1,0)
  1. ;;=This is the revenue code that will automatically be used with this rate.
  1. ;;^DD(399.5,.03,"DT")
  1. ;;=2900501
  1. ;;^DD(399.5,.04,0)
  1. ;;=AMOUNT^RNJ7,2O^^0;4^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999)!(X<1) X
  1. ;;^DD(399.5,.04,2)
  1. ;;=S Y(0)=Y S X=Y,X2="2$" D COMMA^%DTC S Y=X
  1. ;;^DD(399.5,.04,2.1)
  1. ;;=S X=Y,X2="2$" D COMMA^%DTC S Y=X
  1. ;;^DD(399.5,.04,3)
  1. ;;=Type a Dollar Amount between 1 and 9999, 2 Decimal Digits
  1. ;;^DD(399.5,.04,21,0)
  1. ;;=^^1^1^2911025^
  1. ;;^DD(399.5,.04,21,1,0)
  1. ;;=This is the unit charge dollar amount for this rate.
  1. ;;^DD(399.5,.04,"DT")
  1. ;;=2900529
  1. ;;^DD(399.5,.05,0)
  1. ;;=ACTIVE^S^0:NOT ACTIVE;1:YES, ACTIVE;^0;5^Q
  1. ;;^DD(399.5,.05,21,0)
  1. ;;=^^4^4^2940214^^
  1. ;;^DD(399.5,.05,21,1,0)
  1. ;;=If a rate is no longer to be used it should be inactivated. This may be
  1. ;;^DD(399.5,.05,21,2,0)
  1. ;;=necessary if you are building rates for the same care using different
  1. ;;^DD(399.5,.05,21,3,0)
  1. ;;=Revenue Codes and would like to keep the old entries in the file for
  1. ;;^DD(399.5,.05,21,4,0)
  1. ;;=reference purposes.
  1. ;;^DD(399.5,.05,"DT")
  1. ;;=2900501
  1. ;;^DD(399.5,.06,0)
  1. ;;=PAYORS TO USE WITH^S^i:INSURANCE CO.;p:PATIENTS;o:OTHER (INSTITUTIONS);op:PATIENTS & INSTITUTIONS;iop:ALL BUT CAT C'S;iopc:ALL;c:CAT C. BILLS ONLY;opc:ALL BUT INSURANCE CO.'S;^0;6^Q
  1. ;;^DD(399.5,.06,21,0)
  1. ;;=^^10^10^2940214^^
  1. ;;^DD(399.5,.06,21,1,0)
  1. ;;=Enter the payors that this Billing Rate is to be used with. For the
  1. ;;^DD(399.5,.06,21,2,0)
  1. ;;=purposes of this field, the choices for payer are:
  1. ;;^DD(399.5,.06,21,3,0)
  1. ;;= i - Insurance companies
  1. ;;^DD(399.5,.06,21,4,0)
  1. ;;= o - Other (Institutions
  1. ;;^DD(399.5,.06,21,5,0)
  1. ;;= p - Patients
  1. ;;^DD(399.5,.06,21,6,0)
  1. ;;= c - Means Test/Cat C bills
  1. ;;^DD(399.5,.06,21,7,0)
  1. ;;=
  1. ;;^DD(399.5,.06,21,8,0)
  1. ;;=All bills to patients will be considered patient bills except for
  1. ;;^DD(399.5,.06,21,9,0)
  1. ;;=Means test Co-payment bills, which may have a different amount or
  1. ;;^DD(399.5,.06,21,10,0)
  1. ;;=maximum associated with it.
  1. ;;^DD(399.5,.06,"DT")
  1. ;;=2900504