AQL
|
Dear All Ocean's proposal for an Archetype Query Language has been around for a year now: For a general time line and introduction see: http://www.openehr.org/wiki/display/spec/openEHR+Query+Specifications The AQL Specifications: http://www.openehr.org/wiki/display/spec/Archetype+Query+Language+(AQL) Queries will be required to based elements of their select clauses and where statements on reference model attributes (e.g. the time of commital, the time of an observation) but the majority of information sought will be based on archetypes used as the specification for the data. Thus a weight will be returned from seeking out data stored against the 'body weight' archetype, symptoms from 'Story' observations and specific structured statements about symptoms using the 'symptom archetype'. There are a number of questions that come up from archetype based queries and how we should handle them. The first is about repeating elements in an observation. The event class of observation is repeating and as such will lead, at times, to duplicate data at different times. For this reason an observation class may return multiple instances of the same data. There are a number of different 'rules' that are starting to become clear.
Hope to hear some ideas about how to progress this the best. We have recently enabled interactive editing of the language which does make it easier to test the capability of the engine. We would be happy to support people working in the open source space with developing the language further. Cheers, Sam --
| |||||
_______________________________________________ openEHR-decisionsupport mailing list openEHR-decisionsupport@openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-decisionsupport