extractConceptSetsInCohortDefinition: Extract concept set expressions from cohort definition...

View source: R/ExtractConceptSetsInCohortDefinition.R

extractConceptSetsInCohortDefinitionR Documentation

Extract concept set expressions from cohort definition expression.

Description

Given a cohort expression, this function extracts the concept set expressions from cohort definition expression.

Usage

extractConceptSetsInCohortDefinition(cohortExpression)

Arguments

cohortExpression

A R-object (list) that represents cohort definition expression. This is derived from cohort expression json using RJSONIO::fromJSON(content = json, digits = 23). Note: it is important to use digits = 23, otherwise numerical precision may be lost for large integer values like conceptId's in cohort definition. The cohort expression JSON is commonly generated using OHDSI tools like Atlas or CapR.

Value

Returns a tibble data frame.


OHDSI/ConceptSetDiagnostics documentation built on Feb. 26, 2023, 1:31 a.m.