Archetype Query Language (AQL) STABLE
Archetype Query Language: an SQL-inspired query language for retrieving openEHR EHR data. Uses archetype paths as the addressing mechanism and supports SELECT, FROM, WHERE, ORDER BY, and aggregation functions for clinical data retrieval. AQL queries are submitted to openEHR platforms via the Query REST API, either as ad-hoc queries or as stored named queries with bound parameters. The language provides path-based navigation through Composition and Entry structures using archetype node identifiers, enabling precise targeting of clinical data elements.
Purpose
This document describes the syntax of the openEHR Archetype Query Language (AQL).
Feedback
Feedback may be provided on the openEHR AQL forum.
Issues may be raised on the specifications Problem Report tracker.
To see changes made due to previously reported issues, see the QUERY component Change Request tracker.