CHECK: Interview Date >= TODATE (year told had dementia, month told had dementia.ORD,  
1)  
││ [QInit.IntDat >= TODATE year told had dementia, month told had dementia.ORD, 1 ]  
││ INTERVIEWER: This date is in the future (^HeAgjR ^HeAgjRY)! Please change!  
││  
END CHECK  
END OF FILTER  
IF (Previous Interview Date = RESPONSE) AND (Month told had memory impairment =  
RESPONSE)  
AND (Year told had memory impairment = RESPONSE)  
[PrevDate = RESPONSE AND HeAgjR = RESPONSE AND HeAgjRY = RESPONSE]  
CHECK: PrevDate <= TODATE (year told had dementia, month told had dementia, 28)  
││ [PrevDate <= TODATE HeAgjRY, HeAgjR.ORD, 28]  
││ INTERVIEWER: This date is before the date of ^IName[Pnum]'s last interview. Please  
││ check!  
││  
END CHECK  
END OF FILTER  
HE57 HEFLB  
IF (whether post-interview editing question = Yes) AND (Number of times fallen down =  
RESPONSE) [EditQre = 1 AND HeFlb = RESPONSE]  
CHECK: (number of times fallen down > 0) INVOLVING (whether fallen down, number of  
times fallen  
││ down)  
││ [HeFlb > 0 INVOLVING HeFla, HeFlb]  
││  
││ EDIT: Number of Falls  
││ number of times fallen down=0  
││ Please change whether fallen down to 'no'.  
││  
END CHECK  
END OF FILTER  
HE58 HEAID  
IF walking aids used = None [HeAid = None]  
CHECK: walking aids used.CARDINAL = 1 [HeAid.CARDINAL = 1 ]  
││  
││ 'None of these' is an exclusive code for this question.  
││  
END CHECK  
END OF FILTER  
HE59 HEAIDW  
IF walking aids used = RESPONSE [HeAidW = RESPONSE]  
LOOP FOR idx:= 1 TO 8  
││