Hello, my name is Leonardo Ornelas, this is my first message for this mail list. Maybe somebody could take my doubts. I’m working on a project that follows some parts of openEHR. I did an adl-core implementation on nodejs. This version makes the parser from adl to json, supports flattener of archetypes and generation of operational templates, as well as the generation of a hierarchical model of RM from Archetype / OPT. There is a person in the team in charge of creating some templates and archetypes for our needs, which led to a questioning about occurrences that he could not answer. I looked in the document but could not find it on. I wonder if in the RM model it is possible to have occurrences of a element that is root? Eg. If a CLUSTER is the first element of an archetype that cluster could have occurrence 0 .. * or 1 .. *.
Could the following ADL be valid?
…
definition
EVALUATION [id1.1] matches occurrences matches {0..2} matches {
…
In that case, in the RM model, when in the form add a new element, could I have an EVALUDATION with the same archetype_node_id?
Thanks in advance.