is ConceptSet id a valid definition in the WebApi.

isValidConceptSetId(conceptSetIds, baseUrl)

Arguments

conceptSetIds

A list of integer id(s) of the ConceptSet to be tested for validity.

baseUrl

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

Value

A logical vector indicating if an ID is valid.

Details

Checks if a set of id for a ConceptSet is valid. The following checks are performed. 1) checks if all the ids exists in the WebApi i.e. valid.

Examples

if (FALSE) {
isValidConceptSetId(conceptSetIds = c(13242, 3423, 34), baseUrl = "http://server.org:80/WebAPI")
}