Skip to main content
curl -X GET "https://api.omophub.com/v1/concepts/320128/relationships" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "data": {
    "relationships": [
      {
        "relationship_id": "Is a",
        "concept_id_1": 320128,
        "concept_id_2": 316866,
        "concept_name": "Hypertensive disorder",
        "concept_code": "38341003",
        "vocabulary_id": "SNOMED",
        "domain_id": "Condition",
        "standard_concept": "S",
        "valid_start_date": "1970-01-01",
        "valid_end_date": "2099-12-31"
      },
      {
        "relationship_id": "Maps to",
        "concept_id_1": 320128,
        "concept_id_2": 435216,
        "concept_name": "Essential hypertension",
        "concept_code": "I10",
        "vocabulary_id": "ICD10CM",
        "domain_id": "Condition",
        "standard_concept": "S",
        "valid_start_date": "1970-01-01",
        "valid_end_date": "2099-12-31"
      },
      {
        "relationship_id": "Has finding site",
        "concept_id_1": 320128,
        "concept_id_2": 4103720,
        "concept_name": "Cardiovascular system",
        "concept_code": "113257007",
        "vocabulary_id": "SNOMED",
        "domain_id": "Spec Anatomic Site",
        "standard_concept": "S",
        "valid_start_date": "1970-01-01",
        "valid_end_date": "2099-12-31"
      }
    ]
  },
  "meta": {
    "request_id": "req_relationships_123",
    "timestamp": "2024-12-22T10:00:00Z",
    "vocab_release": "2025.2",
    "version": "2025.2",
    "duration": 45
  }
}

Overview

Retrieve all relationships for a concept, including hierarchical relationships (parents/children), mappings to other vocabularies, and semantic relationships.

Path Parameters

conceptId
integer
required
The unique concept identifier

Query Parameters

relationship_ids
string
Filter by relationship type IDs (comma-separated)
Examples: Is a, Subsumes, Maps to, Is a,Subsumes
vocabulary_ids
string
Filter relationships to specific target vocabularies (comma-separated)
Examples: SNOMED, ICD10CM, SNOMED,ICD10CM
domain_ids
string
Filter relationships to specific target domains (comma-separated)
Examples: Condition, Drug, Condition,Procedure
include_invalid
boolean
default:"false"
Include relationships to invalid concepts
standard_only
boolean
default:"false"
Only include relationships to standard concepts
include_reverse
boolean
default:"false"
Include reverse relationships (where this concept is the target)
vocab_release
string
Specific vocabulary release version (defaults to latest)
curl -X GET "https://api.omophub.com/v1/concepts/320128/relationships" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "data": {
    "relationships": [
      {
        "relationship_id": "Is a",
        "concept_id_1": 320128,
        "concept_id_2": 316866,
        "concept_name": "Hypertensive disorder",
        "concept_code": "38341003",
        "vocabulary_id": "SNOMED",
        "domain_id": "Condition",
        "standard_concept": "S",
        "valid_start_date": "1970-01-01",
        "valid_end_date": "2099-12-31"
      },
      {
        "relationship_id": "Maps to",
        "concept_id_1": 320128,
        "concept_id_2": 435216,
        "concept_name": "Essential hypertension",
        "concept_code": "I10",
        "vocabulary_id": "ICD10CM",
        "domain_id": "Condition",
        "standard_concept": "S",
        "valid_start_date": "1970-01-01",
        "valid_end_date": "2099-12-31"
      },
      {
        "relationship_id": "Has finding site",
        "concept_id_1": 320128,
        "concept_id_2": 4103720,
        "concept_name": "Cardiovascular system",
        "concept_code": "113257007",
        "vocabulary_id": "SNOMED",
        "domain_id": "Spec Anatomic Site",
        "standard_concept": "S",
        "valid_start_date": "1970-01-01",
        "valid_end_date": "2099-12-31"
      }
    ]
  },
  "meta": {
    "request_id": "req_relationships_123",
    "timestamp": "2024-12-22T10:00:00Z",
    "vocab_release": "2025.2",
    "version": "2025.2",
    "duration": 45
  }
}

Response Fields

success
boolean
Indicates if the request was successful
data
object
meta
object

Usage Examples

Get All Relationships

Retrieve all relationships for a concept:
curl -X GET "https://api.omophub.com/v1/concepts/320128/relationships" \
  -H "Authorization: Bearer YOUR_API_KEY"

Filter by Relationship Type

Get only hierarchical relationships:
curl -X GET "https://api.omophub.com/v1/concepts/320128/relationships?relationship_ids=Is%20a,Subsumes" \
  -H "Authorization: Bearer YOUR_API_KEY"

Filter by Target Vocabulary

Get mappings to specific vocabularies:
curl -X GET "https://api.omophub.com/v1/concepts/320128/relationships?vocabulary_ids=ICD10CM,ICD9CM" \
  -H "Authorization: Bearer YOUR_API_KEY"

Standard Concepts Only

Get relationships to standard concepts only:
curl -X GET "https://api.omophub.com/v1/concepts/320128/relationships?standard_only=true" \
  -H "Authorization: Bearer YOUR_API_KEY"

Include Reverse Relationships

Include relationships where this concept is the target:
curl -X GET "https://api.omophub.com/v1/concepts/320128/relationships?include_reverse=true" \
  -H "Authorization: Bearer YOUR_API_KEY"

Common Relationship Types

RelationshipDescription
Is aHierarchical parent relationship
SubsumesHierarchical child relationship
Maps toMapping to another vocabulary
Mapped fromReverse mapping relationship
Has finding siteAnatomical location
Has associated morphologyAssociated morphological finding