It should do - something like this works on ThinkEhr. I'm not sure if other AQls support it
SELECT o FROM EHR e CONTAINS ACTION a[openEHR-EHR-ACTION.procedure.v1] CONTAINS OBSERVATION o[openEHR-EHR-CLUSTER.device-invasive*] Ian Dr Ian McNicoll mobile +44 (0)775 209 7859 office +44 (0)1536 414994 skype: ianmcnicoll email: [email protected] twitter: @ianmcnicoll Director, freshEHR Clinical Informatics Ltd. CCIO inidus Ltd. [email protected] Co-Chair, openEHR Foundation [email protected] Hon. Senior Research Associate, CHIME, UCL On Thu, 30 May 2019 at 09:57, Dileep V S <[email protected]> wrote: > Hi, > Does AQL allow defining containment so that the basic archetype and all > it's specializations can be included in the query? f yes can somebody share > the syntax? > > regards > Dileep V S > *Founder* > HealtheLife Ventures LLP > m: +91 9632888113 > a: 106, Innovation Centre, IIIT, Electronics City, Bangalore 560100 > w: <http://ayushehr.com>ehr.network, <http://ehr.network>ayushehr.com > <http://ayushehr.com> e: [email protected] > _______________________________________________ > openEHR-technical mailing list > [email protected] > > http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org >
_______________________________________________ openEHR-technical mailing list [email protected] http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

