Skip to content

Class: TimeElement

URI: phenopackets:TimeElement

erDiagram TimeElement { string timestamp } OntologyClass { string id string label } TimeInterval { string end string start } GestationalAge { integer days integer weeks } AgeRange { } Age { string iso8601duration } TimeElement ||--|o Age : "age" TimeElement ||--|o AgeRange : "ageRange" TimeElement ||--|o GestationalAge : "gestationalAge" TimeElement ||--|o TimeInterval : "interval" TimeElement ||--|o OntologyClass : "ontologyClass" AgeRange ||--|o Age : "end" AgeRange ||--|o Age : "start"

Slots

Name Cardinality and Range Description Inheritance
age 0..1
Age
direct
ageRange 0..1
AgeRange
direct
gestationalAge 0..1
GestationalAge
direct
interval 0..1
TimeInterval
direct
ontologyClass 0..1
OntologyClass
direct
timestamp 0..1
String
direct

Usages

used by used in type used
Procedure performed range TimeElement
Measurement timeObserved range TimeElement
PhenotypicFeature onset range TimeElement
PhenotypicFeature resolution range TimeElement
Biosample timeOfCollection range TimeElement
Disease onset range TimeElement
Disease resolution range TimeElement
Individual timeAtLastEncounter range TimeElement
VitalStatus timeOfDeath range TimeElement
TherapeuticRegimen endTime range TimeElement
TherapeuticRegimen startTime range TimeElement

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/phenopackets/phenopackets

Mappings

Mapping Type Mapped Value
self phenopackets:TimeElement
native phenopackets:TimeElement

LinkML Source

Direct

name: TimeElement
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
  age:
    name: age
    annotations:
      rank:
        tag: rank
        value: 1
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - TimeElement
    range: Age
  ageRange:
    name: ageRange
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - TimeElement
    range: AgeRange
  gestationalAge:
    name: gestationalAge
    annotations:
      rank:
        tag: rank
        value: 6
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - TimeElement
    range: GestationalAge
  interval:
    name: interval
    annotations:
      rank:
        tag: rank
        value: 5
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - TimeElement
    - ChromosomeLocation
    - DoseInterval
    range: TimeInterval
    inlined: true
    inlined_as_list: true
  ontologyClass:
    name: ontologyClass
    annotations:
      rank:
        tag: rank
        value: 3
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - TimeElement
    - Value
    - TherapeuticRegimen
    range: OntologyClass
    inlined: true
    inlined_as_list: true
  timestamp:
    name: timestamp
    annotations:
      rank:
        tag: rank
        value: 4
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - TimeElement
    - Update
    range: string
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        gestationalAge:
          name: gestationalAge
          required: true
    - slot_conditions:
        age:
          name: age
          required: true
    - slot_conditions:
        ageRange:
          name: ageRange
          required: true
    - slot_conditions:
        ontologyClass:
          name: ontologyClass
          required: true
    - slot_conditions:
        timestamp:
          name: timestamp
          required: true
    - slot_conditions:
        interval:
          name: interval
          required: true

Induced

name: TimeElement
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
  age:
    name: age
    annotations:
      rank:
        tag: rank
        value: 1
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    alias: age
    owner: TimeElement
    domain_of:
    - TimeElement
    range: Age
  ageRange:
    name: ageRange
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    alias: ageRange
    owner: TimeElement
    domain_of:
    - TimeElement
    range: AgeRange
  gestationalAge:
    name: gestationalAge
    annotations:
      rank:
        tag: rank
        value: 6
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    alias: gestationalAge
    owner: TimeElement
    domain_of:
    - TimeElement
    range: GestationalAge
  interval:
    name: interval
    annotations:
      rank:
        tag: rank
        value: 5
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    alias: interval
    owner: TimeElement
    domain_of:
    - TimeElement
    - ChromosomeLocation
    - DoseInterval
    range: TimeInterval
    inlined: true
    inlined_as_list: true
  ontologyClass:
    name: ontologyClass
    annotations:
      rank:
        tag: rank
        value: 3
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    alias: ontologyClass
    owner: TimeElement
    domain_of:
    - TimeElement
    - Value
    - TherapeuticRegimen
    range: OntologyClass
    inlined: true
    inlined_as_list: true
  timestamp:
    name: timestamp
    annotations:
      rank:
        tag: rank
        value: 4
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    alias: timestamp
    owner: TimeElement
    domain_of:
    - TimeElement
    - Update
    range: string
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        gestationalAge:
          name: gestationalAge
          required: true
    - slot_conditions:
        age:
          name: age
          required: true
    - slot_conditions:
        ageRange:
          name: ageRange
          required: true
    - slot_conditions:
        ontologyClass:
          name: ontologyClass
          required: true
    - slot_conditions:
        timestamp:
          name: timestamp
          required: true
    - slot_conditions:
        interval:
          name: interval
          required: true