|
CHANCES : CR_STR3_AGE
This page last changed on 27.08.2013 by ttuv.
TROMSO_STR3_AGEName: STR3_AGE Description and values: STR3_AGE gives the age (in years) at the time of exit from the follow-up of a likely haemorrhagic stroke. The variable has no missing values. Local variable explanation: DIAGHEMO: Diagnose of haemorrhagic stroke (1=definite) DATOHEMO: Date of diagnose of haemorrhagic stroke FLYTTEDATO: Date of relocation from town/municipality DATE_T4: Date of examination DATO_DOD: Date of death fdato: date of death SAS code: If DIAGHEMO = 1 and (sign(DATOHEMO -'31dec2010'd)=1 or sign(DATE_T4 - DATOHEMO)=1) then do; DIAGHEMO=.; DATOHEMO=.; end; IF DIAGHEMO = 1 and sign(DATOHEMO-FLYTTEDATO)=1 then do; STR3_AGE=year(FLYTTEDATO) - year(fdato); end; ELSE IF DIAGHEMO = 1 and .<(DATO_DOD -DATOHEMO)<=28 then do; STR3_AGE=year(DATOHEMO) - year(fdato); end; else if DIAGHEMO = 1 then do; STR3_AGE=year(DATOHEMO) - year(fdato); end; else do; STR3_AGE=year(min(FLYTTEDATO,dato_dod,'31dec2010'd)) - year(fdato); end; MORGAM_STR3_AGEThis was obtained from the MORGAM derived variable STRAGE5.
If STRAGE5 = 888.88 or 999.99, CONTACT_AGE is coded for STR3_AGE. |
| Document generated by Confluence on 26.02.2015 17:51 |