openEHR / reference-models

openEHR and related reference models in computable form, including UML, XMI, BMM, Ecore, etc
20 stars 19 forks source link

TERM_MAPPING in BMM has no ancestors #4

Closed serefarikan closed 6 years ago

serefarikan commented 6 years ago

@wolandscat Should not the definition of TERM_MAPPING in basic types bmm file have any as its ancestor?

wolandscat commented 6 years ago

All class definitions in a BMM file with no stated ancestors are given the ancestor Any by default. So the query 'ancestors' for any class in the loaded schema will always result in at least one class.

serefarikan commented 6 years ago

@wolandscat That is what I assumed, but all other types I've seen so far seem to have their ancestors set to <"Any", ...> explicitly. That's the reason I opened the issue

wolandscat commented 6 years ago

That's probably true - I should perform a clean-up on the schemas...