Class: Relationship

A semantic link that defines connections between elements such as Items or ItemGroups, capturing relationships like "is the unit for" or "assesses seriousness of"

URI: odm:class/Relationship

erDiagram
Relationship {
    PredicateTermEnum predicateTerm  
    LinkingPhraseEnum linkingPhrase  
    string OID  
    string uuid  
    string name  
    string description  
    string label  
    stringList aliases  
}
Coding {
    string code  
    string decode  
    string codeSystem  
    string codeSystemVersion  
    AliasPredicate aliasType  
}
IdentifiableElement {
    string OID  
    string uuid  
    string name  
    string description  
    string label  
    stringList aliases  
}

Relationship ||--|| IdentifiableElement : "subject"
Relationship ||--|| IdentifiableElement : "object"
Relationship ||--}o Coding : "coding"
IdentifiableElement ||--}o Coding : "coding"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
subject 1
IdentifiableElement
The starting element of the relationship (e.g., an Item or ItemGroup). direct
object 1
IdentifiableElement
The ending element of the relationship. direct
predicateTerm 1
PredicateTermEnum
Short variable relationship linking phrase for programming purposes. direct
linkingPhrase 1
LinkingPhraseEnum
Variable relationship descriptive linking phrase. direct
OID 1
String
Local identifier within this study/context. Use CDISC OID format for regulatory submissions, or simple strings for internal use. Identifiable
uuid 0..1
String
Universal unique identifier Identifiable
name 0..1
String
Short name or identifier, used for field names Labelled
description 0..1
String or 
String or 
TranslatedText
Detailed description, shown in tooltips Labelled
coding *
Coding
Semantic tags for this element Labelled
label 0..1
String or 
String or 
TranslatedText
Human-readable label, shown in UIs Labelled
aliases *
String or 
String or 
TranslatedText
Alternative name or identifier Labelled

Usages

used by used in type used
MetaDataVersion relationships range Relationship

Identifier and Mapping Information

Schema Source

  • from schema: https://cdisc.org/define-json

Mappings

Mapping Type Mapped Value
self odm:Relationship
native odm:Relationship
related sdmx:ConceptSchemeMap

LinkML Source

Direct

name: Relationship
description: A semantic link that defines connections between elements such as Items
  or ItemGroups, capturing relationships like "is the unit for" or "assesses seriousness
  of"
from_schema: https://cdisc.org/define-json
related_mappings:
- sdmx:ConceptSchemeMap
is_a: IdentifiableElement
attributes:
  subject:
    name: subject
    description: The starting element of the relationship (e.g., an Item or ItemGroup).
    from_schema: https://cdisc.org/define-json
    rank: 1000
    domain_of:
    - Relationship
    range: IdentifiableElement
    required: true
  object:
    name: object
    description: The ending element of the relationship.
    from_schema: https://cdisc.org/define-json
    rank: 1000
    domain_of:
    - Relationship
    range: IdentifiableElement
    required: true
  predicateTerm:
    name: predicateTerm
    description: Short variable relationship linking phrase for programming purposes.
    from_schema: https://cdisc.org/define-json
    rank: 1000
    domain_of:
    - Relationship
    range: PredicateTermEnum
    required: true
  linkingPhrase:
    name: linkingPhrase
    description: Variable relationship descriptive linking phrase.
    from_schema: https://cdisc.org/define-json
    rank: 1000
    domain_of:
    - Relationship
    range: LinkingPhraseEnum
    required: true

Induced

name: Relationship
description: A semantic link that defines connections between elements such as Items
  or ItemGroups, capturing relationships like "is the unit for" or "assesses seriousness
  of"
from_schema: https://cdisc.org/define-json
related_mappings:
- sdmx:ConceptSchemeMap
is_a: IdentifiableElement
attributes:
  subject:
    name: subject
    description: The starting element of the relationship (e.g., an Item or ItemGroup).
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: subject
    owner: Relationship
    domain_of:
    - Relationship
    range: IdentifiableElement
    required: true
  object:
    name: object
    description: The ending element of the relationship.
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: object
    owner: Relationship
    domain_of:
    - Relationship
    range: IdentifiableElement
    required: true
  predicateTerm:
    name: predicateTerm
    description: Short variable relationship linking phrase for programming purposes.
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: predicateTerm
    owner: Relationship
    domain_of:
    - Relationship
    range: PredicateTermEnum
    required: true
  linkingPhrase:
    name: linkingPhrase
    description: Variable relationship descriptive linking phrase.
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: linkingPhrase
    owner: Relationship
    domain_of:
    - Relationship
    range: LinkingPhraseEnum
    required: true
  OID:
    name: OID
    description: Local identifier within this study/context. Use CDISC OID format
      for regulatory submissions, or simple strings for internal use.
    from_schema: https://cdisc.org/define-json
    rank: 1000
    identifier: true
    alias: OID
    owner: Relationship
    domain_of:
    - Identifiable
    range: string
    required: true
    pattern: ^[A-Za-z][A-Za-z0-9._-]*$
  uuid:
    name: uuid
    description: Universal unique identifier
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: uuid
    owner: Relationship
    domain_of:
    - Identifiable
    range: string
  name:
    name: name
    description: Short name or identifier, used for field names
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: name
    owner: Relationship
    domain_of:
    - Labelled
    - Standard
    range: string
  description:
    name: description
    description: Detailed description, shown in tooltips
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: description
    owner: Relationship
    domain_of:
    - Labelled
    - CodeListItem
    range: string
    any_of:
    - range: string
    - range: TranslatedText
  coding:
    name: coding
    description: Semantic tags for this element
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: coding
    owner: Relationship
    domain_of:
    - Labelled
    - CodeListItem
    - SourceItem
    range: Coding
    multivalued: true
    inlined: true
    inlined_as_list: true
  label:
    name: label
    description: Human-readable label, shown in UIs
    from_schema: https://cdisc.org/define-json
    exact_mappings:
    - skos:prefLabel
    rank: 1000
    alias: label
    owner: Relationship
    domain_of:
    - Labelled
    range: string
    any_of:
    - range: string
    - range: TranslatedText
  aliases:
    name: aliases
    description: Alternative name or identifier
    from_schema: https://cdisc.org/define-json
    exact_mappings:
    - skos:altLabel
    rank: 1000
    alias: aliases
    owner: Relationship
    domain_of:
    - Labelled
    - CodeListItem
    range: string
    multivalued: true
    inlined: true
    inlined_as_list: true
    any_of:
    - range: string
    - range: TranslatedText