npm fsh-sushi 0.12.7
SUSHI 0.12.7

latest releases: 3.18.1, 3.18.0, 3.17.0...
5 years ago

SUSHI 0.12.7 contains the following enhancements and bug fixes:

  • No longer exports sparse differentials (#442)
  • Allows constraints on children of choice elements (details below)
  • Generates ids for ImplementationGuide.dependsOn (#445)
  • Considers child elements / extensions of primitives when counting cardinality (#393)
  • Reports an error when a profile declares itself as its own parent (#175)
  • Reports an error when authors attempt to add a duplicate slice name (#199)
  • Fixes issue that previously could result in slices having wrong cardinality (#450)
  • Correctly handles profiles of the Reference datatype (#451)
  • Replaces deprecated request library with current axios library (#344)
  • Fixes a typo in an error message (#417)
  • More FSH/fish puns (thanks @blangley28!)

Allows constraints on children of choice elements

While SUSHI already supported setting constraints on individual choices, it did not support setting constraints on children of the choice element itself (i.e., constraints that applied to common elements within the choice). For example, the following was not supported in previous versions of SUSHI:

* value[x].extension only SomeExtension named some-extension

SUSHI now supports this for paths that are on common ancestors of all the choices (which often includes extension, as in the example above).

Full Documentation

For additional documentation, refer to the FSH language reference.

Install or Update

To install or update to the latest version, run the following command:

$ npm install -g fsh-sushi

Don't miss a new fsh-sushi release

NewReleases is sending notifications on new releases.