avatar   wardweistra  

Building on our earlier templating work, you can now create fully customizable templates for your resource pages.

Using variables in FQL

See the below example, where we define variables in the 'front matter' of the Markdown page (the part between the --- lines). These variables can then be referenced in FQL by placing a % before their name.

Note: This and the below variable features only work when embedding your FQL within the <fql> tags. Also, a current limitation is that the <fql> tag can not yet be used within a <tab> or within other html tags. A workaround for now is to put the <fql> query in a separate file and include that in the page with the {{page}} widget as described in this video.

New output formats for FQL: moving beyond tables

Sometimes you only have one value you want to pull from a resource and display in the page. For this we now have the output format inline. As you can see in the first example in the above image, this will nicely display the word or paragraph within the rest of your text.

In other cases you are returning one column of values. Here you can now even choose between three different formats:

  • Choose the output format ul for an Unordered (bulleted) list.
  • Choose the output format ol for an Ordered (numbered) list.
  • And finally, choose output format inline again, with the delimiter of your choice, for a comma (or otherwise) separated list.

Variables to use in your guide and template

Continuing on the 'variables' theme, we've also exposed more variables for you to use in your guide pages:

Or in your Master Template:

And the best thing is that these variables can again also be referenced by their name in FQL or directly placed within a page with the {{variable:myVariable}} widget.

Other news from Firely
Ward Weistra 🔥
New quality control rules, markdown rendering, major infrastructure upgrades, and improved package publication, along with a new year-based versioning system.
Ward Weistra 🔥
A marketplace for healthcare knowledge encoded in FHIR and an overview page for every country publishing FHIR models.
Jay Salvemini
Learn key FHIR terms and concepts with our comprehensive FHIR Glossary, essential for navigating the complex FHIR landscape.
Rob Langezaal
Better handling of preferred file format (XML/JSON), faster loading time for projects with large dependencies and support for JSON output preview.
Ward Weistra 🔥
You may not notice the main work behind this release directly, but we are now capturing the amount of views and downloads on all FHIR entities (packages, projects, resources, guides, organizations).
Martine Berden
To support the fast-growing demand for FHIR solutions in the US, we have scaled up our presence by establishing a new company: Firely USA Inc.
Els van bergeijk
Two new free Firely e-learning courses available, including FHIR Profiling Introduction
Ward Weistra 🔥
By using variables in dynamic tables, you can now create consistent pages with widgets and tables, customized for every resource.
Ward Weistra 🔥
We look forward to collaborating with you on many more FHIR specifications in the new year.
Els van bergeijk
This eBook provides a complete overview of the relevant US healthcare regulations, implementation guides, and technologies and will help you understand their scope.