Skip to content

Class: Quantity

A structured object to represent an amount of something (e.g., weight, mass, length, duration of time) - including a value and unit.

URI: bdchm:Quantity

classDiagram class Quantity Entity <|-- Quantity Quantity : id Quantity : unit Quantity : value_concept Quantity : value_decimal

Inheritance

Slots

Name Cardinality and Range Description Inheritance
value_decimal 0..1
Decimal
An amount, in the given units (if specified) direct
value_concept 0..1
String
A coded value representing a quantity (e direct
unit 0..1
String
A coded or free text (in the direct
id 1..1
Uriorcurie
The 'logical' identifier of the entity within the system of record Entity

Usages

used by used in type used
DimensionalObservation value_quantity range Quantity
SpecimenCreationActivity quantity_collected range Quantity
SpecimenQualityObservation value_quantity range Quantity
SpecimenQuantityObservation value_quantity range Quantity
SpecimenProcessingActivity duration range Quantity
SpecimenStorageActivity duration range Quantity
Substance substance_quantity range Quantity

Comments

  • QuantityMeasure' may be implemented as an Observation-like object that will let us capture any type of measure of the amount of some substance (e.g. weight, volume, maybe even concentration?), with distinct timestamps and methods associated. It could be implemented as a "simple" observation (one measurement per instance, where the 'code' fields is bound to a value set describing the different types of quantity measures allowed - e.g. 'weight', 'volume', 'concentration'), or as "composite" observation (multiple measurements possible in a single instance, each captured as a component defined to hold a specific type of quantity measure - e.g. 'weight', 'volume', 'concentration'). The number of different quantity measures we anticipate needed to support, and the potential for data sparseness, are factors that determine whether a simple or composite Observation would be most appropriate.

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: Quantity
description: A structured object to represent an amount of something (e.g., weight,
  mass, length, duration of time) - including a value and unit.
comments:
- QuantityMeasure' may be implemented as an Observation-like object that will let
  us capture any type of measure of the amount of some substance (e.g. weight, volume,
  maybe even concentration?), with distinct timestamps and methods associated.  It
  could be implemented as a "simple" observation (one measurement per instance, where
  the 'code' fields is bound to a value set describing the different types of quantity
  measures allowed -  e.g. 'weight', 'volume', 'concentration'),  or as "composite"
  observation (multiple measurements possible in a single instance, each captured
  as a component defined to hold a specific type of quantity measure - e.g.  'weight',
  'volume', 'concentration').  The number of different quantity measures we anticipate
  needed to support, and the potential for data sparseness, are factors that determine
  whether a simple or composite Observation would be most appropriate.
from_schema: https://w3id.org/nhlbidatastage/bdchm
is_a: Entity
attributes:
  value_decimal:
    name: value_decimal
    description: An amount, in the given units (if specified)
    from_schema: https://w3id.org/nhlbidatastage/bdchm
    rank: 1000
    multivalued: false
    range: decimal
    required: false
  value_concept:
    name: value_concept
    description: A coded value representing a quantity (e.g. "Adjacent (< or = 2cm)")
    from_schema: https://w3id.org/nhlbidatastage/bdchm
    rank: 1000
    values_from:
    - crdch:enum_CRDCH_Quantity_value_codeable_concept
    multivalued: false
    range: string
    required: false
  unit:
    name: unit
    description: A coded or free text (in the .text field) representation of the unit.
    from_schema: https://w3id.org/nhlbidatastage/bdchm
    rank: 1000
    values_from:
    - crdch:enum_CRDCH_Quantity_unit
    multivalued: false
    range: string
    required: false

Induced

name: Quantity
description: A structured object to represent an amount of something (e.g., weight,
  mass, length, duration of time) - including a value and unit.
comments:
- QuantityMeasure' may be implemented as an Observation-like object that will let
  us capture any type of measure of the amount of some substance (e.g. weight, volume,
  maybe even concentration?), with distinct timestamps and methods associated.  It
  could be implemented as a "simple" observation (one measurement per instance, where
  the 'code' fields is bound to a value set describing the different types of quantity
  measures allowed -  e.g. 'weight', 'volume', 'concentration'),  or as "composite"
  observation (multiple measurements possible in a single instance, each captured
  as a component defined to hold a specific type of quantity measure - e.g.  'weight',
  'volume', 'concentration').  The number of different quantity measures we anticipate
  needed to support, and the potential for data sparseness, are factors that determine
  whether a simple or composite Observation would be most appropriate.
from_schema: https://w3id.org/nhlbidatastage/bdchm
is_a: Entity
attributes:
  value_decimal:
    name: value_decimal
    description: An amount, in the given units (if specified)
    from_schema: https://w3id.org/nhlbidatastage/bdchm
    rank: 1000
    multivalued: false
    alias: value_decimal
    owner: Quantity
    domain_of:
    - Quantity
    range: decimal
    required: false
  value_concept:
    name: value_concept
    description: A coded value representing a quantity (e.g. "Adjacent (< or = 2cm)")
    from_schema: https://w3id.org/nhlbidatastage/bdchm
    rank: 1000
    values_from:
    - crdch:enum_CRDCH_Quantity_value_codeable_concept
    multivalued: false
    alias: value_concept
    owner: Quantity
    domain_of:
    - Quantity
    range: string
    required: false
  unit:
    name: unit
    description: A coded or free text (in the .text field) representation of the unit.
    from_schema: https://w3id.org/nhlbidatastage/bdchm
    rank: 1000
    values_from:
    - crdch:enum_CRDCH_Quantity_unit
    multivalued: false
    alias: unit
    owner: Quantity
    domain_of:
    - Quantity
    range: string
    required: false
  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/nhlbidatastage/bdchm
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    alias: id
    owner: Quantity
    domain_of:
    - Entity
    range: uriorcurie
    required: true