R/ConceptSet.R
convertConceptSetDefinitionToTable.Rd
Convert a concept set definition to a table
convertConceptSetDefinitionToTable(conceptSetDefinition)
A concept set definition, for example as obtained through the getConceptSetDefinition
function,
or taken from a cohort definition.
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.
if (FALSE) {
conceptSetDefinition <- getConceptSetDefinition(conceptSetId = 282,
baseUrl = "http://server.org:80/WebAPI")
convertConceptSetDefinitionToTable(conceptSetDefinition = conceptSetDefinition)
}