Creating code lists
To create a code list:
- Select Configuration > Common > Code Lists.
- Click New.
-
Specify this information on the Details tab:
- Name
- A unique name for the code list.
- Display Name
- The name to be displayed in the application.
- Category
- The category to which the code list is
linked.Note: You can add a new category using the ‘+’ option.
- System
- Indicates if the code list is a system record or
user defined.Note: The system code lists have edit restriction and cannot be deleted.
- Users
- The name of the users in the Data Management Module who are authorized to access the code list.
- Roles
- The role of the users in the Data Management Module who are authorized to access the code list.
- Click the Attributes tab. A list of attributes defined in the code list is displayed.
- Click Add to add a new attribute.
-
Specify this information in the Code List
Attribute window:
- Name
- The unique name for the code list attribute.
- Display Name
- The name to be displayed in the application.
- Type
- The type of data that must be stored in the
attribute. Possible values:
- Text
- Number
- Date
- Long Text
Note:- The value is used to validate the entries against each element for this attribute.
- The type Date is passed as Julian to OLAP dimensions because the date-type attributes are not directly supported by OLAP.
- Value
- The default value that must be added to each
existing element of the code list, for the attribute.Note: The default value must match the data type. Else, this error message is displayed:
{value} is not a valid value for {attribute}.
- Click OK. The new attribute is added to the list.
- Click Save. The new Code List is added to the list after successful validation.