We're updating the issue view to help you get more done.Learn more

Archetype-uid is type HIER_OBJECT_ID but should (maybe) be a UUID

Hi,

I am very sorry to bother you with a question I cannot solve on my own. So I need your advise. It is about AOM 1.4
There is a conflict in specs and practice.

The specs say that the uid-property of the Archetype-class should be of type HIER_OBJECT_ID. I know it has been changed to UUID in AOM 2.0.6.

See:
http://www.openehr.org/releases/AM/Release-2.0.6/docs/AOM2/AOM2.html#_authored_resource_class
http://www.openehr.org/releases/AM/Release-2.0.6/docs/AOM1.4/AOM1.4.html#_archetype_class

The problem is, both are not compatible, they do not have the same (meaningful) root-class in the identification-section of the Reference Model.
HIER_OBJECT_ID can be derived from OBJECT_ID, but UUID cannot, it can be derived from UID.

But when looking at CKM, when archetypes have a uid-property it is always of a UUID-type (I checked them all).
I think the archetype-editor (AOM 1.4) of Ocean also creates a UUID.

How do I solve that, change the Archetype-class so that it can accept a UUID instead of HIER_OBJECT_ID?
If so, I would be very pleased if the specs would change also.

Status

Assignee

Unassigned

Reporter

Bert Verhees

Components

Affects versions

AM version 1.4

Priority

Major