| Datatypes UML Documentation |
Datatypes
Class NullableBoolean
This data type represents a boolean value which may be unknown. In other words, this data type can represent Yes, No, and Unknown; unlike a traditional boolean which can only represent True and False. For this logical model, this class has been modeled in the HL7 V3 style, which has the advantage of being able to account for different kinds of "unknowns", but has the disadvantage of having two fields, one of which must always be populated while the other must always be empty. Implementers may choose to implement this class using a single field instead.
Attributes |
NullFlavor | nullFlavor |
This property indicates why the value property is empty. It uses the NullFlavor enumeration. This property must be valued when the value property is empty, and must be empty when the value property is valued.
|
Boolean | value |
This property contains either a True or a False (or Yes or No). If "unknown" is needed, this property will be empty, and the nullFlavor property will be valued.
|
Properties:
Alias | |
Classifier Behavior | |
Is Abstract | false |
Is Active | false |
Is Leaf | false |
Keywords | BL |
Name | NullableBoolean |
Name Expression | |
Namespace | Datatypes |
Owned Template Signature | |
Owner | Datatypes |
Owning Template Parameter | |
Package | Datatypes |
Qualified Name | FHIM::Datatypes::NullableBoolean |
Representation | |
Stereotype | |
Template Parameter | |
Visibility | Public |
nullFlavor
Public NullFlavor nullFlavor
-
This property indicates why the value property is empty. It uses the NullFlavor enumeration. This property must be valued when the value property is empty, and must be empty when the value property is valued.
-
Constraints:
-
Properties:
-
Aggregation | None |
Alias | |
Association | |
Association End | |
Class | «BL» NullableBoolean |
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 | 0 |
Lower Value | (0) |
Multiplicity | 0..1 |
Name | nullFlavor |
Name Expression | |
Namespace | «BL» NullableBoolean |
Opposite | |
Owner | «BL» NullableBoolean |
Owning Association | |
Owning Template Parameter | |
Qualified Name | FHIM::Datatypes::NullableBoolean::nullFlavor |
Stereotype | |
Template Parameter | |
Type | NullFlavor |
Upper | 1 |
Upper Value | (1) |
Visibility | Public |
value
Public Boolean value
-
This property contains either a True or a False (or Yes or No). If "unknown" is needed, this property will be empty, and the nullFlavor property will be valued.
-
Constraints:
-
Properties:
-
Aggregation | None |
Alias | |
Association | |
Association End | |
Class | «BL» NullableBoolean |
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 | 0 |
Lower Value | (0) |
Multiplicity | 0..1 |
Name | value |
Name Expression | |
Namespace | «BL» NullableBoolean |
Opposite | |
Owner | «BL» NullableBoolean |
Owning Association | |
Owning Template Parameter | |
Qualified Name | FHIM::Datatypes::NullableBoolean::value |
Stereotype | |
Template Parameter | |
Type | Boolean |
Upper | 1 |
Upper Value | (1) |
Visibility | Public |
| Datatypes UML Documentation |