QuantityModel
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="shr-core-Quantity-model"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p><b>SW Quantity Logical Model</b></p>
<p>A quantity with units, whose value may be bounded from above or below, as defined in FHIR</p>
</div>
</text>
<url
value="http://hl7.org/fhir/us/sw/StructureDefinition/shr-core-Quantity-model"/>
<identifier>
<system value="http://hl7.org/fhir/us/sw"/>
<value value="shr.core.Quantity"/>
</identifier>
<version value="1.0.0"/>
<name value="QuantityModel"/>
<title value="SW Quantity Logical Model"/>
<status value="draft"/>
<date value="2018-08-17T00:00:00-04:00"/>
<publisher
value="HL7 Patient Care and Clinical Information Modeling Initiative Work Groups"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://standardhealthrecord.org"/>
</telecom>
</contact>
<description
value="A quantity with units, whose value may be bounded from above or below, as defined in FHIR"/>
<kind value="logical"/>
<abstract value="false"/>
<type value="shr-core-Quantity-model"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element"/>
<derivation value="specialization"/>
<snapshot>
<element id="shr-core-Quantity-model">
<path value="shr-core-Quantity-model"/>
<definition
value="A quantity with units, whose value may be bounded from above or below, as defined in FHIR"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="shr-core-Quantity-model"/>
<min value="0"/>
<max value="*"/>
</base>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="shr-core-Quantity-model.value">
<path value="shr-core-Quantity-model.value"/>
<short
value="Decimal representing a quantity with units, whose value may be bounded from above or below, as defined in FHIR"/>
<definition
value="Decimal representing a quantity with units, whose value may be bounded from above or below, as defined in FHIR"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="shr-core-Quantity-model.value"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="decimal"/>
</type>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="shr-core-Quantity-model.comparator">
<path value="shr-core-Quantity-model.comparator"/>
<short value="Comparator"/>
<definition value="Comparator"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="shr-core-Quantity-model.comparator"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<strength value="required"/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/>
</valueSetReference>
</binding>
</element>
<element id="shr-core-Quantity-model.units">
<path value="shr-core-Quantity-model.units"/>
<code>
<system value="http://ncimeta.nci.nih.gov"/>
<code value="C0805701"/>
</code>
<short value="Code for the unit of measure of the quantity."/>
<definition value="Code for the unit of measure of the quantity."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="shr-core-Quantity-model.units"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Coding"/>
</type>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<strength value="preferred"/>
<valueSetReference>
<reference
value="http://hl7.org/fhir/us/sw/ValueSet/shr-core-AllUnitsVS"/>
</valueSetReference>
</binding>
</element>
</snapshot>
<differential>
<element id="shr-core-Quantity-model">
<path value="shr-core-Quantity-model"/>
<definition
value="A quantity with units, whose value may be bounded from above or below, as defined in FHIR"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="shr-core-Quantity-model"/>
<min value="0"/>
<max value="*"/>
</base>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="shr-core-Quantity-model.value">
<path value="shr-core-Quantity-model.value"/>
<short
value="Decimal representing a quantity with units, whose value may be bounded from above or below, as defined in FHIR"/>
<definition
value="Decimal representing a quantity with units, whose value may be bounded from above or below, as defined in FHIR"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="shr-core-Quantity-model.value"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="decimal"/>
</type>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="shr-core-Quantity-model.comparator">
<path value="shr-core-Quantity-model.comparator"/>
<short value="Comparator"/>
<definition value="Comparator"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="shr-core-Quantity-model.comparator"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<strength value="required"/>
<valueSetReference>
<reference value="http://hl7.org/fhir/ValueSet/quantity-comparator"/>
</valueSetReference>
</binding>
</element>
<element id="shr-core-Quantity-model.units">
<path value="shr-core-Quantity-model.units"/>
<code>
<system value="http://ncimeta.nci.nih.gov"/>
<code value="C0805701"/>
</code>
<short value="Code for the unit of measure of the quantity."/>
<definition value="Code for the unit of measure of the quantity."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="shr-core-Quantity-model.units"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Coding"/>
</type>
<mustSupport value="false"/>
<isModifier value="false"/>
<isSummary value="false"/>
<binding>
<strength value="preferred"/>
<valueSetReference>
<reference
value="http://hl7.org/fhir/us/sw/ValueSet/shr-core-AllUnitsVS"/>
</valueSetReference>
</binding>
</element>
</differential>
</StructureDefinition>