curl -X GET "https://api.omophub.com/v1/vocabularies/SNOMED" \
-H "Authorization: Bearer YOUR_API_KEY"
import requests
response = requests.get(
"https://api.omophub.com/v1/vocabularies/SNOMED",
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
vocabulary = response.json()
print(f"Name: {vocabulary['data']['vocabulary_name']}")
print(f"Version: {vocabulary['data']['vocabulary_version']}")
import { OMOPHub } from '@omophub/omophub-node';
const client = new OMOPHub();
const { data: vocabulary } = await client.vocabularies.get('SNOMED');
{
"success": true,
"data": {
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"vocabulary_reference": "SNOMED International",
"vocabulary_version": "2024-07-01",
"vocabulary_concept_id": 45756746
},
"meta": {
"request_id": "req_vocab_123",
"timestamp": "2024-12-22T10:00:00Z",
"vocab_release": "2025.1"
}
}
Get Vocabulary Details
curl -X GET "https://api.omophub.com/v1/vocabularies/SNOMED" \
-H "Authorization: Bearer YOUR_API_KEY"
import requests
response = requests.get(
"https://api.omophub.com/v1/vocabularies/SNOMED",
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
vocabulary = response.json()
print(f"Name: {vocabulary['data']['vocabulary_name']}")
print(f"Version: {vocabulary['data']['vocabulary_version']}")
import { OMOPHub } from '@omophub/omophub-node';
const client = new OMOPHub();
const { data: vocabulary } = await client.vocabularies.get('SNOMED');
{
"success": true,
"data": {
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"vocabulary_reference": "SNOMED International",
"vocabulary_version": "2024-07-01",
"vocabulary_concept_id": 45756746
},
"meta": {
"request_id": "req_vocab_123",
"timestamp": "2024-12-22T10:00:00Z",
"vocab_release": "2025.1"
}
}
Overview
Retrieve details about a specific vocabulary including its name, reference, version, and concept identifier.Path Parameters
Query Parameters
Response
curl -X GET "https://api.omophub.com/v1/vocabularies/SNOMED" \
-H "Authorization: Bearer YOUR_API_KEY"
import requests
response = requests.get(
"https://api.omophub.com/v1/vocabularies/SNOMED",
headers={"Authorization": "Bearer YOUR_API_KEY"}
)
vocabulary = response.json()
print(f"Name: {vocabulary['data']['vocabulary_name']}")
print(f"Version: {vocabulary['data']['vocabulary_version']}")
import { OMOPHub } from '@omophub/omophub-node';
const client = new OMOPHub();
const { data: vocabulary } = await client.vocabularies.get('SNOMED');
{
"success": true,
"data": {
"vocabulary_id": "SNOMED",
"vocabulary_name": "Systematized Nomenclature of Medicine Clinical Terms",
"vocabulary_reference": "SNOMED International",
"vocabulary_version": "2024-07-01",
"vocabulary_concept_id": 45756746
},
"meta": {
"request_id": "req_vocab_123",
"timestamp": "2024-12-22T10:00:00Z",
"vocab_release": "2025.1"
}
}
Notes
- Use the vocabulary ID returned from the List Vocabularies endpoint
- For detailed statistics, use the Get Vocabulary Stats endpoint
- For domain information, use the Get Vocabulary Domains endpoint
Was this page helpful?