Clinical Document Architecture, published by Health Level 7. This guide is not an authorized publication; it is the continuous build for version 2.0.0-sd built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/CDA-core-sd/ and changes regularly. See the Directory of published versions
Active as of 2024-10-25 |
XML representation of the MO logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MO"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</div>
</text>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/logical-target">
<valueBoolean>
<extension
url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="not-applicable"/>
</extension>
</valueBoolean>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:v3"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
<valueUri
value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
</extension>
<url value="http://hl7.org/cda/stds/core/StructureDefinition/MO"/>
<version value="2.0.0-sd"/>
<name value="MO"/>
<title value="MO: MonetaryAmount (V3 Data Type)"/>
<status value="active"/>
<experimental value="false"/>
<date value="2024-10-25T20:25:09+00:00"/>
<publisher value="Health Level 7"/>
<contact>
<name value="HL7 International - Structured Documents"/>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/structure"/>
</telecom>
<telecom>
<system value="email"/>
<value value="structdog@lists.HL7.org"/>
</telecom>
</contact>
<description
value="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 value="5.0.0"/>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<kind value="logical"/>
<abstract value="false"/>
<type value="http://hl7.org/cda/stds/core/StructureDefinition/MO"/>
<baseDefinition
value="http://hl7.org/cda/stds/core/StructureDefinition/QTY"/>
<derivation value="specialization"/>
<snapshot>
<element id="MO">
<path value="MO"/>
<short value="Base for all types and resources"/>
<definition
value="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 value="1"/>
<max value="*"/>
<base>
<path value="Base"/>
<min value="0"/>
<max value="*"/>
</base>
<constraint>
<key value="value-null"/>
<severity value="error"/>
<human
value="value and nullFlavor are mutually exclusive (one must be present)"/>
<expression
value="nullFlavor.exists() implies (value | currency).empty()"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="MO.nullFlavor">
<path value="MO.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="MO.currency">
<path value="MO.currency"/>
<representation value="xmlAttr"/>
<label value="Currency"/>
<definition value="The currency unit as defined in ISO 4217."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="MO.currency"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
</element>
<element id="MO.value">
<path value="MO.value"/>
<representation value="xmlAttr"/>
<label value="Value"/>
<definition
value="The magnitude of the monetary amount in terms of the currency unit."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="MO.value"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="decimal"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/real-simple"/>
</type>
</element>
</snapshot>
<differential>
<element id="MO">
<path value="MO"/>
<definition
value="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 value="1"/>
<max value="*"/>
<constraint>
<key value="value-null"/>
<severity value="error"/>
<human
value="value and nullFlavor are mutually exclusive (one must be present)"/>
<expression
value="nullFlavor.exists() implies (value | currency).empty()"/>
</constraint>
</element>
<element id="MO.currency">
<path value="MO.currency"/>
<representation value="xmlAttr"/>
<label value="Currency"/>
<definition value="The currency unit as defined in ISO 4217."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
</element>
<element id="MO.value">
<path value="MO.value"/>
<representation value="xmlAttr"/>
<label value="Value"/>
<definition
value="The magnitude of the monetary amount in terms of the currency unit."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="decimal"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/real-simple"/>
</type>
</element>
</differential>
</StructureDefinition>