Tool : FHIR Package Builder 2019-01-23T14:23:50+00:00

Tool : Package Builder Tool

Functionality Overview

The FHIR Package Builder tool will create a ZIP file of all the FHIR Assets listed within an NHS Digital style Message Definition file. The ZIP file will contain the following types of assets.

  • Structure Definitions (Resources)
  • Structure Definitions (Extensions)
  • ValueSets
  • CodeSystems

The package created can be configured to have the assets included either as XML files, JSON files or both. The tool requires a simple configuration file, an example of which is shown below.

Copy to Clipboard

Message Definition File

The full URL of the message definition file that the package is to be built from.

(Note – As this is driven by NHS Digital style Message Definition files, it will only work for them).

Copy to Clipboard

Create XML output?

Set to true or false to denote whether the package should contain assets in XML format

Copy to Clipboard

Create JSON output?

Set to true or false to denote whether the package should contain assets in JSON format

Copy to Clipboard

Running the tool

The tool has been developed using  .NET Core. As such it should run on any operating system that supports .NET Core. For ease of use it has been published as a Windows 64 bit executable.

To run the tool:

  1. Download the tool (FREE) using the download links below
  2. Unpack the ZIP file
  3. Ensure you have created a config file as per the instructions above
  4. Open a Command Prompt in the directory where you have placed the tool
  5. Execute the tool as follows (assuming your config file is called ‘config.json’)
Copy to Clipboard

Tool Outputs

Message Definition file – messagedef.xml

The primary output of the tool is the package file. This is a zip file that contains within in it a separate folder for StructureDefinitions, ValueSets and CodeSytems

Log files – buidLog{yyyymmdd}.txt

This is the output of the processing required to build the package file. If any errors occur details will be within this file.

Technology Inside

The PackageBuilder application was created as a means to test that MessageDefinition files from NHS Digital could be leveraged for practical use. To create the packages then the ReSTful interface for the NHS Digital FHIR Reference Server is utilised, using the history aware GET function. The different technology components used within the application include:

C#
.NET
FHIR STU3
.NET CORE

Release History

The recent releases of the application include the following enhancements and fixes.

Download

Download the product now

VERSION 1.1.0.0 is currently available as a free download for use by NHS Digital


The public version of this tool is available now. For those participating in the private beta then use the download link already supplied.

Download