Class: Quantity
URI: fhir:Quantity
classDiagram
class Quantity
click Quantity href "../Quantity"
Intangible <|-- Quantity
click Intangible href "../Intangible"
Quantity <|-- Duration
click Duration href "../Duration"
Quantity <|-- SimpleQuantity
click SimpleQuantity href "../SimpleQuantity"
Quantity <|-- Ratio
click Ratio href "../Ratio"
Quantity <|-- FoodIngredient
click FoodIngredient href "../FoodIngredient"
Quantity : has_quantity_kind
Quantity --> "0..1" QuantityKind : has_quantity_kind
click QuantityKind href "../QuantityKind"
Quantity : type
Inheritance
- Entity [ Typed]
- Intangible
- Quantity
- Intangible
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 | Typed |
Usages
used by | used in | type | used |
---|---|---|---|
Measurement | quantity_measured | range | Quantity |
Ratio | numerator | range | Quantity |
Ratio | denominator | range | Quantity |
QuantityRange | lower_bound | range | Quantity |
QuantityRange | upper_bound | 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:
- Typed
range: string
class_uri: fhir:Quantity
union_of:
- Quantity
- QuantityRange
- Ratio