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

Environment

None

Activity

Show:
Thomas Beale
April 4, 2016, 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.

Bert Verhees
April 4, 2016, 9:17 AM

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

Bert Verhees
April 14, 2016, 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 > >

Reporter

Bert Verhees

Labels

None

Components

Affects versions

Priority

Minor
Configure