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

IBINI03N.m

Go to the documentation of this file.
  1. IBINI03N ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(354) 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(354,.03,1,1,"DT")
  1. ;;=2930121
  1. ;;^DD(354,.03,3)
  1. ;;=Enter the date of the current income exemption.
  1. ;;^DD(354,.03,5,1,0)
  1. ;;=354^.04^2
  1. ;;^DD(354,.03,9)
  1. ;;=^
  1. ;;^DD(354,.03,21,0)
  1. ;;=^^5^5^2940213^^^^
  1. ;;^DD(354,.03,21,1,0)
  1. ;;=DO NOT EDIT THIS FIELD. It is maintained by the Copay Exemption Software.
  1. ;;^DD(354,.03,21,2,0)
  1. ;;=
  1. ;;^DD(354,.03,21,3,0)
  1. ;;=This is the date that this patients Medication Copay Income Exemption
  1. ;;^DD(354,.03,21,4,0)
  1. ;;=Status was last updated. If this date is not in the current calendar
  1. ;;^DD(354,.03,21,5,0)
  1. ;;=year this patient will be flagged as needing to have his status updated.
  1. ;;^DD(354,.03,23,0)
  1. ;;=^^5^5^2940213^^^^
  1. ;;^DD(354,.03,23,1,0)
  1. ;;=This field will be updated by the Copay Exemption software every time
  1. ;;^DD(354,.03,23,2,0)
  1. ;;=a new current exemption is added. It should not be edited.
  1. ;;^DD(354,.03,23,3,0)
  1. ;;=
  1. ;;^DD(354,.03,23,4,0)
  1. ;;=Programmers must 4 slash stuff data into this field to bypass the input
  1. ;;^DD(354,.03,23,5,0)
  1. ;;=transform.
  1. ;;^DD(354,.03,"DT")
  1. ;;=2930210
  1. ;;^DD(354,.04,0)
  1. ;;=COPAY INCOME EXEMPTION STATUS^R*S^1:EXEMPT;0:NON-EXEMPT;^0;4^Q
  1. ;;^DD(354,.04,.1)
  1. ;;=RX COPAY CURRENT INCOME EXEMPTION STATUS
  1. ;;^DD(354,.04,1,0)
  1. ;;=^.1^^-1
  1. ;;^DD(354,.04,1,1,0)
  1. ;;=354^AEX
  1. ;;^DD(354,.04,1,1,1)
  1. ;;=S ^IBA(354,"AEX",$E(X,1,30),DA)=""
  1. ;;^DD(354,.04,1,1,2)
  1. ;;=K ^IBA(354,"AEX",$E(X,1,30),DA)
  1. ;;^DD(354,.04,1,1,"%D",0)
  1. ;;=^^2^2^2930429^^^
  1. ;;^DD(354,.04,1,1,"%D",1,0)
  1. ;;=This is a regular cross-reference of the Pharmacy Copay Income Exemption
  1. ;;^DD(354,.04,1,1,"%D",2,0)
  1. ;;=Status of patients for their most recent status.
  1. ;;^DD(354,.04,1,1,"DT")
  1. ;;=2921109
  1. ;;^DD(354,.04,1,2,0)
  1. ;;=^^TRIGGER^354^.03
  1. ;;^DD(354,.04,1,2,1)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBA(354,D0,0)):^(0),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X=DIV S X=DT X ^DD(354,.04,1,2,1.4)
  1. ;;^DD(354,.04,1,2,1.4)
  1. ;;=S DIH=$S($D(^IBA(354,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,3)=DIV,DIH=354,DIG=.03 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(354,.04,1,2,2)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBA(354,D0,0)):^(0),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" S DIH=$S($D(^IBA(354,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,3)=DIV,DIH=354,DIG=.03 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(354,.04,1,2,"CREATE VALUE")
  1. ;;=S X=DT
  1. ;;^DD(354,.04,1,2,"DELETE VALUE")
  1. ;;=@
  1. ;;^DD(354,.04,1,2,"DT")
  1. ;;=2921109
  1. ;;^DD(354,.04,1,2,"FIELD")
  1. ;;=#.03
  1. ;;^DD(354,.04,3)
  1. ;;=Enter whether this patient is currently exempt from pharmacy copay due to the income exemption.
  1. ;;^DD(354,.04,9)
  1. ;;=^
  1. ;;^DD(354,.04,12)
  1. ;;=This field can only be edited/updated by the Copay Exemption software.
  1. ;;^DD(354,.04,12.1)
  1. ;;=S DIC("S")="I $P(^IBA(354,DA,0),U,4)=Y!($G(IBJOB)>10)"
  1. ;;^DD(354,.04,21,0)
  1. ;;=^^10^10^2930429^^^^
  1. ;;^DD(354,.04,21,1,0)
  1. ;;=DO NOT EDIT THIS FIELD. It is maintained by the Copay Exemption Software.
  1. ;;^DD(354,.04,21,2,0)
  1. ;;=
  1. ;;^DD(354,.04,21,3,0)
  1. ;;=This is the patients current Medication Copay Income Exemption Status. It
  1. ;;^DD(354,.04,21,4,0)
  1. ;;=is updated whenever an entry in the Billing Exemptions file is made.
  1. ;;^DD(354,.04,21,5,0)
  1. ;;=
  1. ;;^DD(354,.04,21,6,0)
  1. ;;=If a patient's income is less than the pension level, effective 10/29/92
  1. ;;^DD(354,.04,21,7,0)
  1. ;;=the patient is exempt from paying the Medication Copayment. If a patient
  1. ;;^DD(354,.04,21,8,0)
  1. ;;=is receiving a VA Pension, or is receiving Aid and Attendence or House
  1. ;;^DD(354,.04,21,9,0)
  1. ;;=Bound benefits, or his income for the previous year is less than the