
openEHR
openEHR is an open specification for storing and querying clinical data in a vendor-neutral repository. A stable reference model defines the basic structures, archetypes define clinical concepts such as a laboratory result, templates combine archetypes into forms, and the Archetype Query Language (AQL) retrieves the data. The non-profit openEHR International maintains it.
Key takeaways
- An open specification for clinical data storage, maintained by the non-profit openEHR International
- Multi-level modelling: a stable reference model, with archetypes and templates above it
- Archetypes are shared and reused; templates are local forms built from archetypes
- AQL queries data by archetype paths, independent of the database underneath
- Data sits in a clinical data repository (CDR), separate from any one application
What openEHR means
openEHR splits clinical modelling into levels. Software is built once against a small, stable reference model of generic structures such as Composition and Observation. Archetypes constrain it for one clinical concept and are shared through the Clinical Knowledge Manager; templates assemble archetypes into local forms.
openEHR data lives in a clinical data repository (CDR) and is queried with AQL by archetype paths, not table names. FHIR is designed for exchange between systems, and the two can be combined; Agnotic Technologies covers that choice in its FHIR vs openEHR comparison.
When does a builder meet openEHR?
Builders usually meet openEHR in three places: a health system or national program standardized on openEHR that wants apps to use its CDR, a product storing many frequently changing clinical forms, or a data platform keeping clinical meaning stable across front ends.
In each case the work is less about the database and more about modelling: choosing existing archetypes from the Clinical Knowledge Manager, building templates for the forms and writing AQL for the reports and APIs the product needs.
Which layers make up openEHR?
| Layer | What it does | Example |
|---|---|---|
| Reference model | Defines the stable, generic structures and data types all data is built from | Composition, Section and Observation classes, quantity and coded text types |
| Archetype | Constrains the reference model to define one clinical concept for wide reuse | openEHR-EHR-OBSERVATION.laboratory.v1 for a laboratory result |
| Template | Combines and narrows archetypes for one local form, report or message | A discharge summary or antenatal exam form |
| AQL | Queries stored data using archetype paths, independent of how it is stored | All glucose results for one patient in the past year |
| Clinical data repository (CDR) | Stores and versions the data, and serves AQL queries and APIs to applications | A shared patient record used by several apps in one health system |
Facts and primary sources
openEHR's architecture overview describes a multi-level approach in which a stable reference model is the first level, with archetypes defining reusable clinical content above it.
Source: openEHR architecture overviewopenEHR expresses all archetypes in the Archetype Definition Language (ADL), which its specification describes as the basis of ISO standard 13606-2.
Source: openEHR architecture overviewThe openEHR AQL specification describes the Archetype Query Language as a declarative query language for searching and retrieving the data found in archetype-based repositories.
Source: openEHR AQL specificationThe openEHR Clinical Knowledge Manager is used to develop, manage, review and publish clinical data models, including openEHR archetypes and templates.
Source: openEHR Clinical Knowledge Manager
Explore this on Agnotic
Where openEHR shows up in how we build.