Enumeration Literals
Enumerations contain Enumeration Literals in a similar way to the way that Classes contain Attributes.
Each Enumeration Literal is one of the list of values that make up the Enumeration.
For example, an Enumeration called Analgesics might contain literals listing the different analgesics that might be prescribed.
Enumeration literals require values to be set. The format of the value is determined by the data type of which the enumeration is a generalization. Ranges of values are not supported.
In the example in Enumerations, Analgesics is a generalization of the Decimal data type.
So the Enumeration literal CODEINE requires a value in a decimal format:
Copyright © Cloud Software Group, Inc. All rights reserved.