Re: AQL questions

2019-04-30 Thread Georg Fette
Ah, thanks for the clarifications. Greetings Georg -- - Dipl.-Inf. Georg Fette Raum: B009 Universität WürzburgTel.: +49-(0)931-31-85516 Am Hubland Fax.: +49-(0)931-31-86732 97074 Würzburg

RE: AQL questions

2019-04-26 Thread Bjørn Næss
t; Vennlig hilsen Bjørn Næss Produktansvarlig DIPS ASA Mobil +47 93 43 29 10 -Original Message- From: openEHR-technical On Behalf Of Georg Fette Sent: torsdag 25. april 2019 19:30 To: openehr-technical@lists.openehr.org Subject: Re: AQL questions Hi Bjørn, Thank you for your answe

Re: AQL questions

2019-04-25 Thread Thomas Beale
Georg, CONTAINS is like the Xpath '//' operator - it finds a match at any level of hierarchy (if there is one). On 25/04/2019 18:29, Georg Fette wrote: Hi Bjørn, Thank you for your answers. They make me assume that the CONTAINS-operator is recursive because in your second query you ommited

Re: AQL questions

2019-04-25 Thread Georg Fette
Hi Bjørn, Thank you for your answers. They make me assume that the CONTAINS-operator is recursive because in your second query you ommited the part with "CONTAINS OBSERVATION o[openEHR-EHR-OBSERVATION.laboratory_test.v1]". Is this assumption correct ? This would make writing AQL a lot simpler.

RE: AQL questions

2019-04-25 Thread Bjørn Næss
Hi - great question. The answer is as always; it depends. The query below (similar to yours) will work also. What you have to consider when building AQLs is repeatable structures to make sure you hit the right instance. For this use-case I guess you would like any EHR which has a Calcium resul