|
CHANCES : CR_STR2_TIME
This page last changed on 27.08.2013 by ttuv.
TROMSO_STR2_TIMEName: STR2_TIME Description and values: STR2_TIME gives the length (in days) of the follow-up of likely cerebral infarction. Local variable explanation: DIAGISCH: Diagnose of ischemic cerebral infarction (1=definite) DATOISCH: Date of diagnose of ischemic cerebral infarction FLYTTEDATO: Date of relocation from town/municipality DATE_T4: Date of examination SAS code: If DIAGISCH = 1 and (sign(DATOISCH -'31dec2010'd)=1 or sign(DATE_T4 - DATOISCH)=1) then do; DIAGISCH=.; DATOISCH=.; end; IF DIAGISCH = 1 and sign(DATOISCH-FLYTTEDATO)=1 then do; STR2_EXIT=FLYTTEDATO; end; ELSE IF DIAGISCH = 1 and .<(DATO_DOD -DATOISCH)<=28 then do; STR2_EXIT=DATOISCH; end; else if DIAGISCH = 1 then do; STR2_EXIT=DATOISCH; end; else do; STR2_EXIT=min(FLYTTEDATO,dato_dod,'31dec2010'd); end; STR2_TIME=STR2_EXIT-DATE_T4; MORGAM_STR2_TIMEThis is obtained from the MORGAM derived variable STRTIME3.
If STRTIME3 = 88888 or 99999, STR2_TIME is coded "0" . |
| Document generated by Confluence on 26.02.2015 17:48 |