Skip to content

Class: Quantity

URI: phenopackets:Quantity

erDiagram Quantity { double value } OntologyClass { string id string label } ReferenceRange { double high double low } Quantity ||--|o ReferenceRange : "referenceRange" Quantity ||--|o OntologyClass : "unit" ReferenceRange ||--|o OntologyClass : "unit"

Slots

Name Cardinality and Range Description Inheritance
referenceRange 0..1
ReferenceRange
Reference range for the quantity e direct
unit 0..1
OntologyClass
For instance, NCIT subhierarchy, Unit of Measure (Code C25709), https://www direct
value 0..1
Double
the value of the quantity in the units e direct

Usages

used by used in type used
TypedQuantity quantity range Quantity
Value quantity range Quantity
DoseInterval quantity range Quantity
Treatment cumulativeDose range Quantity

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: Quantity
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
  referenceRange:
    name: referenceRange
    annotations:
      rank:
        tag: rank
        value: 3
    description: Reference range for the quantity e.g. The normal range of platelets
      is 150,000 to 450,000 platelets/uL.
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - Quantity
    range: ReferenceRange
  unit:
    name: unit
    annotations:
      rank:
        tag: rank
        value: 1
    description: For instance, NCIT subhierarchy, Unit of Measure (Code C25709), https://www.ebi.ac.uk/ols/ontologies/uo
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - Quantity
    - ReferenceRange
    range: OntologyClass
    inlined: true
    inlined_as_list: true
  value:
    name: value
    annotations:
      rank:
        tag: rank
        value: 2
    description: the  value of the quantity in the units  e.g. 2.0 mg
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    domain_of:
    - Measurement
    - Quantity
    - Any
    - IndefiniteRange
    - Number
    - Expression
    - Extension
    range: double

Induced

name: Quantity
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
  referenceRange:
    name: referenceRange
    annotations:
      rank:
        tag: rank
        value: 3
    description: Reference range for the quantity e.g. The normal range of platelets
      is 150,000 to 450,000 platelets/uL.
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    alias: referenceRange
    owner: Quantity
    domain_of:
    - Quantity
    range: ReferenceRange
  unit:
    name: unit
    annotations:
      rank:
        tag: rank
        value: 1
    description: For instance, NCIT subhierarchy, Unit of Measure (Code C25709), https://www.ebi.ac.uk/ols/ontologies/uo
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    alias: unit
    owner: Quantity
    domain_of:
    - Quantity
    - ReferenceRange
    range: OntologyClass
    inlined: true
    inlined_as_list: true
  value:
    name: value
    annotations:
      rank:
        tag: rank
        value: 2
    description: the  value of the quantity in the units  e.g. 2.0 mg
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    alias: value
    owner: Quantity
    domain_of:
    - Measurement
    - Quantity
    - Any
    - IndefiniteRange
    - Number
    - Expression
    - Extension
    range: double