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

IBINI04V.m

Go to the documentation of this file.
  1. IBINI04V ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(355.4) 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(355.4,2.05,21,0)
  1. ;;=^^2^2^2930607^
  1. ;;^DD(355.4,2.05,21,1,0)
  1. ;;=If this policy has a lifetime maximum benefit for mental health services,
  1. ;;^DD(355.4,2.05,21,2,0)
  1. ;;=then this is the amount of that benefit.
  1. ;;^DD(355.4,2.05,"DT")
  1. ;;=2931028
  1. ;;^DD(355.4,2.06,0)
  1. ;;=MH ANNUAL OUTPATIENT MAX.^NJ9,2^^2;6^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
  1. ;;^DD(355.4,2.06,3)
  1. ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
  1. ;;^DD(355.4,2.06,21,0)
  1. ;;=^^2^2^2930713^^
  1. ;;^DD(355.4,2.06,21,1,0)
  1. ;;=If this policy has a benefit for mental health services,
  1. ;;^DD(355.4,2.06,21,2,0)
  1. ;;=then this amount is the maximum of that benefit for one year.
  1. ;;^DD(355.4,2.06,"DT")
  1. ;;=2930513
  1. ;;^DD(355.4,2.07,0)
  1. ;;=DENTAL COVERAGE TYPE^S^0:NONE;1:PER VISIT AMOUNT;2:PERCENTAGE AMOUNT;^2;7^Q
  1. ;;^DD(355.4,2.07,1,0)
  1. ;;=^.1
  1. ;;^DD(355.4,2.07,1,1,0)
  1. ;;=^^TRIGGER^355.4^2.08
  1. ;;^DD(355.4,2.07,1,1,1)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBA(355.4,D0,2)):^(2),1:"") S X=$P(Y(1),U,8),X=X S DIU=X K Y S X="" X ^DD(355.4,2.07,1,1,1.4)
  1. ;;^DD(355.4,2.07,1,1,1.4)
  1. ;;=S DIH=$S($D(^IBA(355.4,DIV(0),2)):^(2),1:""),DIV=X S $P(^(2),U,8)=DIV,DIH=355.4,DIG=2.08 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(355.4,2.07,1,1,2)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBA(355.4,D0,2)):^(2),1:"") S X=$P(Y(1),U,8),X=X S DIU=X K Y S X="" X ^DD(355.4,2.07,1,1,2.4)
  1. ;;^DD(355.4,2.07,1,1,2.4)
  1. ;;=S DIH=$S($D(^IBA(355.4,DIV(0),2)):^(2),1:""),DIV=X S $P(^(2),U,8)=DIV,DIH=355.4,DIG=2.08 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(355.4,2.07,1,1,"%D",0)
  1. ;;=^^1^1^2940107^^
  1. ;;^DD(355.4,2.07,1,1,"%D",1,0)
  1. ;;=When changing or deleting DENTAL COVERAGE TYPE delete DENTAL COVERAGE $ OR %.
  1. ;;^DD(355.4,2.07,1,1,"CREATE VALUE")
  1. ;;=@
  1. ;;^DD(355.4,2.07,1,1,"DELETE VALUE")
  1. ;;=@
  1. ;;^DD(355.4,2.07,1,1,"FIELD")
  1. ;;=#2.08
  1. ;;^DD(355.4,2.07,3)
  1. ;;=
  1. ;;^DD(355.4,2.07,21,0)
  1. ;;=^^2^2^2930607^
  1. ;;^DD(355.4,2.07,21,1,0)
  1. ;;=This indicates whether there is a dental benefit, and if so, the
  1. ;;^DD(355.4,2.07,21,2,0)
  1. ;;=per visit or percentage amount.
  1. ;;^DD(355.4,2.07,"DT")
  1. ;;=2940107
  1. ;;^DD(355.4,2.08,0)
  1. ;;=DENTAL COVERAGE $ OR %^NJ5,0^^2;8^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(355.4,2.08,3)
  1. ;;=Type a Number between 0 and 99999, 0 Decimal Digits if coverage is a $ amount, or between 0 and 100 if %.
  1. ;;^DD(355.4,2.08,5,1,0)
  1. ;;=355.4^2.07^1
  1. ;;^DD(355.4,2.08,21,0)
  1. ;;=^^2^2^2931228^^
  1. ;;^DD(355.4,2.08,21,1,0)
  1. ;;=If there is a dental benefit, this number indicates the dollar
  1. ;;^DD(355.4,2.08,21,2,0)
  1. ;;=or percentage amount of that benefit.
  1. ;;^DD(355.4,2.08,"DT")
  1. ;;=2930513
  1. ;;^DD(355.4,2.09,0)
  1. ;;=OUTPATIENT VISIT (%)^NJ3,0^^2;9^K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(355.4,2.09,3)
  1. ;;=Type a Number between 0 and 100, 0 Decimal Digits
  1. ;;^DD(355.4,2.09,21,0)
  1. ;;=^^2^2^2930607^^^
  1. ;;^DD(355.4,2.09,21,1,0)
  1. ;;=If this policy has an outpatient benefit, this is the percentage
  1. ;;^DD(355.4,2.09,21,2,0)
  1. ;;=coverage per outpatient visit.
  1. ;;^DD(355.4,2.09,"DT")
  1. ;;=2930603
  1. ;;^DD(355.4,2.1,0)
  1. ;;=EMERGENCY OUTPATIENT (%)^NJ6,0^^2;10^K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(355.4,2.1,3)
  1. ;;=Type a Number between 0 and 999999, 0 Decimal Digits
  1. ;;^DD(355.4,2.1,21,0)
  1. ;;=^^2^2^2930607^^^
  1. ;;^DD(355.4,2.1,21,1,0)
  1. ;;=If this policy has a benefit for emergency outpatient services,
  1. ;;^DD(355.4,2.1,21,2,0)
  1. ;;=this is the percentage covered by that benefit.
  1. ;;^DD(355.4,2.1,"DT")
  1. ;;=2930607
  1. ;;^DD(355.4,2.11,0)
  1. ;;=MENTAL HEALTH OUTPATIENT (%)^NJ3,0^^2;11^K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X