Modifying data elements

You can add or delete the attribute of a data element or modify the value of attributes. If the data element is a collection, you can also add or delete sub-element to it. See Adding data elements to a collection.

To modify an attribute of a data element, perform the following steps:

  1. In the CHA Data view, select the data element.
  2. In the Properties view, click the editable attribute you want to change. The editor indicates editable attributes with a pencil icon. In the Properties view, click the editable attribute you want to change.
  3. Enter or select the new value.

To add an optional attribute to the data element definition, perform the following steps:

  1. In the CHA Data view, right-click the data element.
  2. Select Add Optional Attribute.
  3. Select the attribute to add.
  4. To set the value for the attribute:
    1. In the Properties view, click the attribute.
    2. Enter or select the new value.

To delete an optional attribute from a data element definition, perform the following steps:

  1. In the CHA Data view, right-click the data element.
  2. Select Remove Optional Attribute.
  3. Select the attribute to delete.
To add parameter as subtag, perform the following steps:
  1. In the CHA Data view, right-click the data element.
  2. Select Add Parameter As Subtag.
  3. In the properties view, expand the param and then expand 0, enter the value for id and value as shown in the figure below:
    Add parameter as subtag
    Note: 0 is an index. A data element can contain multiple parameters, which are indexed as 0, 1, 2, 3... and so on.

To remove parameters as subtag, perform the following steps:

  1. In the CHA Data view, right-click the data element.
  2. Select Remove Parameter As Subtag.
  3. Select the index of the parameter to delete.
Related tasks
Creating data elements