Subtype and Conditional Value Description

When a dataset has been configured with subtypes, conditional values can be set for each subtype individually, effectively restricting the valid input values for the fields contained within each subtype.

During usage, the addition, deletion, and range settings of subtypes may affect the application of conditional values. The specific scenarios are described as follows:

Adding Subtypes

  1. If conditional values have been set for a dataset before new subtypes are created, the existing conditional values will remain. When switching back to the conditional value window, a dialog will prompt you to decide whether to apply the original conditional values to the default subtype. If not applied, the original conditional values will be cleared.
  2. If a dataset previously had subtypes configured, and after the subtypes were deleted, they are added again, the following two situations may occur:
    • First, if the codes of the newly added subtypes completely match the codes of the subtypes originally used in the conditional values, the corresponding conditions will be matched based on the original codes.
    • Second, if the codes of the newly added subtypes do not match the codes of the subtypes originally used in the conditional values, the situation will be handled as described in case 1.

Deleting Subtypes

If a dataset has been configured with subtypes and conditional values, and the subtypes are subsequently deleted, the conditional values will be merged accordingly. For example, if condition 1 was applied to subtype 1 and subtype 2, after the subtypes are deleted, the conditional values under subtype 1 and subtype 2 will be merged into one.

Range

If the range of a field managed in the subtype differs from the range of the same field managed in the conditional values, the range set in the subtype will take precedence.