npm fsh-sushi 0.9.0
SUSHI 0.9.0

latest releases: 3.18.0, 3.17.0, 3.16.5...
6 years ago

SUSHI 0.9.0 contains the following features, enhancements, changes, and bug fixes:

  • Exports results into type-specific folders (as defined in Using IG Templates)
    • Currently supports: profiles, extensions, vocabulary, and examples
  • Generates StructureDefinitions without snapshot elements by default (#186)
    • This is the FHIR-recommended approach for providing input to the IG Publisher
    • This addresses several other bugs that were caused by providing snapshot data (#170, #128)
    • Users can keep the snapshot by using SUSHI with the -s or --snapshot flag
  • Automatically applies value[x] 0..0 to complex extensions and extension 0..0 to simple extensions (#183)
    • Currently supported for top-level value[x] and extensions of named extensions (not inlined extensions)
  • Adds support for code system URLs containing # by allowing authors to escape # (#180)
    • e.g., http://systems.org\#system1#my-code
  • Fixes differential bug that didn't include slice names in sparse slice differentials (#204)
  • Checks to ensure that fixed values aren't already fixed by a parent pattern (#84)
  • Adds support for Description: keyword on Instances (descriptions are reflected in rendered IG pages)
  • Allows authors to add extensions to instances even when the profile doesn't explicitly specify them (#188)
  • Reports errors when instances do not provide required (1..1) values (#206)
  • Allows authors to provide their own files in ig-data/input/includes (including menu.xml)
  • Allows authors to force pages to be listed in a certain order by prefixing page names with a number and underscore
    • e.g., 1_MyFirstPage.md, 2_MySecondPage.md, etc.
  • Changes the default index page title to: Home
  • Uses the ig.ini properties copyrightyear and ballotstatus to populate the ImplementationGuide.definition.parameter values for copyrightyear and releaselabel
  • Exits with a non-success code when there are errors (useful for CI)

NOTE: Implementation Guide configuration is still being designed and developed. Features specific to configuring or assembling Implementation Guide content are expected to change in future versions.

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.