IF ((Previous Interview Date = RESPONSE) AND (Month told had diabetes = RESPONSE))
AND (Year told
│ had diabetes = RESPONSE) [PrevDate = RESPONSE AND HeAgdR = RESPONSE AND
HeAgdRY =
│ RESPONSE]
│
│ CHECK: Previous Interview Date <= TODATE
││ (year told had diabetes, month told had diabetes.ORD, 28)
││ [PrevDate <= TODATE HeAgdRY, HeAgdR.ORD, 28 ]
││ INTERVIEWER: This date is before the date of ^IName[Pnum]'s last interview. Please
││ check!
││
│ END CHECK
│
END OF FILTER
HE28 HESLFCY
CHECK: year had diabetes management training <= Interview Date
│ [Heslfcy <= QInit.IntDat.YEAR ]
│
│ You have entered a future year, please check and amend.
│
END CHECK
CHECK: year had diabetes management training > (Interview Date.YEAR - AgeP)
│ [Heslfcy > QInit.IntDat.YEAR – AgeP]
│
│
│ That is before the respondent was born, please check and amend.
│
END CHECK
HE29 HEAGE
HE30 HEAGE
IF (Respondent Age > 0) AND (Age first told had stroke = RESPONSE)
│ [IAgeOf > 0 AND HeAge = RESPONSE]
│
│ CHECK: age first told had a stroke <= Respondent Age [HeAge <= IAgeOf ]
││ INTERVIEWER: ^IName[Pnum] is only ^iageof[Pnum] now!
││ Please change!
││
│ END CHECK
│
END OF FILTER
IF age first told had a stroke = RESPONSE [HeAge = RESPONSE]
│ [HeAge = RESPONSE]
│
│ CHECK: age first told had a stroke > 35 [HeAge > 35 ]
││
││ This seems young (^heage), can I check?
││
│ END CHECK
│
END OF FILTER