Hi Dileep

On 27/10/2017 04:15, Dileep V S wrote:
Hi,

What is the expected response to AQL on a node with multiple occurrences? Does it return all the occurrences or only the first one?

querying is always about returning everything that matches - it's a declarative concept, not a procedural one.


If it is expected to return all occurrences, what is the structure of the response? will the occurrences be returned as an array?

In REST terms, see here <https://openehr.github.io/specifications-ITS/query.html>. If you want other structures, e.g. C# / Java / other language etc, please respond here, there are answers for that as well.

- thomas

--
Thomas Beale
Principal, Ars Semantica <http://www.arssemantica.com>
Consultant, ABD Team, Intermountain Healthcare <https://intermountainhealthcare.org/> Management Board, Specifications Program Lead, openEHR Foundation <http://www.openehr.org> Chartered IT Professional Fellow, BCS, British Computer Society <http://www.bcs.org/category/6044> Health IT blog <http://wolandscat.net/> | Culture blog <http://wolandsothercat.net/>
_______________________________________________
openEHR-technical mailing list
[email protected]
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to