Skip to content

Class: Subject

A biological entity from which a C2M2 biosample can in principle be generated

URI: cfde_schema:Subject

classDiagram class Subject Subject : age_at_enrollment Subject : creation_time Subject : ethnicity Subject : granularity Subject : id_namespace Subject : local_id Subject : persistent_id Subject : project_id_namespace Subject : project_local_id Subject : sex

Slots

Name Range Cardinality Description Info
id_namespace IdNamespace 1..1 A CFDE-cleared identifier representing the top-level data space containing this subject [part 1 of 2-component composite primary key] .
local_id xsd:string 1..1 An identifier representing this subject, unique within this id_namespace [part 2 of 2-component composite primary key] .
project_id_namespace xsd:string 1..1 The id_namespace of the primary project within which this subject was studied [part 1 of 2-component composite foreign key] .
project_local_id xsd:string 1..1 The local_id of the primary project within which this subject was studied [part 2 of 2-component composite foreign key] .
persistent_id xsd:string 0..1 A persistent, resolvable (not necessarily retrievable) URI or compact ID permanently attached to this subject .
creation_time xsd:dateTime 0..1 An ISO 8601 -- RFC 3339 (subset)-compliant timestamp documenting this subject record's creation time: YYYY-MM-DDTHH:MM:SS±NN:NN .
granularity GranularityEnum 1..1 A CFDE CV category characterizing this subject by multiplicity .
sex SexEnum 0..1 A CFDE CV category characterizing the physiological sex of this subject .
ethnicity EthnicityEnum 0..1 A CFDE CV category characterizing the self-reported ethnicity of this subject .
age_at_enrollment xsd:decimal 0..1 The age in years (with a fixed precision of two digits past the decimal point) of this subject when they were first enrolled in the primary project within which they were studied .

Usages

Identifier and Mapping Information

Schema Source

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

Mappings

Mapping Type Mapped Value
self ['cfde_schema:Subject']
native ['cfde_schema:Subject']

LinkML Specification

Direct

name: subject
description: A biological entity from which a C2M2 biosample can in principle be generated
title: subject
from_schema: https://w3id.org/linkml/cfde
attributes:
  id_namespace:
    name: id_namespace
    description: A CFDE-cleared identifier representing the top-level data space containing
      this subject [part 1 of 2-component composite primary key]
    from_schema: https://w3id.org/linkml/cfde
    range: id_namespace
    required: true
  local_id:
    name: local_id
    description: An identifier representing this subject, unique within this id_namespace
      [part 2 of 2-component composite primary key]
    from_schema: https://w3id.org/linkml/cfde
    range: string
    required: true
  project_id_namespace:
    name: project_id_namespace
    description: The id_namespace of the primary project within which this subject
      was studied [part 1 of 2-component composite foreign key]
    from_schema: https://w3id.org/linkml/cfde
    range: string
    required: true
  project_local_id:
    name: project_local_id
    description: The local_id of the primary project within which this subject was
      studied [part 2 of 2-component composite foreign key]
    from_schema: https://w3id.org/linkml/cfde
    range: string
    required: true
  persistent_id:
    name: persistent_id
    description: A persistent, resolvable (not necessarily retrievable) URI or compact
      ID permanently attached to this subject
    from_schema: https://w3id.org/linkml/cfde
    range: string
  creation_time:
    name: creation_time
    description: 'An ISO 8601 -- RFC 3339 (subset)-compliant timestamp documenting
      this subject record''s creation time: YYYY-MM-DDTHH:MM:SS±NN:NN'
    from_schema: https://w3id.org/linkml/cfde
    range: datetime
  granularity:
    name: granularity
    description: A CFDE CV category characterizing this subject by multiplicity
    from_schema: https://w3id.org/linkml/cfde
    range: GranularityEnum
    required: true
  sex:
    name: sex
    description: A CFDE CV category characterizing the physiological sex of this subject
    from_schema: https://w3id.org/linkml/cfde
    range: SexEnum
  ethnicity:
    name: ethnicity
    description: A CFDE CV category characterizing the self-reported ethnicity of
      this subject
    from_schema: https://w3id.org/linkml/cfde
    range: EthnicityEnum
  age_at_enrollment:
    name: age_at_enrollment
    description: The age in years (with a fixed precision of two digits past the decimal
      point) of this subject when they were first enrolled in the primary project
      within which they were studied
    from_schema: https://w3id.org/linkml/cfde
    range: decimal
unique_keys:
  subject_primary_key:
    unique_key_name: subject_primary_key
    unique_key_slots:
    - '[''id_namespace'', ''local_id'']'

Induced

name: subject
description: A biological entity from which a C2M2 biosample can in principle be generated
title: subject
from_schema: https://w3id.org/linkml/cfde
attributes:
  id_namespace:
    name: id_namespace
    description: A CFDE-cleared identifier representing the top-level data space containing
      this subject [part 1 of 2-component composite primary key]
    from_schema: https://w3id.org/linkml/cfde
    alias: id_namespace
    owner: subject
    range: id_namespace
    required: true
  local_id:
    name: local_id
    description: An identifier representing this subject, unique within this id_namespace
      [part 2 of 2-component composite primary key]
    from_schema: https://w3id.org/linkml/cfde
    alias: local_id
    owner: subject
    range: string
    required: true
  project_id_namespace:
    name: project_id_namespace
    description: The id_namespace of the primary project within which this subject
      was studied [part 1 of 2-component composite foreign key]
    from_schema: https://w3id.org/linkml/cfde
    alias: project_id_namespace
    owner: subject
    range: string
    required: true
  project_local_id:
    name: project_local_id
    description: The local_id of the primary project within which this subject was
      studied [part 2 of 2-component composite foreign key]
    from_schema: https://w3id.org/linkml/cfde
    alias: project_local_id
    owner: subject
    range: string
    required: true
  persistent_id:
    name: persistent_id
    description: A persistent, resolvable (not necessarily retrievable) URI or compact
      ID permanently attached to this subject
    from_schema: https://w3id.org/linkml/cfde
    alias: persistent_id
    owner: subject
    range: string
  creation_time:
    name: creation_time
    description: 'An ISO 8601 -- RFC 3339 (subset)-compliant timestamp documenting
      this subject record''s creation time: YYYY-MM-DDTHH:MM:SS±NN:NN'
    from_schema: https://w3id.org/linkml/cfde
    alias: creation_time
    owner: subject
    range: datetime
  granularity:
    name: granularity
    description: A CFDE CV category characterizing this subject by multiplicity
    from_schema: https://w3id.org/linkml/cfde
    alias: granularity
    owner: subject
    range: GranularityEnum
    required: true
  sex:
    name: sex
    description: A CFDE CV category characterizing the physiological sex of this subject
    from_schema: https://w3id.org/linkml/cfde
    alias: sex
    owner: subject
    range: SexEnum
  ethnicity:
    name: ethnicity
    description: A CFDE CV category characterizing the self-reported ethnicity of
      this subject
    from_schema: https://w3id.org/linkml/cfde
    alias: ethnicity
    owner: subject
    range: EthnicityEnum
  age_at_enrollment:
    name: age_at_enrollment
    description: The age in years (with a fixed precision of two digits past the decimal
      point) of this subject when they were first enrolled in the primary project
      within which they were studied
    from_schema: https://w3id.org/linkml/cfde
    alias: age_at_enrollment
    owner: subject
    range: decimal
unique_keys:
  subject_primary_key:
    unique_key_name: subject_primary_key
    unique_key_slots:
    - '[''id_namespace'', ''local_id'']'