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

IBINI01V.m

Go to the documentation of this file.
  1. IBINI01V ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(350.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(350.5,.04,"DT")
  1. ;;=2920121
  1. ;;^DD(350.5,.05,0)
  1. ;;=WAGE PERCENTAGE^RNJ10,8^^0;5^K:+X'=X!(X>1)!(X<0)!(X?.E1"."9N.N) X
  1. ;;^DD(350.5,.05,1,0)
  1. ;;=^.1
  1. ;;^DD(350.5,.05,1,1,0)
  1. ;;=^^TRIGGER^350.5^.06
  1. ;;^DD(350.5,.05,1,1,1)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBE(350.5,D0,0)):^(0),1:"") S X=$P(Y(1),U,6),X=X S DIU=X K Y S X=DIV S X=1-DIV X ^DD(350.5,.05,1,1,1.4)
  1. ;;^DD(350.5,.05,1,1,1.4)
  1. ;;=S DIH=$S($D(^IBE(350.5,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,6)=DIV,DIH=350.5,DIG=.06 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(350.5,.05,1,1,2)
  1. ;;=Q
  1. ;;^DD(350.5,.05,1,1,"CREATE VALUE")
  1. ;;=1-WAGE PERCENTAGE
  1. ;;^DD(350.5,.05,1,1,"DELETE VALUE")
  1. ;;=NO EFFECT
  1. ;;^DD(350.5,.05,1,1,"FIELD")
  1. ;;=NON-WAGE PERCENTAGE
  1. ;;^DD(350.5,.05,3)
  1. ;;=Type a number between 0 and 1, with up to 8 decimal digits. This is the wage component fraction of the Ambulatory Surgery charge.
  1. ;;^DD(350.5,.05,21,0)
  1. ;;=^^2^2^2920723^^^^
  1. ;;^DD(350.5,.05,21,1,0)
  1. ;;=This is the percentage of the rate group unit charge that is the wage
  1. ;;^DD(350.5,.05,21,2,0)
  1. ;;=component to be used in calculating the ambulatory surgery charge.
  1. ;;^DD(350.5,.05,"DT")
  1. ;;=2920122
  1. ;;^DD(350.5,.06,0)
  1. ;;=NON-WAGE PERCENTAGE^RNJ10,8X^^0;6^K:+X'=X!(X>1)!(X<0)!(X?.E1"."9N.N)!(X'=(1-$P(^IBE(350.5,DA,0),U,5))) X
  1. ;;^DD(350.5,.06,3)
  1. ;;=Type a Number between 0 and 1, 8 Decimal Digits. Wage and non-wage percentage must total 1.
  1. ;;^DD(350.5,.06,5,1,0)
  1. ;;=350.5^.05^1
  1. ;;^DD(350.5,.06,21,0)
  1. ;;=^^2^2^2920415^^^^
  1. ;;^DD(350.5,.06,21,1,0)
  1. ;;=This is the percentage of the rate group unit charge that is the non-wage
  1. ;;^DD(350.5,.06,21,2,0)
  1. ;;=component to be used in calculating the ambulatory surgery charge.
  1. ;;^DD(350.5,.06,"DT")
  1. ;;=2920122
  1. ;;^DD(350.5,.07,0)
  1. ;;=LOCALITY RATE MODIFIER^RNJ11,8^^0;7^K:+X'=X!(X>99)!(X<0)!(X?.E1"."9N.N) X
  1. ;;^DD(350.5,.07,3)
  1. ;;=Type a Number between 0 and 99, 8 Decimal Digits
  1. ;;^DD(350.5,.07,21,0)
  1. ;;=^^4^4^2920415^^^
  1. ;;^DD(350.5,.07,21,1,0)
  1. ;;=This is the Geographic Wage Index that is used to account for wage differences
  1. ;;^DD(350.5,.07,21,2,0)
  1. ;;=in different localities when calculating the ambulatory surgery charge. It is
  1. ;;^DD(350.5,.07,21,3,0)
  1. ;;=multiplied by the wage component to get the final geographic wage component
  1. ;;^DD(350.5,.07,21,4,0)
  1. ;;=of the charge.
  1. ;;^DD(350.5,.07,"DT")
  1. ;;=2920121