ADL grammar for terminology_extracts not yet well defined.

Description

I cannot find a way to map Hash<Hash<ARCHETYPE_TERM, String>, String> to a two level table, I think it needs three levels, so maybe there is an error in the definition:
http://www.openehr.org/releases/AM/latest/docs/AOM2/AOM2.html#_archetype_terminology_class

Activity

Show:

Bert Verhees April 14, 2016 at 9:31 AM

Call can get closed, as you indicated, Hashtables are often read as Hash<K, V>, but in the specs it is Hash<V, K> (like, I believe in Eiffel? class HASH_TABLE [G, KEY -> HASHABLE])

Maybe it is good to reformulate this part, for example conform the most commonly used notation of HashTable, which will be:
Hash<String (=language-key), Hash<String (= term code-key), ARCHETYPE_TERM > >

Bert Verhees April 4, 2016 at 9:17 AM

I come back to this, this week, I forgot what it is about

Thomas Beale April 4, 2016 at 9:14 AM

This should just come out to a structure which is a Hash of Hashes, where the inner hash is Hash<ARCHETYPE_TERM, String>. Note - I think in Java, the declarations would be the other way round, i.e. Hash<String, ARCHETYPE_TERM>, i.e. it is Hash<K, V> I think? But I don't see why this would cause a problem in any normal programming language that has Hashes.

Done

Details

Reporter

Components

Affects versions

Priority

Created February 11, 2016 at 2:27 PM
Updated November 5, 2018 at 5:03 PM
Resolved November 5, 2018 at 5:03 PM