AQL questions

Thomas Beale thomas.beale at openehr.org
Thu Apr 25 13:47:45 EDT 2019


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 the part with "CONTAINS OBSERVATION 
> o[openEHR-EHR-OBSERVATION.laboratory_test.v1]". Is this assumption 
> correct ? This would make writing AQL a lot simpler.
> Another assumption I have is that the predicate namespaces always 
> relate to the aliased archetype the path they are used within starts 
> with. In your first query you use at0001 and at0002 each two times but 
> they seem to have different meanings.
> Greetings
> Georg
>
-- 
Thomas Beale
Principal, Ars Semantica <http://www.arssemantica.com>
Consultant, ABD Project, 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/> | The Objective Stance 
<https://theobjectivestance.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20190425/c6515356/attachment.html>


More information about the openEHR-technical mailing list