niemopen / niem-model

The NIEM reference data model
Other
11 stars 6 forks source link

Support reason for no value on simple content; harmonize yes/no/unknown code sets #63

Closed cdmgtri closed 12 months ago

cdmgtri commented 1 year ago

Support reason for no value and harmonize yes/no/unknown code sets (#34)

New attributes

Created the following new attributes and added them to nc:TextType and nc:QuantityType:

These new attributes can also be used throughout the model with the new support for attribute wildcards in NIEM 6.0.

Yes/No/Unknown code set

Harmonized two domain code sets that represented a ternary choice with "Yes", "No", and "Unknown" code values with new code nc:YesNoUnknownCodeType:

The MilOps USMTF type usmtf:PositiveNegativeCodeSimpleType also shares a very similar code set and may be able to be leverage the new type in Core in the future during upcoming USMTF harmonization efforts.

This new code set can be used in places where a boolean with a null value cannot be used to indicate the value is unknown or not applicable.