Datatypes
Class Decimal

This data type represents numbers that may include non-whole numbers. As a logical model, the FHIM does not dictate how numbers should be implemented. However, the FHIM does distinguish between whole numbers and numbers that may have a fractional component as it may be known at design time whether fractional numbers may be present. For example, a sequence number (e.g., 1, 2, 3) will always be a whole number. But a measurement may have a fractional component (e.g., 3.5). Note by contrast, the FHIM uses the built-in UML Integer data type to represent those numbers that should only contain whole numbers. This data type is a placeholder, as various platforms have differing built-in floating-point datatypes. It is anticipated that this data type will be replaced by a different data type when transforming to a particular implementation platform.
"A scalar magnitude. Typically used whenever quantities are measured, estimated, or computed from other real numbers. The typical representation is decimal, where the number of significant decimal digits is known as the precision." - HL7 V3
"Rational numbers that have a decimal representation." - HL7 FHIR, decimal.

Attributes
UnlimitedNatural literal literal

This is a placeholder for an actual data type that will be substituted via transformation to a platform-specific datatype. Note that FHIR uses xs:decimal for xml representations, or json number for json representations.


Properties:

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

Attribute Details

 literal
Public UnlimitedNatural literal

This is a placeholder for an actual data type that will be substituted via transformation to a platform-specific datatype. Note that FHIR uses xs:decimal for xml representations, or json number for json representations.

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
Class«REAL» Decimal
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
Nameliteral
Name Expression
Namespace«REAL» Decimal
Opposite
Owner«REAL» Decimal
Owning Association
Owning Template Parameter
Qualified NameFHIM::Datatypes::Decimal::literal
Stereotype
Template Parameter
TypeUnlimitedNatural
Upper1
Upper Value(1)
VisibilityPublic