List All Vocabularies
Get a paginated list of all available medical vocabularies:Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
include_stats | bool | False | Include vocabulary statistics |
include_inactive | bool | False | Include inactive vocabularies |
sort_by | str | ”name” | Sort field (“name”, “priority”, “updated”) |
sort_order | str | ”asc” | Sort order (“asc”, “desc”) |
page | int | 1 | Page number |
page_size | int | 20 | Results per page (max 1000) |
Get Vocabulary Details
Get detailed information about a specific vocabulary:Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
vocabulary_id | str | required | Vocabulary identifier (e.g., “SNOMED”, “ICD10CM”) |
Response Fields
Returnsvocabulary_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
| Parameter | Type | Default | Description |
|---|---|---|---|
vocabulary_id | str | required | Vocabulary identifier (e.g., “SNOMED”, “ICD10CM”) |
domain_id | str | required | Domain identifier (e.g., “Condition”, “Drug”, “Procedure”) |
Get Vocabulary Domains
Get all standard OHDSI domains:domain_id, domain_name, and description.
Get Concept Classes
Get all available concept classes: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
| Parameter | Type | Default | Description |
|---|---|---|---|
vocabulary_id | str | required | Vocabulary identifier (e.g., “SNOMED”, “ICD10CM”) |
search | str | None | Search term to filter concepts by name or code |
standard_concept | str | ”all” | Filter by standard concept status (“S”, “C”, “all”) |
include_invalid | bool | False | Include invalid or deprecated concepts |
include_relationships | bool | False | Include concept relationships in response |
include_synonyms | bool | False | Include concept synonyms in response |
sort_by | str | ”name” | Sort field (“name”, “concept_id”, “concept_code”) |
sort_order | str | ”asc” | Sort order (“asc”, “desc”) |
page | int | 1 | Page number |
page_size | int | 20 | Results per page (max 1000) |