Convert a concept set definition to a table

convertConceptSetDefinitionToTable(conceptSetDefinition)

Arguments

conceptSetDefinition

A concept set definition, for example as obtained through the getConceptSetDefinition function, or taken from a cohort definition.

Value

Takes a R (list) representation of the Concept Set expression and returns a table (dataframe) representing the concept set expression. This is useful to create publication friendly output of the concept set expression.

Examples

if (FALSE) {
conceptSetDefinition <- getConceptSetDefinition(conceptSetId = 282,
                                                baseUrl = "http://server.org:80/WebAPI")
convertConceptSetDefinitionToTable(conceptSetDefinition = conceptSetDefinition)
}