avatar   Martijn Harthoorn  

This week we published Torinox, our command line FHIR utility. It can help you with all kinds of FHIR operations:

  • Helping you with resources on disk
  • Getting resources from and to a FHIR server
  • Bundling resources and splitting bundles
  • Installing or creating FHIR packages
  • Synchronizing Simplifier projects with local folders
  • Converting XML to JSON and vice versa

You can choose to work in Windows with Powershell or the classic command prompt. Torinox also works under Linux and a lot of other operating systems.

Get started

To start using Torinox, follow these steps:

  1. Install dotnet core 2.1 SDK.
  2. Run dotnet tool install -g torinox
  3. Run fhir -? for information

Getting resources from a server

To get a resource from a server, first you have to define the server once. In this example we will use the publicly available Vonk server:

    > fhir server add vonk https://vonk.fire.ly

Now that you have your server alias, you can start communicating with it. A first step is doing a simple read operation:

    > fhir read vonk Patient/example

This will get a patient from the server with id 'example'. If that one does not exist, you can of course try another one. To give you the freedom to do with this resource what you want (save, upload it to another server, validate it...), we keep it on an internal stack, for you to use on your next operation. Let's do a simple show.

    > fhir show

This command will show the contents of the most recent resource.

Saving resources

There are several ways to save a resource. The resource from the previous example can be saved by typing:

    > fhir save

Once you saved a resource, it's dropped from the stack. You can be more specific by providing a file name. The extension you provide (xml, json) will be honored in the serialization. So by typing:

    > fhir save patient1.json

the resource would be saved in JSON format.

Bundling

A frequently requested operation is putting a set of resources in a bundle. Let's see how we can do that with Torinox: Let's get all patients on our test server who's name is Chalmers (in the official FHIR spec examples there are several!)

    > fhir search vonk Patient name=Chalmers

Note that all FHIR query parameters work here. So if you don't get enough results, you can just do a generic search: get the first 20 patients from the server, without any discrimination:

    > fhir search vonk Patient _count=20

You should have at least 20 patients now on your local stack. So lets bundle and save them.

    > fhir bundle
    
    > fhir save bundle.xml

That wasn't too complex, was it? You now have 20 patients in a bundle in an xml file in your current folder.

Other operations

Torinox has a lot more to offer, posting FHIR resources on a FHIR server, installing FHIR packages, synchronizing a local folder with Simplifier projects or creating your own FHIR package. We'll talk about packages in a next blog post. But Torinox should be simple enough to figure out most operations yourself.

Questions

The tool is very new so it's a bit rough around the edges. Any feedback is welcome. Good luck using it. For any questions, or suggestions, just use the feedback button in Simplifier.

Other news from Firely
Ardon Toonstra
You now decide who can see that you work on a project. This release adds private user profiles and private team members, and brings Mermaid diagrams.
Ardon Toonstra
Firely Terminal `4.0.0` validates and runs Quality Control the way Simplifier does, and gives your pipelines better control over when a build fails. It is a major release: it runs on .NET 10 and the Firely .NET SDK 6, and a few things you may script against have changed.
Ardon Toonstra
The Forge 2026.3.0 release brings the two package changes Simplifier introduced this year to Forge: canonical pinning, and more than one version of a package in your project.
Ardon Toonstra
Simplifier now keeps every version of a package that your dependencies bring in and resolves your references predictably across them. This release also redesigns the guides overview and starts retiring DSTU2.
Ardon Toonstra
Earlier this year, we asked the Simplifier community how they use Simplifier, Forge, and Firely Terminal in their day-to-day FHIR work. First of all, thank you to everyone who took the time to participate.
Ardon Toonstra
Simplifier now runs entirely on Firely .NET SDK 6. This release brings a list of rendering improvements for your conformance resources, and consolidates our documentation in one place.
Ardon Toonstra
Forge 2026.2.0 upgrades the profiling engine to .NET 10 and Firely .NET SDK 6.2.1, adds support for the suppression extension, and speeds up loading of complex profiles. Quality Control now runs solely on the current Firely validator, and the Project view's Structure Type filter has been streamlined. Note that .NET 10 may need to be installed by your IT department on managed machines.
Ardon Toonstra
Simplifier.net now hosts country-specific results from the 2026 State of FHIR Survey, letting you explore how HL7 FHIR is being adopted in each participating jurisdiction.
Ardon Toonstra
This release lets you pin canonical references when creating a package, locking each one to the exact version it resolved to so your packages stay reproducible. Simplifier honours the version in a reference when resolving, with two new quality-control rules to help you pin safely. On top of that, the platform has moved to .NET 10, alongside a set of UI improvements and bug fixes.
Ardon Toonstra
The 2026 Simplifier User Survey is now open, and we need your input. Tell us which tools and features drive real value in your FHIR workflow, and where the platform can do better. It only takes a few minutes, and your response shapes what we build next.