| Datatypes UML Documentation |
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 |
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 Abstract | false |
Is Active | false |
Is Leaf | false |
Keywords | REAL |
Name | Decimal |
Name Expression | |
Namespace | Datatypes |
Owned Template Signature | |
Owner | Datatypes |
Owning Template Parameter | |
Package | Datatypes |
Qualified Name | FHIM::Datatypes::Decimal |
Representation | |
Stereotype | |
Template Parameter | |
Visibility | Public |
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:
-
Aggregation | None |
Alias | |
Association | |
Association End | |
Class | «REAL» Decimal |
Datatype | |
Default | |
Default Value | |
Is Composite | false |
Is Derived | false |
Is Derived Union | false |
Is Leaf | false |
Is Ordered | false |
Is Read Only | false |
Is Static | false |
Is Unique | true |
Keywords | |
Lower | 1 |
Lower Value | (1) |
Multiplicity | 1 |
Name | literal |
Name Expression | |
Namespace | «REAL» Decimal |
Opposite | |
Owner | «REAL» Decimal |
Owning Association | |
Owning Template Parameter | |
Qualified Name | FHIM::Datatypes::Decimal::literal |
Stereotype | |
Template Parameter | |
Type | UnlimitedNatural |
Upper | 1 |
Upper Value | (1) |
Visibility | Public |
| Datatypes UML Documentation |