Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The FROM clause utilises class expressions and a set of containment criteria to specify the data source from which the query required data is to be retrieved.  Its function is similar as the FROM clause of an SQL expression.

FROM Syntax

 A simple FROM clause consists of three parts: keyword - FROM, class expression and/or containment constraints, e.g.

...

No Format
EHR e [ehr_id/value=$ehrId]                                          \\EHR class, class identifier/variable, and a standard predicate
COMPOSITION c[openEHR-EHR-COMPOSITION.report.v1]   \\COMPOSITION class, class identifier/variable, and an archetype predicate


Class expressions are used for two purposes:

...