Skip to Navigation | Skip to Content

openEHR-Clinical mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

AQL query to archetype and it's specializations in slot


Hi!

I have an archetype 'A' with slot named 'Slot In A'.
There is constraint for possible archetypes for this slot: "B and specializations of B".

I know that in archetype B (and in all of it's specializations) there is field 'at0003' named 'Field In B'

I know only about B and particular clients has their own independent specializations 'B-spec'.

Now I want to build a query like this:

...[openEHR-EHR-CLUSTER.a.v1]    /items[openEHR-EHR-CLUSTER.b.v1]     / items[at0003]/value

And I want something like "Archetype of this type and it's specializations" instead of just this "items[openEHR-EHR-CLUSTER.b.v1]".

The question is: how :-)


--
Best regards,
Igor Lizunov
_______________________________________________
openEHR-clinical mailing list
openEHR-clinical@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-clinical