AOM2 - missing node_id in all grammar in classes coming from c_complex_object

Description

Allthough all classes derived from c_object MUST have a node_id, it is not in the grammar defined for classes below c_defined_object (with exception of c_complex_object).
This can be the case if in the specs the node_id is put in c_complex_object and removed from the c_object

Environment

None

Activity

Show:
Thomas Beale
January 18, 2016, 12:05 PM

I have simplified the Archetype slot rule in the grammar, which should make it more obvious that it has a node_id. All other C_OBJECT descandants have a node_id in the AOM, but in the grammar, primitive objects don't have a node_id in ADL syntax. This is because it is manufactured on creation. Currently, the primitive node id-code is id9999 although this could change in the future.

Bert Verhees
January 18, 2016, 12:17 PM
Edited

I understand, thanks.
Does the AOM create the node-id? If it is in the specs, I can read it myself. Please tell me where to look

Thomas Beale
January 24, 2016, 5:57 PM

That's what I do - the constructor for C_PRIMITIVE_OBJECT creates the node_id using the primitive node code, which is defined as a constant in the spec, see http://www.openehr.org/releases/AM/latest/docs/AOM2/AOM2.html#_definition_and_utility_classes

Reporter

Bert Verhees

Labels

None

Components

Affects versions

Priority

Major
Configure