Skip to contents

This function is used to flag the closest assessment record score to the baseline visit date (i.e enrollment date) within a certain window period.

Usage

detect_baseline_score(cur_record_date, enroll_date, time_interval = 30)

Arguments

cur_record_date

Date of current assessment record collected

enroll_date

Enrollment date (i.e. Baseline visit date)

time_interval

Minimum window period (in days) from baseline visit date, Default: 30

Value

A character vector with the same length as the input values `cur_record_date`. The returned vector will contains `Yes` flag for the closest record within the specified window period. Otherwise, missing value.

See also

Other ADNI enrollment: get_adni_blscreen_dxsum(), get_adni_enrollment()