AQL for all specializations of an archetype

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

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

Thanks Ian,

Can the wildcard(*) be used for different versions of the archetype also

regards

I assume so, and possibly for specialisations. I would be a bit wary about using it for different major versions of an archetype since by definition at least some of the paths may have changed.

Ian

thanks