FQL

With clause

The With Clause, allows you to add keywords that are not interpreted by FQL, but are passed on to the rendering engine.

For Simplifier and Firely Terminal rendering responds to the header keyword, which will add headers to table output.

from Patient
select
  name.given[0], name.family[0]
with 
  header

Similarly, if you want to make sure no header in case that is set as default, you can use:

with 
  no header

Common with flags

Although each rendering engine is free to interpret flags set in the with clause, there are two common flags, that should generally be understood. They are known by at least Simplifier and Firely Terminal:

  • header: adds a header to the table
  • subheader: adds headers to sub tables