|
CHANCES : CR_STR3_TIME
This page last changed on 27.08.2013 by ttuv.
TROMSO_STR3_TIMEName: 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: DIAHEMO: 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_EXIT=FLYTTEDATO; end; ELSE IF DIAGHEMO = 1 and .<(DATO_DOD -DATOHEMO)<=28 then do; STR3_EXIT=DATOHEMO; end; else if DIAGHEMO = 1 then do; STR3_EXIT=DATOHEMO; end; else do; STR3_EXIT=min(FLYTTEDATO,dato_dod,'31dec2010'd); end; STR3_TIME=STR3_EXIT-DATE_T4; MORGAM_STR3_TIMEThis is obtained from the MORGAM derived variable STRTIME5.
If STRTIME5 = 88888 or 99999, STR3_TIME is coded "0" . |
| Document generated by Confluence on 26.02.2015 17:53 |