Skip to contents

Get ADNI Screening Date

Usage

get_adni_screen_date(
  .registry,
  phase = "Overall",
  multiple_screen_visit = FALSE
)

Arguments

.registry

Data.frame of REGISTRY() eCRF

phase

Either Overall or phase-specific screening date, Default: 'Overall'

multiple_screen_visit

A Boolean value to include multiple screen visits in ADNIGO and ADNI2 phases, Default: FALSE

Value

A data.frame contains the following variables:

  • RID: Subject ID

  • ORIGPROT: Original study protocols

  • COLPROT: Study data collection protocols

  • SCREENDATE: Screening visit date

  • VISCODE: Screening visit code only when multiple_screen_visit is TRUE

Details

This function is used to extract subject's screening date in ADNI study when they participate in the study for the first time.

Overall Screening: Across the whole ADNI study phases Phase Specific Screening: Based on a particular set of ADNI study phases Multiple Screening Visit: Accounts for multiple screening stage, particularly in ADNIGO and ADNI2 study phases.

See also

Examples

if (FALSE) { # \dontrun{
library(tidyverse)
library(ADNIMERGE2)

# Overall screening: ----
# When subjects were screened for the first time in ADNI study.
overall_screen_registry <- get_adni_screen_date(
  .registry = ADNIMERGE2::REGISTRY,
  phase = "Overall",
  multiple_screen_visit = FALSE
)

# Phase-specific screening:
# When subject screened for the first time in ADNI3 study phase.
adni3_screen_registry <- get_adni_screen_date(
  .registry = ADNIMERGE2::REGISTRY,
  phase = "ADNI3",
  multiple_screen_visit = FALSE
)

# Multiple screen visits in ADNIGO and ADNI2 study phases.
adnigo2_screen_registry <- get_adni_screen_date(
  .registry = ADNIMERGE2::REGISTRY,
  phase = c("ADNIGO", "ADNI2"),
  multiple_screen_visit = TRUE
)

# Screening across each ADNI study phases
phase_screen_registry <- get_adni_screen_date(
  .registry = ADNIMERGE2::REGISTRY,
  phase = ADNIMERGE2::adni_phase(),
  multiple_screen_visit = FALSE
)
} # }