Skip to content

Class: Abstract subject class (AbstractSubject)

Abstract subject class.

  • NOTE: this is an abstract class and should not be instantiated directly

URI: nfdi4immuno:AbstractSubject

 classDiagram
    class AbstractSubject
    click AbstractSubject href "../AbstractSubject/"
      AbstractSubject <|-- HumanSubject
        click HumanSubject href "../HumanSubject/"
      AbstractSubject <|-- NonHumanSubject
        click NonHumanSubject href "../NonHumanSubject/"
      AbstractSubject <|-- CellCultureSubject
        click CellCultureSubject href "../CellCultureSubject/"

      AbstractSubject : additional_information

      AbstractSubject : sex





        AbstractSubject --> "0..1 _recommended_" BiologicalSex : sex
        click BiologicalSex href "../BiologicalSex/"



      AbstractSubject : species





        AbstractSubject --> "1" Species : species
        click Species href "../Species/"



      AbstractSubject : study_id

      AbstractSubject : subject_id

      AbstractSubject : subject_type





        AbstractSubject --> "1" SubjectType : subject_type
        click SubjectType href "../SubjectType/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
subject_id 1
String
The user defined subject ID used to associate subject with samples direct
study_id 1
String
The internal identifier of the study direct
subject_type 1
SubjectType
Is the subject human, rodent, animal or a cell culture subject direct
species 1
Species
The species of the subject direct
sex 0..1 recommended
BiologicalSex
The biological sex of the subject direct
additional_information 0..1
String
Additional information related to this object direct

Usages

used by used in type used
Container subjects range AbstractSubject

Identifier and Mapping Information

Schema Source

  • from schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema

Mappings

Mapping Type Mapped Value
self nfdi4immuno:AbstractSubject
native nfdi4immuno:AbstractSubject

LinkML Source

Direct

name: AbstractSubject
description: Abstract subject class.
title: Abstract subject class
from_schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema
abstract: true
slots:
- subject_id
- study_id
- subject_type
- species
- sex
- additional_information

Induced

name: AbstractSubject
description: Abstract subject class.
title: Abstract subject class
from_schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema
abstract: true
attributes:
  subject_id:
    name: subject_id
    description: 'The user defined subject ID used to associate subject with samples.
      Must be unique within the study.

      '
    title: Subject ID
    examples:
    - value: MH031
    from_schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema
    rank: 1000
    is_a: abstract_id
    identifier: true
    alias: subject_id
    owner: AbstractSubject
    domain_of:
    - Sample
    - AbstractSubject
    range: string
    required: true
    pattern: ^.+$
  study_id:
    name: study_id
    description: The internal identifier of the study. Must be unique.
    title: Study ID
    examples:
    - value: MS Study 01 UMKS
    from_schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema
    rank: 1000
    is_a: abstract_id
    identifier: true
    alias: study_id
    owner: AbstractSubject
    domain_of:
    - Study
    - AbstractSubject
    range: string
    required: true
    pattern: ^.+$
  subject_type:
    name: subject_type
    description: Is the subject human, rodent, animal or a cell culture subject.
    title: Subject Type
    examples:
    - value: human, rodent, other_animal, cell_culture
    from_schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema
    rank: 1000
    alias: subject_type
    owner: AbstractSubject
    domain_of:
    - AbstractSubject
    range: SubjectType
    required: true
    pattern: .+
  species:
    name: species
    description: The species of the subject.
    title: Species
    examples:
    - value: '{''key'': ''NCBITaxon:9606'', ''term'': ''Homo sapiens''}'
    from_schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema
    rank: 1000
    alias: species
    owner: AbstractSubject
    domain_of:
    - AbstractSubject
    range: Species
    required: true
    pattern: .+
  sex:
    name: sex
    description: The biological sex of the subject.
    title: Sex
    examples:
    - value: Female
      description: Female biological sex.
    from_schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema
    rank: 1000
    alias: sex
    owner: AbstractSubject
    domain_of:
    - AbstractSubject
    range: BiologicalSex
    recommended: true
  additional_information:
    name: additional_information
    annotations:
      preferred_format:
        tag: preferred_format
        value: json
    description: 'Additional information related to this object. Can be in any format,
      but JSON key-value pairs are preferred.

      '
    title: Additional information
    from_schema: https://codebase.helmholtz.cloud/nfdi4immuno/portal-infra/metadata_schema
    rank: 1000
    alias: additional_information
    owner: AbstractSubject
    domain_of:
    - SampleEvent
    - Sample
    - Study
    - AbstractSubject
    range: string