property "details" has signature
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.
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.
It is reverse in Java, K, V, but that is indeed what I was looking for. Thanks for the quick response