Error in RESOURCE_DESCRIPTION.details class in RM Common IM spec

Description

property "details" has signature
details: List<RESOURCE_DESCRIPTION_ITEM>

The according meaning is: Details of all parts of resource description that are natural language-dependent, keyed by language code.

This is confusing, because a list does not have a key.

I think that this must be: details: Hash<STRING, RESOURCE_DESCRIPTION_ITEM>

Please respond soon, because the further development of description in AOM/ADL-parser stucks on this.

Activity

Show:

Bert Verhees January 7, 2016 at 6:45 AM

It is reverse in Java, K, V, but that is indeed what I was looking for. Thanks for the quick response

Bert

Thomas Beale January 6, 2016 at 1:09 PM

Bert, good catch. In future, can you post a spec URL for the class i nquestion; I think the relevant one is: http://www.openehr.org/releases/RM/Release-1.0.3/docs/common/common.html#_resource_description_class

The error has occurred because now we infer List<> in the case of multiple relationships, if they are not already set as Hash.

In fact it would be Hash<RESOURCE_DESCRIPTION_ITEM, STRING> even in Java I think, i.e. Hash<V,K>.

So please proceed as if it is that.

Done

Details

Reporter

Components

Affects versions

Priority

Created January 6, 2016 at 10:05 AM
Updated December 21, 2018 at 5:55 PM
Resolved November 4, 2018 at 10:38 PM