Skip to contents

This function is used to extract the baseline diagnostics status when subjects are enrolled in the ADNI study. Also screening diagnostics status of those who were screened for the study.

Usage

get_adni_blscreen_dxsum(.dxsum, phase = "Overall", visit_type = "baseline")

Arguments

.dxsum

Data.frame of DXSUM eCRF

phase

Either `Overall` or phase-specific diagnostics status, Default: 'Overall'

visit_type

Either `baseline` or `screen` diagnostic status, Default: 'baseline'

Value

A data frame that contains `RID`, `ORIGPROT`, `COLPROT`, `EXAMDATE` and either `BL.DIAGNOSIS` for baseline visit or `SC.DIAGNOSIS` for screen visit.

See also

Other ADNI enrollment: detect_baseline_score(), get_adni_enrollment()

Examples

if (FALSE) { # \dontrun{
# Baseline diagnostics status of newly enrolled subject in ADNI study
overall_baseline_dx <- get_adni_blscreen_dxsum(
  .dxsum = ADNIMERGE2::DXSUM,
  phase = "Overall",
  visit_type = "baseline"
)
# Phase-specific baseline diagnostic status:
# when subject enrolled in ADNI3 study phase.
adni3_baseline_dx <- get_adni_blscreen_dxsum(
  .dxsum = ADNIMERGE2::DXSUM,
  phase = "ADNI3",
  visit_type = "baseline"
)
# Screening diagnostics status:
# when subject screened for first time in ADNI study.
first_screen_dx <- get_adni_blscreen_dxsum(
  .dxsum = ADNIMERGE2::DXSUM,
  phase = "Overall",
  visit_type = "screen"
)
# Phase-specific screening diagnostic status:
# when subject screened for ADNI3 study phase.
adni3_screen_dx <- get_adni_blscreen_dxsum(
  .dxsum = ADNIMERGE2::DXSUM,
  phase = "ADNI3",
  visit_type = "screen"
)
} # }