inconsistencies in naming of term_bindings and constraint_bindings attributes in XML-schema and PDF specs

Alessandro Torrisi (Unusual Visions, implementing at the Medical Centre Alkmaar, The Netherlands) reported the following inconsistency.

  • The ADL 1.4 specification mentions subsections under the archetype ontology section named term_binding and constraint_binding (both singular). In the AOM specification, these attributes are not defined (already raised as an issue), although there are invariants that imply the presence of attributes term_bindings and constraint_bindings (both plural).
  • In ADL archetypes, these two attributes occur in a small number of archetypes, and are named in the singular.
  • In the published AOM XML-schema, these attributes are spelled in the plural form.
  • XML archetypes have these attributes named in the plural.

I have raised a CR to document this and changes coming from it: http://www.openehr.org/issues/browse/SPEC-284 and raised this in the ARB. The changes I propose are simple: they involve only updating the ADL manual, which contains non-normative examples carrying the singular form of the relevant attribute names.

The impact from this would be that tools reading and writing ADL archetypes will need to handle the plural form as well, and should silently convert singular → plural when saving. This should not be a difficult change to implement.

The purpose of this post is to determine if there is any other impact or consequences.

  • thomas beale