automatic demotion of lists in AQL ?

2019-04-26 Thread Georg Fette
Hello, Is it allowed to use an element that is allowed to appear multiple times within a path ? For example in the query SELECT a/items[at0001]/value     FROM EHR e         CONTAINS CLUSTER a[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1] the field items[at0001] may appear 0..* times. Thus

RE: AQL questions

2019-04-26 Thread Bjørn Næss
Thomas answered the CONTAINS operator. I am not sure how to best answer your second question. I will try the following :-) The node predicates as below: *c2/items[at0002]/items[at0001]/value/magnitude *o/data[at0001]/events[at0002]/time Here the "c2" and "o" is a reference to a