MO
type: StructureDefinition
node role: treeRoot
id:
  v: MO
text:
  status:
    v: generated
  div: A monetary amount is a quantity expressing the amount of money in some currency. Currencies are the units in which monetary amounts are denominated in different economic regions. While the monetary amount is a single kind of quantity (money) the exchange rates between the different units are variable. This is the principle difference between physical quantity and monetary amounts, and the reason why currency units are not physical units.
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
  value: boolean
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/data-absent-reason
      value: code
        v: not-applicable
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value: uri
    v: urn:hl7-org:v3
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-container
  value: uri
    v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
url:
  v: http://hl7.org/cda/stds/core/StructureDefinition/MO
version:
  v: 1.0.1
name:
  v: MO
title:
  v: MO: MonetaryAmount (V3 Data Type)
status:
  v: active
experimental:
  v: false
date:
  v: 2025-10-10T09:58:30+10:00
publisher:
  v: HL7
description:
  v: A monetary amount is a quantity expressing the amount of money in some currency. Currencies are the units in which monetary amounts are denominated in different economic regions. While the monetary amount is a single kind of quantity (money) the exchange rates between the different units are variable. This is the principle difference between physical quantity and monetary amounts, and the reason why currency units are not physical units.
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/cda/stds/core/StructureDefinition/MO
base definition:
  v: http://hl7.org/cda/stds/core/StructureDefinition/QTY
  link: http://hl7.org/cda/stds/core/StructureDefinition/QTY
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 1.0.1
  element:
    id:
      v: MO
    path:
      v: MO
    short:
      v: Base for all types and resources
    definition:
      v: A monetary amount is a quantity expressing the amount of money in some currency. Currencies are the units in which monetary amounts are denominated in different economic regions. While the monetary amount is a single kind of quantity (money) the exchange rates between the different units are variable. This is the principle difference between physical quantity and monetary amounts, and the reason why currency units are not physical units.
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: value-null
      severity:
        v: error
      human:
        v: value and nullFlavor are mutually exclusive (one must be present)
      expression:
        v: nullFlavor.exists() implies (value | currency).empty()
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: MO.nullFlavor
    path:
      v: MO.nullFlavor
    representation:
      v: xmlAttr
    label:
      v: Exceptional Value Detail
    definition:
      v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: ANY.nullFlavor
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    binding:
      strength:
        v: required
      value set:
        v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
        link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
  element:
    id:
      v: MO.currency
    path:
      v: MO.currency
    representation:
      v: xmlAttr
    label:
      v: Currency
    definition:
      v: The currency unit as defined in ISO 4217.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: MO.currency
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
  element:
    id:
      v: MO.value
    path:
      v: MO.value
    representation:
      v: xmlAttr
    label:
      v: Value
    definition:
      v: The magnitude of the monetary amount in terms of the currency unit.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: MO.value
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: decimal
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/real-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/real-simple
differential:
  element:
    id:
      v: MO
    path:
      v: MO

v: A monetary amount is a quantity expressing the amount of money in some currency. Currencies are the units in which monetary amounts are denominated in different economic regions. While the monetary amount is a single kind of quantity (money) the exchange rates between the different units are variable. This is the principle difference between physical quantity and monetary amounts, and the reason why currency units are not physical units.

v: 1

v: *

key:
  v: value-null
severity:
  v: error
human:
  v: value and nullFlavor are mutually exclusive (one must be present)
expression:
  v: nullFlavor.exists() implies (value | currency).empty()

id:
  v: MO.currency
path:
  v: MO.currency
representation:
  v: xmlAttr
label:
  v: Currency
definition:
  v: The currency unit as defined in ISO 4217.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple

id:
  v: MO.value
path:
  v: MO.value
representation:
  v: xmlAttr
label:
  v: Value
definition:
  v: The magnitude of the monetary amount in terms of the currency unit.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/real-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/real-simple