Skip to content

SUSHI 2.0.0 Beta 3

Pre-release
Pre-release
Compare
Choose a tag to compare
@jafeltra jafeltra released this 28 Jul 20:06
· 335 commits to master since this release
18ef8b0

SUSHI 2.0.0-beta.3 is the third beta release for SUSHI 2.0.0. It contains the following enhancements and bug fixes:

  • Updates rule indentation to require that the first rule that sets context be aligned to the left of the document, with no preceding whitespace. Therefore, the first rule in a FSH entity must have no whitespace preceding it and only rules that are indented to use a previous rule's context can have leading whitespace. (#874)
  • Supports creating Profiles of LogicalModels (#857)
  • Supports loading predefined resources from nested folders within the IG template supported input folders (#786)
  • Adds support for checking the type of a StructureDefinition when assigning a value using the Canonical keyword (#870)
  • Properly sets context on rules with no path (such as a caret (^) paths) and on rules that use the . path (#866, #887)
    • Note: The . path is only allowed on top-level rules and cannot be indented
  • Fixes a bug to avoid changing the cardinality of optional slices when a value is assigned (#878)
  • Fixes a bug to allow aliases to be assigned to URLs with fragments (#872)

Full Documentation

For additional documentation, refer to FSH School's SUSHI documentation, the FSH STU1 specification, and/or the FSH current build specification.

Install or Update

NPM only installs non-stable releases when a tag or version number is specified. To install or update to this beta version of SUSHI, run the following command:

$ npm install -g [email protected]

To revert to the most recent stable (non-beta) release, run the following command:

$ npm install -g fsh-sushi

To check or confirm what version of SUSHI you have installed, you can run the following command:

$ sushi -v

Using SUSHI 2.0.0 Beta Releases in the Auto Build

The autobuild environment uses the latest stable version of SUSHI. To force the IG Publisher to use SUSHI 2.0.0-beta.3 when building your project (such as in the autobuild environment), create a fsh.ini file at the root of your project with the following contents:

[FSH]
sushi-version=2.0.0-beta.3