Fetch concept set definition from WebAPI by SourceKey

getConceptSetDefinitionBySourceKey(
  conceptSetId,
  baseUrl,
  vocabularySourceKey = NULL
)

Arguments

conceptSetId

the id of the concept set to retrieve.

baseUrl

The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".

vocabularySourceKey

The source key of the Vocabulary. By default, the priority Vocabulary is used.

Value

An R object representing the ConceptSet definition

Details

Fetches a concept set definition from WebAPI by SourceKey. If SourceKey is not specified, the priority vocabulary will be used.

Examples

if (FALSE) {
conceptSetDefinition <- getConceptSetDefinitionBySourceKey(conceptSetId = 282,
                                                baseUrl = "http://server.org:80/WebAPI",
                                                vocabularySourceKey = "MY_VOCAB")
conceptIds <- resolveConceptSet(conceptSetDefinition = conceptSetDefinition,
                                baseUrl = "http://server.org:80/WebAPI")
}