Change C_DV_ORDINAL to use CODE_PHRASE rather than DV_CODED_TEXT

Description

Currently C_DV_ORDINAL is simply represented as a list of DV_ORDINAL, which in turn makes use of DV_CODED_TEXT to represent symbol and includes a mandatory value attribute, inherited from DV_TEXT.

This is causing java xml outputs to fail because the mandatory value attribute is not populated as part of a constraint. The .Net XML outputs an empty <value/> element to work around the issue.

A better solution might be to for C_DV_ORDINAL to define its constraints as a list of a new type that contains a value + CODE_PHRASE

Environment

None

Reporter

Ian McNicoll

Labels

None

Components

Affects versions

Priority

Minor
Configure