Skip to content

Class: Quantity

URI: phenopackets:Quantity

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

Slots

Name Cardinality and Range Description Inheritance
referenceRange 0..1
ReferenceRange
Reference range for the quantity e.g. The normal range of platelets is 150,000 to 450,000 platelets/uL. direct
unit 0..1
OntologyClass
For instance, NCIT subhierarchy, Unit of Measure (Code C25709), https://www.ebi.ac.uk/ols/ontologies/uo direct
value 0..1
Double
the value of the quantity in the units e.g. 2.0 mg 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
  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:
    - DictionaryEntry
    - 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
    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
    owner: Quantity
    domain_of:
    - Quantity
    - ReferenceRange
    range: OntologyClass
    inlined: 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
    owner: Quantity
    domain_of:
    - DictionaryEntry
    - Measurement
    - Quantity
    - Any
    - IndefiniteRange
    - Number
    - Expression
    - Extension
    range: double