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

IBINI040.m

Go to the documentation of this file.
  1. IBINI040 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(354.3) 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. ;;^DIC(354.3,0,"GL")
  1. ;;=^IBE(354.3,
  1. ;;^DIC("B","BILLING THRESHOLDS",354.3)
  1. ;;=
  1. ;;^DIC(354.3,"%D",0)
  1. ;;=^^15^15^2940214^^^^
  1. ;;^DIC(354.3,"%D",1,0)
  1. ;;=This file contains the threshold amounts for the Medication Copayment
  1. ;;^DIC(354.3,"%D",2,0)
  1. ;;=Income Exemption. It may contain other types of thresholds in the
  1. ;;^DIC(354.3,"%D",3,0)
  1. ;;=future. The Medication Copayment Income Exemption legislation
  1. ;;^DIC(354.3,"%D",4,0)
  1. ;;=was effective on 30-Oct-92. The thresholds are normally effective
  1. ;;^DIC(354.3,"%D",5,0)
  1. ;;=on December 1. To simplify implementation VACO has determined that
  1. ;;^DIC(354.3,"%D",6,0)
  1. ;;=the threshold effective 1-Dec-92 would be used for the period from 30-Oct-92
  1. ;;^DIC(354.3,"%D",7,0)
  1. ;;=to 1-Dec-92.
  1. ;;^DIC(354.3,"%D",8,0)
  1. ;;=
  1. ;;^DIC(354.3,"%D",9,0)
  1. ;;=The Medication Copayment Income Exemption is based on veterans making
  1. ;;^DIC(354.3,"%D",10,0)
  1. ;;=less than the VBA rate for pension plus Aid and Attendence.
  1. ;;^DIC(354.3,"%D",11,0)
  1. ;;=
  1. ;;^DIC(354.3,"%D",12,0)
  1. ;;=
  1. ;;^DIC(354.3,"%D",13,0)
  1. ;;=
  1. ;;^DIC(354.3,"%D",14,0)
  1. ;;=
  1. ;;^DIC(354.3,"%D",15,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(354.3,0)
  1. ;;=FIELD^^.12^12
  1. ;;^DD(354.3,0,"DDA")
  1. ;;=N
  1. ;;^DD(354.3,0,"DT")
  1. ;;=2930405
  1. ;;^DD(354.3,0,"ID",.02)
  1. ;;=W " ",@("$P($P($C(59)_$S($D(^DD(354.3,.02,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,2)_"":"",2),$C(59),1)")
  1. ;;^DD(354.3,0,"ID",.03)
  1. ;;=W " ",$P(^(0),U,3)
  1. ;;^DD(354.3,0,"ID",.04)
  1. ;;=W ""
  1. ;;^DD(354.3,0,"ID",.12)
  1. ;;=W ""
  1. ;;^DD(354.3,0,"IX","AC",354.3,.02)
  1. ;;=
  1. ;;^DD(354.3,0,"IX","AIVDT",354.3,.01)
  1. ;;=
  1. ;;^DD(354.3,0,"IX","AIVDT1",354.3,.02)
  1. ;;=
  1. ;;^DD(354.3,0,"IX","B",354.3,.01)
  1. ;;=
  1. ;;^DD(354.3,0,"NM","BILLING THRESHOLDS")
  1. ;;=
  1. ;;^DD(354.3,.01,0)
  1. ;;=DATE^RD^^0;1^S %DT="EX" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(354.3,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(354.3,.01,1,1,0)
  1. ;;=354.3^B
  1. ;;^DD(354.3,.01,1,1,1)
  1. ;;=S ^IBE(354.3,"B",$E(X,1,30),DA)=""
  1. ;;^DD(354.3,.01,1,1,2)
  1. ;;=K ^IBE(354.3,"B",$E(X,1,30),DA)
  1. ;;^DD(354.3,.01,1,2,0)
  1. ;;=354.3^AIVDT^MUMPS
  1. ;;^DD(354.3,.01,1,2,1)
  1. ;;=I $P(^IBE(354.3,DA,0),"^",2) S ^IBE(354.3,"AIVDT",$P(^(0),"^",2),-X,DA)=""
  1. ;;^DD(354.3,.01,1,2,2)
  1. ;;=K ^IBE(354.3,"AIVDT",+$P(^IBE(354.3,DA,0),"^",2),-X,DA)
  1. ;;^DD(354.3,.01,1,2,"%D",0)
  1. ;;=^^2^2^2921211^
  1. ;;^DD(354.3,.01,1,2,"%D",1,0)
  1. ;;=Inverse date cross reference to rapidly retrieve the proper threshold
  1. ;;^DD(354.3,.01,1,2,"%D",2,0)
  1. ;;=prior to date x.
  1. ;;^DD(354.3,.01,1,2,"DT")
  1. ;;=2921211
  1. ;;^DD(354.3,.01,3)
  1. ;;=
  1. ;;^DD(354.3,.01,21,0)
  1. ;;=^^1^1^2921209^^^
  1. ;;^DD(354.3,.01,21,1,0)
  1. ;;=This is the effective date of this threshold.
  1. ;;^DD(354.3,.01,"DT")
  1. ;;=2921211
  1. ;;^DD(354.3,.02,0)
  1. ;;=TYPE^S^2:PENSION PLUS A&A;^0;2^Q
  1. ;;^DD(354.3,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(354.3,.02,1,1,0)
  1. ;;=354.3^AC
  1. ;;^DD(354.3,.02,1,1,1)
  1. ;;=S ^IBE(354.3,"AC",$E(X,1,30),DA)=""
  1. ;;^DD(354.3,.02,1,1,2)
  1. ;;=K ^IBE(354.3,"AC",$E(X,1,30),DA)
  1. ;;^DD(354.3,.02,1,1,"DT")
  1. ;;=2930319
  1. ;;^DD(354.3,.02,1,2,0)
  1. ;;=354.3^AIVDT1^MUMPS
  1. ;;^DD(354.3,.02,1,2,1)
  1. ;;=I +^IBE(354.3,DA,0) S ^IBE(354.3,"AIVDT",X,-$P(^(0),"^"),DA)=""
  1. ;;^DD(354.3,.02,1,2,2)
  1. ;;=K ^IBE(354.3,"AIVDT",X,-$P(^IBE(354.3,DA,0),"^"),DA)
  1. ;;^DD(354.3,.02,1,2,3)
  1. ;;=DON'T DELETE
  1. ;;^DD(354.3,.02,1,2,"%D",0)
  1. ;;=^^2^2^2921211^
  1. ;;^DD(354.3,.02,1,2,"%D",1,0)
  1. ;;=Inverse date cross reference used to quickly retrieve threshold immediately
  1. ;;^DD(354.3,.02,1,2,"%D",2,0)
  1. ;;=prior to date x.
  1. ;;^DD(354.3,.02,1,2,"DT")
  1. ;;=2921211
  1. ;;^DD(354.3,.02,21,0)
  1. ;;=^^4^4^2930317^^^^
  1. ;;^DD(354.3,.02,21,1,0)
  1. ;;=This is the type of Threshold that this entry is for.