Downloading and Running a Product Stack: FHIR-candle

Install a Container Runtime

We’ll assume you’ve installed Docker Desktop, or are comfortable enough with container technologies to adapt this tutorial for an alternative container runtime. Follow our Docker Desktop Download Guide if needed.

Declare a Platform Environment

Log in and navigate to your “Account” page (https://foundry.hl7.org/). Follow our HL7 Foundry Account Set Up guide for more information. You should see something similar to the screen shot below.

Configuring and Deploying FHIR-candle

Navigate to the “Catalog” and search for “candle”. Click the product listing for FHIR-candle.

Products that have enabled distribution and deployment features will have a “Configuration Wizard” and other tabs at the bottom of the page, as shown below.

  • Navigate to the “Configuration Wizard” tab
  • Select the “latest” build,
  • Select the “all-r-versions” configuration (FHIR-candle unique in several ways and one of them is the ability to start multiple FHIR version types [r4, r4b, and r5])
  • Select the platform environment you just created, and
  • Click “Add Configuration to Platform”.

FHIR-candle will be added to your platform configuration as “tasks”. Once you see a confirmation notice, go back to the catalog and navigate to the “My Environments” page.

My Environments allows you to inspect and tweak product runtime settings prior to deployment. All fields will only affect these specific instances within the selected platform environment. They will not be saved if you remove and recreate them, nor will they be replicated to your other platform environments.

Note: If the vendor updates the software referenced by your chosen build — as is frequently the case with “evergreen” software version release tags such as “latest” — your platform settings will not be modified.

Any runtime parameters available to you are defined and implemented by the vendor, and with few exceptions are specific to the product. Consult the vendor source code, documentation and support materials for details.

Make sure all the “Deploy” check boxes are selected and click “Docker Stack” button. The system will generate and download a docker-compose.yml file. Now the real fun begins!

Go to the command line and run:

docker compose -f ~/Downloads/docker-compose.yml up --pull always --remove-orphans

The --pull always option will force checking for a more recent copy of the software version tags prior to running, while --remove-orphans will delete any abandoned containers and software-defined networks that you may have disabled since last spinning up the product stack. FHIR-candle should spin up and start. It may take a minute or so to fully boot.

Note: Vendors are required to provide, at minimum, images built to run on the x64 CPU architecture (AMD and Intel) with the Linux kernel. These will generally run on all Windows, macOS, and Linux operating systems as well as M-series ARM CPUs that ship with modern Apple computers, though may require adjustment of Docker Desktop settings depending on your environment. Namely, new Apple machines require Rosetta to be enabled if the product (or any of it’s bundled product dependencies) has not provided an ARM-based product build.

When fully started, FHIR-candle web UI should now be running at http://localhost:5826 and a FHIR base URL of http://localhost:5826/fhir/r4 (for r4), with no database needed!

Interacting with FHIR-candle