Class: Quantity
URI: fhir:Quantity
classDiagram
class Quantity
Intangible <|-- Quantity
Quantity <|-- SimpleQuantity
Quantity <|-- Ratio
Quantity <|-- Duration
Quantity <|-- FoodIngredient
Quantity : has_quantity_kind
Quantity --> QuantityKind : has_quantity_kind
Quantity : type
Inheritance
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
has_quantity_kind | 0..1 QuantityKind |
The kind of quantity | direct |
type | 0..1 String |
A type for a thing | Entity |
Usages
used by | used in | type | used |
---|---|---|---|
Ratio | numerator | range | Quantity |
Ratio | denominator | range | Quantity |
QuantityRange | lower_bound | range | Quantity |
QuantityRange | upper_bound | range | Quantity |
UnitConversionOperation | inputs | range | Quantity |
UnitConversionOperation | outputs | range | Quantity |
Measurement | quantity_measured | range | Quantity |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/linkml-common
Mappings
Mapping Type | Mapped Value |
---|---|
self | fhir:Quantity |
native | linkml_common:Quantity |
exact | schema:Quantity |
LinkML Source
Direct
name: Quantity
from_schema: https://w3id.org/linkml/linkml-common
exact_mappings:
- schema:Quantity
is_a: Intangible
attributes:
has_quantity_kind:
name: has_quantity_kind
description: The kind of quantity
from_schema: https://w3id.org/linkml-common/quantities
rank: 1000
domain_of:
- Quantity
range: QuantityKind
class_uri: fhir:Quantity
union_of:
- Quantity
- QuantityRange
- Ratio
Induced
name: Quantity
from_schema: https://w3id.org/linkml/linkml-common
exact_mappings:
- schema:Quantity
is_a: Intangible
attributes:
has_quantity_kind:
name: has_quantity_kind
description: The kind of quantity
from_schema: https://w3id.org/linkml-common/quantities
rank: 1000
alias: has_quantity_kind
owner: Quantity
domain_of:
- Quantity
range: QuantityKind
type:
name: type
description: A type for a thing. The range of this should be a class within the
schema. It is intended for schema-based classification. Anything beneath the
shoreline of the schema should use `classification`.
from_schema: https://w3id.org/linkml/linkml-common
rank: 1000
designates_type: true
alias: type
owner: Quantity
domain_of:
- Entity
- NamedThing
range: string
class_uri: fhir:Quantity
union_of:
- Quantity
- QuantityRange
- Ratio