Skip to contents

This function is used to extract death records in the study. Based on the adverse events record (i.e. in `ADVERSE` for ADNI3-4 and `RECADV` in ADNI1-GO-2) and study sum record (i.e. in `STUDSUM` for ADNI3-4).

Usage

get_death_flag(.studysum, .adverse, .recadv)

Arguments

.studysum

Final dispositions (based on `STUDYSUM` form) data frame for ADNI3-4, similar to `STUDYSUM`

.adverse

Adverse events record data.frame for ADNI3-4 study phase, similar to `ADVERSE`

.recadv

Adverse events record data frame for ADNI1-GO-2, similar to `RECADV`

Value

A data frame with the following columns:

  • RID: Subject ID

  • ORIGPROT: Original study protocols

  • COLPROT: Current study protocols which the event was recorded

  • DTHDTC: Death date

  • DTHFL: Death flag, `Yes`

See also

Other ADNI flag: get_disposition_flag()

Examples

if (FALSE) { # \dontrun{
get_death_flag(
  .studysum = ADNIMERGE2::STUDYSUM,
  .adverse = ADNIMERGE2::ADVERSE,
  .recadv = ADNIMERGE2::RECADV
)
} # }