Datatypes
Class Quantity

"A dimensioned quantity expressing the result of measuring" - HL7 V3
"A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies." - HL7 FHIR, Quantity. Note that the FHIR Quantity data type includes an optional comparator, which is not commonly used. In FHIM, we have created a sub type (QuantityWithComparator) that adds the comparator property.

Attributes
«CS» Code unit unit

"The unit of measure specified in the Unified Code for Units of Measure (UCUM). The default unit is 1." - HL7 V3
"A computer processable form of the units in some unit representation system." - HL7 FHIR, Quantity.code.

«REAL» Decimal value value

"The magnitude of the quantity measured in terms of the unit" - HL7 V3
"The magnitude of the Monetary Amount in terms of currency" - HL7 V3
"The value of the measured amount. The value includes an implicit precision in the presentation of the value." - HL7 FHIR, Quantity.value.
"Numerical value (with implicit precision)." HL7 FHIR, Money.value


Properties:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
KeywordsPQ
NameQuantity
Name Expression
NamespaceDatatypes
Owned Template Signature
OwnerDatatypes
Owning Template Parameter
PackageDatatypes
Qualified NameFHIM::Datatypes::Quantity
Representation
Stereotype
Template Parameter
VisibilityPublic

Attribute Details

 unit
Public «CS» Code unit

"The unit of measure specified in the Unified Code for Units of Measure (UCUM). The default unit is 1." - HL7 V3
"A computer processable form of the units in some unit representation system." - HL7 FHIR, Quantity.code.

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
Class«PQ» Quantity
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value(1)
Multiplicity1
Nameunit
Name Expression
Namespace«PQ» Quantity
Opposite
Owner«PQ» Quantity
Owning Association
Owning Template Parameter
Qualified NameFHIM::Datatypes::Quantity::unit
Stereotype
Template Parameter
Type«CS» Code
Upper1
Upper Value(1)
VisibilityPublic


 value
Public «REAL» Decimal value

"The magnitude of the quantity measured in terms of the unit" - HL7 V3
"The magnitude of the Monetary Amount in terms of currency" - HL7 V3
"The value of the measured amount. The value includes an implicit precision in the presentation of the value." - HL7 FHIR, Quantity.value.
"Numerical value (with implicit precision)." HL7 FHIR, Money.value

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
Class«PQ» Quantity
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value(1)
Multiplicity1
Namevalue
Name Expression
Namespace«PQ» Quantity
Opposite
Owner«PQ» Quantity
Owning Association
Owning Template Parameter
Qualified NameFHIM::Datatypes::Quantity::value
Stereotype
Template Parameter
Type«REAL» Decimal
Upper1
Upper Value(1)
VisibilityPublic

Comments