Automating Your FHIR Workflow with Firely Terminal - Firely

Firely Terminal is the new name for our FHIR command line tool Torinox. With this name change, we also released exciting new features and an overview video of this nifty cross-platform automation tool.

For a full overview of the core features of Firely Terminal, and the new ValueSet expansion and powerful FQL querying, watch the video or continue reading below! To directly get started, go to the installation instructions or the Firely Terminal documentation.

Firely Terminal is a tool for working with FHIR on the command line. It is built on our open-source Firely .NET SDK and works on any operating system: Linux, Mac, or Windows. It is the most powerful tool for automating anything in your FHIR development process. This includes synchronizing with Simplifier.net projects, talking to FHIR APIs and validating FHIR specifications and examples.

Below we will expand on the video and end with a future outlook.

Intro to Firely Terminal ( 0:16)

The first things to use are:

Using Firely terminal as a FHIR client ( 0:51)

For starters, Firely Terminal can function as a command-line based FHIR client. It sends resources to FHIR servers and back via their FHIR API.

fhir search https://server.fire.ly Patient name=Chalmers

Synchronization with Simplifier.net FHIR projects ( 2:37)

Firely Terminal is also a great way to easily synchronize a local folder with a public or private Simplifier.net project. This is useful when you want to work on them with Forge or have created a bunch of resources with FHIR Shorthand.

If your project now contains a package.json file, which contains your project dependencies and is automatically created by Simplifier.net, we can install those dependencies locally too with fhir restore. If you don’t have a package.json yet, just fhir install any FHIR packages (from the Implementation Guides and projects you are building on top of) and Firely Terminal will download them to your cache so your project can refer to them.

Validation and (un)packing bundles ( 4:41)

Now you have resources from your Simplifier.net project on your local machine we have something to work with!

(For validating your entire project at once, see the future outlook below)

Snapshot generation ( 7:37)

Not every tool is able to take all the rules FHIR profiles layer on top of each other to create a resulting FHIR data model, the snapshot. Firely Terminal makes snapshot generation just a single command: fhir snapshot.

Filtering and file format conversion ( 9:15)

ValueSet expansion (and saving back to Simplifier.net) ( 11:27)

New in the latest release, available for all our paying customers: Filling the ValueSet expansion part with the actual terms that are part of it:

Querying with the Firely Query Language ( 13:20)

Firely has expanded FHIRPath to a SQL like query language that allows you to quickly query over many FHIR resources: the Firely Query Language.

fhir query 'using scope from StructureDefinition select name, url' --output json

What’s next?

Firely Terminal opens up a world of FHIR automation to the community. Large customers already use it to validate and generate snapshots on every release or even every commit. But, more is coming! We will soon add the following:

Get started with Firely Terminal right now and let us know how it helps your FHIR automation!