1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^BMEMASTR(D0,0)):^(0),1:"") S X=$P(Y(1),U,4),X=X S DIU=X K Y S X=DIV S X=DIV X ^DD(90334,.03,1,1,1.4)
1.4)= S DIH=$S($D(^BMEMASTR(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,4)=DIV,DIH=90334,DIG=.04 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
2)= Q
CREATE VALUE)= UPDATE DATE
DELETE VALUE)= NO EFFECT
FIELD)= STILL ELIGIBLE DATE
CROSS-REFERENCE: ^^TRIGGER^90334^.05
1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X S Y(1)=$S($D(^BMEMASTR(D0,0)):^(0),1:"") S X=$P(Y(1),U,5)'="" I X S X=DIV S Y(1)=$S($D(^BMEMASTR(D0,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y S X="" X ^DD(90334,.03,1,2,1.4)
1.4)= S DIH=$S($D(^BMEMASTR(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,5)=DIV,DIH=90334,DIG=.05 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
NOTES: TRIGGERED by the NEW ADD DATE field of the BME MEDICAID MASTER LIST File
TRIGGERED by the UPDATE DATE field of the BME MEDICAID MASTER LIST File
CROSS-REFERENCE: 90334^AC
1)= S ^BMEMASTR("AC",$E(X,1,30),DA)=""
2)= K ^BMEMASTR("AC",$E(X,1,30),DA)
This cross reference is utilized by the AZAMFALL Routine which provides a listing of all Fall Off Patients. (Those on the previous Month's Roster, but not on the current Month's Roster). The Still eligible date is
compared to the current Month's Download date. If they differ, the patient was not on the current Month's Roster and has, therefore, Fallen Off.
CROSS-REFERENCE: ^^TRIGGER^90334^.05
1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^BMEMASTR(D0,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y S X="" X ^DD(90334,.04,1,2,1.4)
1.4)= S DIH=$S($D(^BMEMASTR(DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,5)=DIV,DIH=90334,DIG=.05 D ^DICR:$O(^DD(DIH,DIG,1,0))>0