Skip to content

Releases: FHIR/fhir-package-loader

FPL 0.3.0

15 May 16:27
e4e9143
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.3.0

FPL 0.2.0

24 Mar 17:32
70e1db5
Compare
Choose a tag to compare

What's Changed

  • Restrict branches to master or main when version is current by @jafeltra in #3
  • Add support for current$mybranch to specify other branches in the CI build by @cmoesel in #8
  • Download current builds using branch-specific URLs by @cmoesel in #4
  • Improve support for HTTP proxies by @guhanthuran in #5
  • Avoid returning duplicate definitions by @mint-thompson in #6
  • Bump Node.js to v16 by @cmoesel in #7

New Contributors

Full Changelog: v0.1.0...v0.2.0

FPL 0.1.0

11 Apr 17:43
a495874
Compare
Choose a tag to compare

FPL 0.1.0 is the initial release of FHIR Package Loader (FPL), a library for downloading FHIR packages locally and loading its definitions into memory. This library can be used within JavaScript or TypeScript projects, or it can be used through a Command Line Interface (CLI). For more details on the arguments and options available on the command line, see the README. FPL also provides an API, which can be used to download packages programmatically. For more information on how to use the API, see the README.

The initial release provides an initial implementation for downloading packages, but it is subject to change in future releases.

To install FPL, first install Node.js, then run:

npm install -g fhir-package-loader

After installing fhir-package-loader, fpl should be in your path:

$ fpl --help
Usage: fpl [options] [command]

CLI for downloading FHIR packages

Options:
  -v, --version                        output the version number
  -h, --help                           display help for command

Commands:
  install [options] <fhirPackages...>  download and unzip specified FHIR packages
  help [command]                       display help for command

Examples:
  fpl install hl7.fhir.us.core@current
  fpl install [email protected] [email protected] --cachePath ./myProject

FPL can be run to download specified packages to either the FHIR Cache or another specified directory locally:

$ fpl install hl7.fhir.us.core@current
info  Checking <HOME>/.fhir/packages for hl7.fhir.us.core#current...
info  Did not find hl7.fhir.us.core#current in <HOME>/.fhir/packages.
info  Downloading hl7.fhir.us.core#current... https://build.fhir.org/ig/HL7/US-Core/package.tgz
info  Downloaded hl7.fhir.us.core#current
info  Loaded package hl7.fhir.us.core#current