This is a very interesting topic. I have written out some of the problems in 
this repo: https://github.com/DIPSASA/openehr-conformance/tree/master/aql

The general answer is that you need to write you AQL as detailed as possible. 
Meaning you need to know which level you expect the multiple occurences to 
appear. Take a look at the examples given above. I would be happy to answer 
follow ups on this.

Vennlig hilsen
Bjørn Næss
Produktansvarlig
DIPS ASA

Mobil +47 93 43 29 10<tel:+47%2093%2043%2029%2010>

From: openEHR-technical [mailto:[email protected]] On 
Behalf Of Dileep V S
Sent: fredag 27. oktober 2017 08:15
To: For openEHR technical discussions <[email protected]>
Subject: AQL for multi-occurrence nodes

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?

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

If only the first one is returned, how do we get all the occurrences?  Adding 
multiple select lines in aql may not be practical as the number of occurrences 
can vary.

Can nay body give a select statement syntax for this?

regards

[https://drive.google.com/uc?id=0BxQc41y9yqs6bkE5a1JQQVBjZG8]

Dileep V S

Founder

HealtheLife Ventures LLP

m:

+91 9632888113

a:

103, Innovation Centre, IIIT, Electronics City, Bangalore 560100

w:

healthelife.in<http://healthelife.in/>  e: 
[email protected]<mailto:[email protected]>


_______________________________________________
openEHR-technical mailing list
[email protected]
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to