AOM 1.4 - Archetype.uid a UUID or OID?

Bert Verhees bert.verhees at rosa.nl
Thu Jun 15 08:05:22 EDT 2017


On 15-06-17 12:49, Thomas Beale wrote:
>
>
> On 15/06/2017 02:17, Heath Frankel wrote:
>>
>> Hi Thomas,
>>
>> Your statement that the use of HIER_OBJECT_ID in the AOM1.4 spec is 
>> used for OIDs is incorrect. HIER_OBJECT_ID is a complex type with a 
>> value attribute of type UID, which may be either UUID, ISO_OID or 
>> INTERNET_ID.
>>
>
> Right. I was skimming over that detail... I remember now the logic of 
> this choice - we originally thought we should accommodate UUIDs 
> (Guids) and OIDs, which does require a HIER_OBJECT_ID in the openEHR 
> type system.

That is right, the loadValue function creates a UUID from the 
root-value  if it has that specific string-pattern. So the root of a 
HIER_OBJECT_ID can always be a UUID. Nifty construct. My mistake also, 
sorry for the trouble

Bert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20170615/f7111b64/attachment-0002.html>


More information about the openEHR-technical mailing list