SUSHI 1.3.0 includes the following new features, enhancements, and bug fixes:
- Add capability for SUSHI to expand certain
ValueSets (details below) (#736) - Support all whitespace characters on quoted codes (#765)
- Support targeting an
Instancewith theCanonicalkeyword (#743) - Add a warning that is logged when resources are specified with
nullarray values (#486) - Fix referencing extensions by URL on
Instances (#674) - Fix overwriting of extension URL values on
Instances (#751) - Fix assignment of values to sliced children of an element (#748)
- Fix assignment of extensions to primitive elements (#752)
- Fix confusing error message observed on FSH Online (#750)
- Fix bugs causing repeated extensions to appear on
Instances (#759)
ValueSet Expansion
SUSHI now supports expansion of ValueSets in specific cases. To request a ValueSet expansion, the user can add the following two rules to the ValueSet which they wish to expand:
* ^expansion.parameter.name = "sushi-generated"
* ^expansion.parameter.valueBoolean = true
Expansion entails populating the ValueSet.expansion element. Expansion is only possible if the ValueSet.compose element contains some combination of specific codes, and CodeSystems which have CodeSystem.content set to complete. If the ValueSet is specified using filter operators, references other ValueSets, or references a CodeSystem that is not available to SUSHI, SUSHI will log an error and not attempt to expand the ValueSet.
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
To install or update to this release, run the following command:
$ npm install -g fsh-sushiTo revert to a previous stable release, run a command like the following:
$ npm install -g fsh-sushi@1.2.0To check or confirm what version of SUSHI you have installed, you can run the following command:
$ sushi -v