Produces a protected cohort-membership view with row_id (the
cohort_row_id alias), pseudonymized subject_id,
cohort_definition_id, and dates transformed by the configured date
policy (removed by default). Recurrent episodes remain distinct. Requires a
cohort to be set on the plan via ds.omop.plan.cohort; this is
not an unrestricted raw export of the OHDSI cohort table.
Examples
if (FALSE) { # \dontrun{
plan <- ds.omop.plan()
plan <- ds.omop.plan.cohort(plan, cohort_definition_id = 1)
plan <- ds.omop.plan.cohort_membership(plan, name = "my_cohort")
} # }