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 click Quantity href "../Quantity" Quantity : operator Quantity --> "0..1" QuantityOperatorEnum : operator click QuantityOperatorEnum href "../QuantityOperatorEnum" Quantity : unit Quantity --> "0..1" UnitOfMeasurementEnum : unit click UnitOfMeasurementEnum href "../UnitOfMeasurementEnum" Quantity : value_concept Quantity --> "0..1" BaseEnum : value_concept click BaseEnum href "../BaseEnum" Quantity : value_decimal Quantity : value_integer

Slots

Name Cardinality and Range Description Inheritance
value_decimal 0..1
Decimal
A decimal amount, in the given units (if specified) direct
value_integer 0..1
Integer
An integer amount, in the given units (if specified) direct
value_concept 0..1
BaseEnum
A coded value representing a quantity (e direct
unit 0..1
UnitOfMeasurementEnum
A coded or free text (in the direct
operator 0..1
QuantityOperatorEnum
An operator to apply when interpreting the value of the quantity (e direct

Usages

used by used in type used
Procedure quantity range Quantity
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
Observation value_quantity range Quantity
MeasurementObservation range_low range Quantity
MeasurementObservation range_high range Quantity
MeasurementObservation value_quantity range Quantity
SdohObservation value_quantity range Quantity
Assay lower_limit_of_detection range Quantity
Assay upper_limit_of_detection range Quantity
Activity time_duration 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"), 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/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"),
  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/bdchm
attributes:
  value_decimal:
    name: value_decimal
    description: A decimal amount, in the given units (if specified)
    from_schema: https://w3id.org/bdchm
    rank: 1000
    domain_of:
    - Quantity
    range: decimal
    required: false
    multivalued: false
  value_integer:
    name: value_integer
    description: An integer amount, in the given units (if specified)
    from_schema: https://w3id.org/bdchm
    rank: 1000
    domain_of:
    - Quantity
    range: integer
    required: false
    multivalued: false
  value_concept:
    name: value_concept
    description: A coded value representing a quantity (e.g. "Adjacent (< or = 2cm)")
    from_schema: https://w3id.org/bdchm
    rank: 1000
    domain_of:
    - Quantity
    range: BaseEnum
    required: false
    multivalued: false
  unit:
    name: unit
    description: A coded or free text (in the .text field) representation of the unit.
    from_schema: https://w3id.org/bdchm
    rank: 1000
    domain_of:
    - Quantity
    range: UnitOfMeasurementEnum
    required: false
    multivalued: false
  operator:
    name: operator
    description: An operator to apply when interpreting the value of the quantity
      (e.g. ">", "<", ">=", "<=")
    from_schema: https://w3id.org/bdchm
    rank: 1000
    domain_of:
    - Quantity
    range: QuantityOperatorEnum
    required: false
    multivalued: 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"),
  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/bdchm
attributes:
  value_decimal:
    name: value_decimal
    description: A decimal amount, in the given units (if specified)
    from_schema: https://w3id.org/bdchm
    rank: 1000
    owner: Quantity
    domain_of:
    - Quantity
    range: decimal
    required: false
    multivalued: false
  value_integer:
    name: value_integer
    description: An integer amount, in the given units (if specified)
    from_schema: https://w3id.org/bdchm
    rank: 1000
    owner: Quantity
    domain_of:
    - Quantity
    range: integer
    required: false
    multivalued: false
  value_concept:
    name: value_concept
    description: A coded value representing a quantity (e.g. "Adjacent (< or = 2cm)")
    from_schema: https://w3id.org/bdchm
    rank: 1000
    owner: Quantity
    domain_of:
    - Quantity
    range: BaseEnum
    required: false
    multivalued: false
  unit:
    name: unit
    description: A coded or free text (in the .text field) representation of the unit.
    from_schema: https://w3id.org/bdchm
    rank: 1000
    owner: Quantity
    domain_of:
    - Quantity
    range: UnitOfMeasurementEnum
    required: false
    multivalued: false
  operator:
    name: operator
    description: An operator to apply when interpreting the value of the quantity
      (e.g. ">", "<", ">=", "<=")
    from_schema: https://w3id.org/bdchm
    rank: 1000
    owner: Quantity
    domain_of:
    - Quantity
    range: QuantityOperatorEnum
    required: false
    multivalued: false