Greeetings, Looking at the current documentation for AQL, it is not clear to me if a CONTAINS constraint should apply to all children of an RM type, or to root level children only. So if I use a statement such as "EHR e CONTAINS COMPOSITION c ..... " would this mean that I'm looking for all EHR instances where there is a COMPOSITION somewhere down the tree structure, or would it strictly refer to an attribute of type COMPOSITION amongst the first level of attributes of EHR?
Maybe there is not reason at all to interpret the semantics as in the latter, but I did so, and I'd appreciate some input. Kind regards Seref -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20120801/7b78764e/attachment.html>

