Skip to contents

Get concepts from the observation table for a given cohort

Usage

aou_get_observation_concepts(cohort, concepts, start_date, end_date, ...)

Arguments

cohort

A cohort object

concepts

A vector of concept IDs to filter by

start_date

The name of the column with the start date for filtering observations

end_date

The name of the column with the end date for filtering observations

...

Additional arguments to pass to aou_join

Value

A data frame with columns person_id, date, concept_id, concept_name, and domain = "observation"

Examples

aou_get_observation_concepts(cohort, c(123, 456), start_date, end_date)
#> Error in aou_get_observation_concepts(cohort, c(123, 456), start_date,     end_date): could not find function "aou_get_observation_concepts"