Closed cKlee closed 6 years ago
The description
in your example is always the same and it does not describes the data element but the context of its deprecation. I'll add deprecated-fields
and deprecated-subfields
. Note there can only be one deprecated form of if a field/subfield/code.
I have second thoughts if this was a good idea. Problem is, for every (sub)field you have to check twice: is field in schema->fields or in schema->deprecated-fields, is subfield in schema->fields->subfields or schema->fields->deprecated-subfields.
I suggest to support a keyword deprecated
with a boolean value.
Deprecated (sub)fields should be made explicit. Then a deprecated-warning can be created. If the description-key would be applicable in a (sub)field-definitions and code-definition then this warning could be more verbose.
The keyword description should also be applicable in all definitions.