Overview
This endpoint returns all direct relationships for a given concept, showing how it connects to other concepts in the medical terminology network. This includes both inbound and outbound relationships with their relationship types.Path Parameters
The unique OMOP concept ID to get relations for
Query Parameters
Comma-separated list of relationship types to filter by (e.g., “Maps to”, “Is a”)
Comma-separated list of vocabulary IDs to filter related concepts
Include reverse relationships (concepts that relate to this concept)
Include relationships to invalid/deprecated concepts
Specific vocabulary release version (e.g., “2024.1”)
Page number for pagination (1-based)
Number of relationships per page
Response
The source concept details
Array of direct relationships
Summary statistics for relationships
Indicates if the request was successful
Response metadata including pagination and request information
Usage Examples
Get All Relations
Retrieve all relationships for a concept:Filter by Relationship Type
Get only mapping relationships:Cross-Vocabulary Relations
Find relationships to concepts in specific vocabularies:Important Notes
- Relationship direction indicates whether this concept relates to another (outbound) or vice versa (inbound)
- Standard concepts are preferred for analysis and should be prioritized
- Invalid relationships are excluded by default but can be included for historical analysis
- Pagination is available for concepts with many relationships
- Performance may vary based on concept complexity and filter criteria
Related Endpoints
- Get Concept Relationships - Detailed relationship information
- Get Related Concepts - Find conceptually related items
- Check Concept Relations - Verify if concept has any relations