Skip to contents

Get concept ids from a provided path to cohort json files

Usage

codesFromCohort(path, cdm, type = c("codelist"))

Arguments

path

Path to a file or folder containing JSONs of cohort definitions

cdm

A cdm reference created with CDMConnector

type

Can be "codelist", "codelist_with_details", or "concept_set_expression"

Value

Named list with concept_ids for each concept set