Group dereference

Often it is required to get multiple fields deeper inside the node tree on the the table plane. For this FQL has a concept called group-dereference (or group-unwrap).

Functionally

The group dereferences Which takes the result of FHIRpath epression pointing to a node or a set of nodes in the tree, and a field list, that projects fields from that position. The result is added to the current row.

Syntax

    group-dereference: fhirpath-expression '{' field-list '}'

Functional

Example

from Patient
select
    name { given, family }