The <code> element is a sub-element of <codetable> and groups a number of <locale> elements together. The code element has the following attributes:
Attribute Name |
Required |
Default |
Description |
---|---|---|---|
value |
Yes |
None |
A unique identifier for the code in the code table. |
status |
Yes |
None |
Indicates if the code table is enabled and selectable in the list of codes as displayed on the client. It can be set to either ENABLED or DISABLED and if set to anything else it is considered to be DISABLED. |
default |
No |
None |
Indicates if this is the default code for the code table. There should only ever be one default specified. The default code is used to define the initially selected value in an editable code table list in the client. For more information consult the Cúram Web Client Reference Manual. |
java_identifier |
No |
None |
Used as part of the generated symbol definition Java file |
removed |
No |
false | Set to true to indicate if the code is to be removed and hence not included in the generated artefacts |
parent_code |
No |
None |
Used to define the name of the code in the specified parent code table in the hierarchy that this code is linked to. See Code Table Hierarchy for more information on defining a code table hierarchy. |