FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/MO

Packageau.digitalhealth.cda.schema
TypeStructureDefinition
IdMO
FHIR VersionR5
Sourcehttp://ns.electronichealth.net.au/cda/https://build.fhir.org/ig/AuDigitalHealth/cda-au-schema/StructureDefinition-MO.html
URLhttp://hl7.org/cda/stds/core/StructureDefinition/MO
Version1.0.0
Statusactive
Date2025-07-21T22:05:27+00:00
NameMO
TitleMO: MonetaryAmount (V3 Data Type)
Realmau
Authoritynational
DescriptionA 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.
Typehttp://hl7.org/cda/stds/core/StructureDefinition/MO
Kindlogical

Resources that use this resource

StructureDefinition
CriterionCriterion (CDA Class)
ObservationObservation (CDA Class)
ObservationRangeObservationRange (CDA Class)
au-ObservationADHA Observation (CDA Class)
au-ObservationRangeADHA ObservationRange (CDA Class)

Resources that this resource uses

StructureDefinition
QTYQTY: Quantity (V3 Data Type)
cs-simplecs: Coded Simple Value
real-simplereal: Real Number

Narrative

Note: links and images are rebased to the (stated) source

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.


Source

{
  "resourceType": "StructureDefinition",
  "id": "MO",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-target",
      "_valueBoolean": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
            "valueCode": "not-applicable"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
      "valueUri": "urn:hl7-org:v3"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-container",
      "valueUri": "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"
    }
  ],
  "url": "http://hl7.org/cda/stds/core/StructureDefinition/MO",
  "version": "1.0.0",
  "name": "MO",
  "title": "MO: MonetaryAmount (V3 Data Type)",
  "status": "active",
  "experimental": false,
  "date": "2025-07-21T22:05:27+00:00",
  "publisher": "HL7",
  "description": "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.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/cda/stds/core/StructureDefinition/MO",
  "baseDefinition": "http://hl7.org/cda/stds/core/StructureDefinition/QTY",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "1.0.0"
      }
    ],
    "element": [
      {
        "id": "MO",
        "path": "MO",
        "short": "Base for all types and resources",
        "definition": "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": 1,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "value-null",
            "severity": "error",
            "human": "value and nullFlavor are mutually exclusive (one must be present)",
            "expression": "nullFlavor.exists() implies (value | currency).empty()"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MO.nullFlavor",
        "path": "MO.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "MO.currency",
        "path": "MO.currency",
        "representation": [
          "xmlAttr"
        ],
        "label": "Currency",
        "definition": "The currency unit as defined in ISO 4217.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MO.currency",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ]
      },
      {
        "id": "MO.value",
        "path": "MO.value",
        "representation": [
          "xmlAttr"
        ],
        "label": "Value",
        "definition": "The magnitude of the monetary amount in terms of the currency unit.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MO.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/real-simple"
            ]
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "MO",
        "path": "MO",
        "definition": "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": 1,
        "max": "*",
        "constraint": [
          {
            "key": "value-null",
            "severity": "error",
            "human": "value and nullFlavor are mutually exclusive (one must be present)",
            "expression": "nullFlavor.exists() implies (value | currency).empty()"
          }
        ]
      },
      {
        "id": "MO.currency",
        "path": "MO.currency",
        "representation": [
          "xmlAttr"
        ],
        "label": "Currency",
        "definition": "The currency unit as defined in ISO 4217.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ]
      },
      {
        "id": "MO.value",
        "path": "MO.value",
        "representation": [
          "xmlAttr"
        ],
        "label": "Value",
        "definition": "The magnitude of the monetary amount in terms of the currency unit.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/real-simple"
            ]
          }
        ]
      }
    ]
  }
}