Skip to main content

List All Vocabularies

Get a paginated list of all available medical vocabularies:

Parameters

ParameterTypeDefaultDescription
include_statslogicalFALSEInclude vocabulary statistics
include_inactivelogicalFALSEInclude inactive vocabularies
sort_bycharacter”name”Sort field (“name”, “priority”, “updated”)
sort_ordercharacter”asc”Sort order (“asc”, “desc”)
pageinteger1Page number
page_sizeinteger100Results per page (max 1000)

Get Vocabulary Details

Get detailed information about a specific vocabulary:

Parameters

ParameterTypeDefaultDescription
vocabulary_idcharacterrequiredVocabulary identifier (e.g., “SNOMED”, “ICD10CM”)

Response Fields

Returns vocabulary_id, vocabulary_name, vocabulary_reference, vocabulary_version, vocabulary_concept_id. For detailed statistics, use client$vocabularies$stats(vocabulary_id).

Get Vocabulary Statistics

Get statistical information about a vocabulary:

Get Domain Statistics

Get statistics for a specific domain within a vocabulary:

Parameters

ParameterTypeDefaultDescription
vocabulary_idcharacterrequiredVocabulary identifier (e.g., “SNOMED”, “ICD10CM”)
domain_idcharacterrequiredDomain identifier (e.g., “Condition”, “Drug”, “Procedure”)

Get Vocabulary Domains

Get all standard OHDSI domains:
Returns all available domains with domain_id, domain_name, and description.

Get Concept Classes

Get all available concept classes:
Returns concept classes with concept_class_id, concept_class_name, and concept_class_concept_id.

Get Vocabulary Concepts

Retrieve concepts within a specific vocabulary with filtering and pagination:

Parameters

ParameterTypeDefaultDescription
vocabulary_idcharacterrequiredVocabulary identifier (e.g., “SNOMED”, “ICD10CM”)
searchcharacterNULLSearch term to filter concepts by name or code
standard_conceptcharacter”all”Filter by standard concept status (“S”, “C”, “all”)
include_invalidlogicalTRUEInclude invalid or deprecated concepts
include_relationshipslogicalFALSEInclude concept relationships in response
include_synonymslogicalFALSEInclude concept synonyms in response
sort_bycharacter”name”Sort field (“name”, “concept_id”, “concept_code”)
sort_ordercharacter”asc”Sort order (“asc”, “desc”)
pageinteger1Page number
page_sizeinteger20Results per page (max 1000)