Clinical Document Architecture with Australian Schema
1.0.0 - current Australia flag

Clinical Document Architecture with Australian Schema - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Logical Model: MO - XML Profile

Active as of 2024-08-29

XML representation of the MO logical model.

Raw xml | Download



<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="1.0.0"/>
  <name value="MO"/>
  <title value="MO: MonetaryAmount (V3 Data Type)"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2024-08-29T09:46:41+10:00"/>
  <publisher value="HL7"/>
  <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>