Skip to content

Class: Activity

An activity that provides context to an observation.

URI: bdchm:Activity

classDiagram class Activity click Activity href "../Activity" Entity <|-- Activity click Entity href "../Entity" Activity : activity_type Activity --> "0..1" ActivityTypeEnum : activity_type click ActivityTypeEnum href "../ActivityTypeEnum" Activity : id Activity : time_duration Activity --> "0..1" Quantity : time_duration click Quantity href "../Quantity"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
activity_type 0..1
ActivityTypeEnum
The type of activity being recorded (e direct
time_duration 0..1
Quantity
The quantity of time over which the activity occurred (e direct
id 1
Uriorcurie
The 'logical' identifier of the entity within the system of record Entity

Usages

used by used in type used
Context activity range Activity

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/bdchm

Mappings

Mapping Type Mapped Value
self bdchm:Activity
native bdchm:Activity

LinkML Source

Direct

name: Activity
description: An activity that provides context to an observation.
from_schema: https://w3id.org/bdchm
is_a: Entity
attributes:
  activity_type:
    name: activity_type
    description: The type of activity being recorded (e.g. "fasting", "bronchodilator
      use")
    from_schema: https://w3id.org/bdchm
    domain_of:
    - SpecimenCreationActivity
    - SpecimenProcessingActivity
    - Activity
    range: ActivityTypeEnum
  time_duration:
    name: time_duration
    description: The quantity of time over which the activity occurred (e.g. "8 hours",
      "1 week")
    from_schema: https://w3id.org/bdchm
    rank: 1000
    domain_of:
    - Activity
    range: Quantity

Induced

name: Activity
description: An activity that provides context to an observation.
from_schema: https://w3id.org/bdchm
is_a: Entity
attributes:
  activity_type:
    name: activity_type
    description: The type of activity being recorded (e.g. "fasting", "bronchodilator
      use")
    from_schema: https://w3id.org/bdchm
    alias: activity_type
    owner: Activity
    domain_of:
    - SpecimenCreationActivity
    - SpecimenProcessingActivity
    - Activity
    range: ActivityTypeEnum
  time_duration:
    name: time_duration
    description: The quantity of time over which the activity occurred (e.g. "8 hours",
      "1 week")
    from_schema: https://w3id.org/bdchm
    rank: 1000
    alias: time_duration
    owner: Activity
    domain_of:
    - Activity
    range: Quantity
  id:
    name: id
    description: The 'logical' identifier of the entity within the system of record.  The
      simple value of this attribute stands for an identifier of this data object
      within the system, it can be used as a reference from other objects within the
      same system (i.e. primary and foreign keys), and it should be unique per type
      of object. The same data object copied to a different system will likely have
      a different "id" in the new system since "id" values are system specific and
      do not represent persistent business identifiers. Business identifiers are assigned
      outside the information system and are captured in the "identifier" field. The
      "id" field is more likely to be a serially or randomly generated value that
      is assigned to the data object as it is created in a system.
    from_schema: https://w3id.org/bdchm
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    alias: id
    owner: Activity
    domain_of:
    - Entity
    range: uriorcurie
    required: true