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

IBINI0AS.m

Go to the documentation of this file.
  1. IBINI0AS ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. 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
  1. Q Q
  1. ;;^DD(399.0304,3,1,0)
  1. ;;=^.1
  1. ;;^DD(399.0304,3,1,1,0)
  1. ;;=399.0304^D
  1. ;;^DD(399.0304,3,1,1,1)
  1. ;;=S ^DGCR(399,DA(1),"CP","D",$E(X,1,30),DA)=""
  1. ;;^DD(399.0304,3,1,1,2)
  1. ;;=K ^DGCR(399,DA(1),"CP","D",$E(X,1,30),DA)
  1. ;;^DD(399.0304,3,1,1,"DT")
  1. ;;=2911030
  1. ;;^DD(399.0304,3,3)
  1. ;;=Type a Number between 1 and 99, 0 Decimal Digits
  1. ;;^DD(399.0304,3,21,0)
  1. ;;=^^3^3^2940120^^^^
  1. ;;^DD(399.0304,3,21,1,0)
  1. ;;=This is the relative order that this procedure will appear on the
  1. ;;^DD(399.0304,3,21,2,0)
  1. ;;=bill. The lowest numbers will appear on the UB forms in the blocks
  1. ;;^DD(399.0304,3,21,3,0)
  1. ;;=for procedure. The highest numbers will appear as additional procedures.
  1. ;;^DD(399.0304,3,"DT")
  1. ;;=2911030
  1. ;;^DD(399.0304,4,0)
  1. ;;=BASC BILLABLE^S^1:YES;^0;5^Q
  1. ;;^DD(399.0304,4,1,0)
  1. ;;=^.1
  1. ;;^DD(399.0304,4,1,1,0)
  1. ;;=399.0304^AREV7^MUMPS
  1. ;;^DD(399.0304,4,1,1,1)
  1. ;;=S DGRVRCAL=1
  1. ;;^DD(399.0304,4,1,1,2)
  1. ;;=S DGRVRCAL=2
  1. ;;^DD(399.0304,4,1,1,"%D",0)
  1. ;;=^^2^2^2911119^
  1. ;;^DD(399.0304,4,1,1,"%D",1,0)
  1. ;;=When this field is edited or changed, the revenue codes and charges for this
  1. ;;^DD(399.0304,4,1,1,"%D",2,0)
  1. ;;=bill will automatically be recalculated.
  1. ;;^DD(399.0304,4,1,1,"DT")
  1. ;;=2911119
  1. ;;^DD(399.0304,4,1,2,0)
  1. ;;=399.0304^ASC
  1. ;;^DD(399.0304,4,1,2,1)
  1. ;;=S ^DGCR(399,DA(1),"CP","ASC",$E(X,1,30),DA)=""
  1. ;;^DD(399.0304,4,1,2,2)
  1. ;;=K ^DGCR(399,DA(1),"CP","ASC",$E(X,1,30),DA)
  1. ;;^DD(399.0304,4,1,2,"%D",0)
  1. ;;=^^2^2^2930611^^
  1. ;;^DD(399.0304,4,1,2,"%D",1,0)
  1. ;;=This cross-reference is used to determine if any procedures entered are
  1. ;;^DD(399.0304,4,1,2,"%D",2,0)
  1. ;;=billable as Ambulatory Surgery Codes.
  1. ;;^DD(399.0304,4,1,2,"DT")
  1. ;;=2911120
  1. ;;^DD(399.0304,4,3)
  1. ;;=
  1. ;;^DD(399.0304,4,5,1,0)
  1. ;;=399.0304^5^1
  1. ;;^DD(399.0304,4,5,2,0)
  1. ;;=399.0304^.01^3
  1. ;;^DD(399.0304,4,5,3,0)
  1. ;;=399.0304^1^2
  1. ;;^DD(399.0304,4,21,0)
  1. ;;=2^^2^2^2940214^
  1. ;;^DD(399.0304,4,21,1,0)
  1. ;;=This field will be completed by the system if this procedure is an
  1. ;;^DD(399.0304,4,21,2,0)
  1. ;;=Ambulatory Surgery that can be billed under the HCFA rate system.
  1. ;;^DD(399.0304,4,"DT")
  1. ;;=2920228
  1. ;;^DD(399.0304,5,0)
  1. ;;=DIVISION^RP40.8'^DG(40.8,^0;6^Q
  1. ;;^DD(399.0304,5,1,0)
  1. ;;=^.1
  1. ;;^DD(399.0304,5,1,1,0)
  1. ;;=^^TRIGGER^399.0304^4
  1. ;;^DD(399.0304,5,1,1,1)
  1. ;;=K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA,DIV(1)=D1 S Y(1)=$S($D(^DGCR(399,D0,"CP",D1,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y X ^DD(399.0304,5,1,1,1.1) X ^DD(399.0304,5,1,1,1.4)
  1. ;;^DD(399.0304,5,1,1,1.1)
  1. ;;=S X=DIV S X=$$CP^IBEFUNC1(DA(1),DA) I X'="" S X=1
  1. ;;^DD(399.0304,5,1,1,1.4)
  1. ;;=S DIH=$S($D(^DGCR(399,DIV(0),"CP",DIV(1),0)):^(0),1:""),DIV=X S $P(^(0),U,5)=DIV,DIH=399.0304,DIG=4 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(399.0304,5,1,1,2)
  1. ;;=K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA,DIV(1)=D1 S Y(1)=$S($D(^DGCR(399,D0,"CP",D1,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y S X="" X ^DD(399.0304,5,1,1,2.4)
  1. ;;^DD(399.0304,5,1,1,2.4)
  1. ;;=S DIH=$S($D(^DGCR(399,DIV(0),"CP",DIV(1),0)):^(0),1:""),DIV=X S $P(^(0),U,5)=DIV,DIH=399.0304,DIG=4 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(399.0304,5,1,1,"%D",0)
  1. ;;=^^1^1^2930903^
  1. ;;^DD(399.0304,5,1,1,"%D",1,0)
  1. ;;=Calculate and set BASC billable flag.
  1. ;;^DD(399.0304,5,1,1,"CREATE VALUE")
  1. ;;=S X=$$CP^IBEFUNC1(DA(1),DA) I X'="" S X=1
  1. ;;^DD(399.0304,5,1,1,"DELETE VALUE")
  1. ;;=@
  1. ;;^DD(399.0304,5,1,1,"DT")
  1. ;;=2930903
  1. ;;^DD(399.0304,5,1,1,"FIELD")
  1. ;;=BASC BILLABLE
  1. ;;^DD(399.0304,5,3)
  1. ;;=Enter the division where this procedure was performed.
  1. ;;^DD(399.0304,5,21,0)
  1. ;;=^^3^3^2930611^^^^
  1. ;;^DD(399.0304,5,21,1,0)
  1. ;;=Enter the Division at which this procedure was performed. If this field