This page last changed on 27.08.2013 by ttuv.

TROMSO_STR2_TIME

Name: 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_TIME

This is obtained from the MORGAM derived variable STRTIME3.

STRTIME3 Follow-up time under STROKE3 (in days)
88888 = irrelevant
99999 = insufficient data

If STRTIME3 = 88888 or 99999, STR2_TIME is coded "0" .


Document generated by Confluence on 26.02.2015 17:48