{ "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.", "_filename": "StructureDefinition-MO.json", "package_name": "hl7.cda.uv.core", "date": "2023-12-16T11:59:27-05:00", "derivation": "specialization", "publisher": "Health Level 7", "fhirVersion": "5.0.0", "name": "MO", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" } ], "abstract": false, "type": "http://hl7.org/cda/stds/core/StructureDefinition/MO", "experimental": "false", "resourceType": "StructureDefinition", "title": "MO: MonetaryAmount (V3 Data Type)", "package_version": "2.0.0-sd-snapshot1", "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" } ], "snapshot": { "element": [ { "constraint": [ { "key": "value-null", "human": "value and nullFlavor are mutually exclusive (one must be present)", "severity": "error", "expression": "nullFlavor.exists() implies (value | currency).empty()" } ], "path": "MO", "min": 1, "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.", "isModifier": false, "short": "Base for all types and resources", "mapping": [ { "map": "n/a", "identity": "rim" } ], "max": "*", "id": "MO", "base": { "max": "*", "min": 0, "path": "Base" } }, { "path": "MO.nullFlavor", "min": 0, "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.", "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" }, "representation": [ "xmlAttr" ], "max": "1", "label": "Exceptional Value Detail", "id": "MO.nullFlavor", "base": { "max": "1", "min": 0, "path": "ANY.nullFlavor" } }, { "path": "MO.currency", "min": 0, "definition": "The currency unit as defined in ISO 4217.", "type": [ { "code": "code", "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] } ], "representation": [ "xmlAttr" ], "max": "1", "label": "Currency", "id": "MO.currency", "base": { "max": "1", "min": 0, "path": "MO.currency" } }, { "path": "MO.value", "min": 0, "definition": "The magnitude of the monetary amount in terms of the currency unit.", "type": [ { "code": "decimal", "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/real-simple" ] } ], "representation": [ "xmlAttr" ], "max": "1", "label": "Value", "id": "MO.value", "base": { "max": "1", "min": 0, "path": "MO.value" } } ] }, "status": "active", "id": "10f3e91d-4ad3-4f44-8220-4f9e19dcb73f", "kind": "logical", "url": "http://hl7.org/cda/stds/core/StructureDefinition/MO", "version": "2.0.0-sd-snapshot1", "differential": { "element": [ { "id": "MO", "max": "*", "min": 1, "path": "MO", "constraint": [ { "key": "value-null", "human": "value and nullFlavor are mutually exclusive (one must be present)", "severity": "error", "expression": "nullFlavor.exists() implies (value | currency).empty()" } ], "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." }, { "id": "MO.currency", "max": "1", "min": 0, "path": "MO.currency", "type": [ { "code": "code", "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] } ], "label": "Currency", "definition": "The currency unit as defined in ISO 4217.", "representation": [ "xmlAttr" ] }, { "id": "MO.value", "max": "1", "min": 0, "path": "MO.value", "type": [ { "code": "decimal", "profile": [ "http://hl7.org/cda/stds/core/StructureDefinition/real-simple" ] } ], "label": "Value", "definition": "The magnitude of the monetary amount in terms of the currency unit.", "representation": [ "xmlAttr" ] } ] }, "contact": [ { "name": "HL7 International - Structured Documents", "telecom": [ { "value": "http://www.hl7.org/Special/committees/structure", "system": "url" }, { "value": "structdog@lists.HL7.org", "system": "email" } ] } ], "baseDefinition": "http://hl7.org/cda/stds/core/StructureDefinition/QTY" }