Skip to content

Class: MoneyQuantity

A quantity of money

URI: fhir:MoneyQuantity

Inheritance

Slots

Name Cardinality and Range Description Inheritance
value 0..1
Float
The value of the quantity direct
unit 0..1
CurrencyConcept
The currency of the quantity direct
has_quantity_kind 0..1
QuantityKind
The kind of quantity Quantity
type 0..1
String
A type for a thing Typed

Usages

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/linkml-common

Mappings

Mapping Type Mapped Value
self fhir:MoneyQuantity
native linkml_common:MoneyQuantity

LinkML Source

Direct

name: MoneyQuantity
description: A quantity of money
from_schema: https://w3id.org/linkml/linkml-common
is_a: SimpleQuantity
attributes:
  value:
    name: value
    description: The value of the quantity
    from_schema: https://w3id.org/linkml-common/financial
    rank: 1000
    domain_of:
    - MoneyQuantity
    - SimpleQuantity
    range: float
  unit:
    name: unit
    description: The currency of the quantity
    from_schema: https://w3id.org/linkml-common/financial
    rank: 1000
    domain_of:
    - MoneyQuantity
    - SimpleQuantity
    role: currency
    range: CurrencyConcept
class_uri: fhir:MoneyQuantity

Induced

name: MoneyQuantity
description: A quantity of money
from_schema: https://w3id.org/linkml/linkml-common
is_a: SimpleQuantity
attributes:
  value:
    name: value
    description: The value of the quantity
    from_schema: https://w3id.org/linkml-common/financial
    rank: 1000
    alias: value
    owner: MoneyQuantity
    domain_of:
    - MoneyQuantity
    - SimpleQuantity
    range: float
  unit:
    name: unit
    description: The currency of the quantity
    from_schema: https://w3id.org/linkml-common/financial
    rank: 1000
    alias: unit
    owner: MoneyQuantity
    domain_of:
    - MoneyQuantity
    - SimpleQuantity
    role: currency
    range: CurrencyConcept
  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: MoneyQuantity
    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: MoneyQuantity
    domain_of:
    - Typed
    range: string
class_uri: fhir:MoneyQuantity