Add functions to EHR class for retrieving COMPOSITIONS, directory etc, instead of the literal OBJECT_REF links defined today, which are generally implemented by DB tables with EHR id foreign keys rather than these object references.
I am not sure how useful this is, given that we have API functions in the abstract platform spec - https://specifications.openehr.org/releases/SM/latest/openehr_platform.html#_ehr_package
and the REST API implementations: https://specifications.openehr.org/releases/ITS-REST/latest/ehr.html
I don't understand the use-case for this. To retrieve actual content the client should use AQL to get the content defined by some criteria.
I need some more details about the use-case to make some statement about this request.
Despite Boštjan being listed under “raised by” here, neither me nor Boštjan understand the need to have functions on RM classes, except perhaps for purposes of expressing invariants or clarifications in the specification itself. So as far as Better is concerned, we can throw this task away.
I am of the same opinion. I'll leave it for until the end of this phase of work, and delete prior to the release unless others come up with reasons to keep it.
Agree, skip this modification request.