npm fsh-sushi 1.3.1
SUSHI 1.3.1

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

SUSHI 1.3.1 includes the following enhancements and bug fixes:

  • Improved support for R5 CodeableReference type (details below)
  • Don't export untyped value[x] properties in instances (#760)
  • Fix bug that caused arrays to sometimes be exported as single items (#776)
  • Fix handling of only rules when profiles are applied to elements with existing slices (#769)
  • Fix typos in logging statements (#779)

Improved Support for R5 CodeableReference Type

SUSHI now provides improved support for the FHIR R5 CodeableReference type. Authors can now apply bindings directly to CodeableReferences and directly constrain types on CodeableReferences. In the following example, we constrain Substance.code, which is a CodeableReference(SubstanceDefinition):

Profile: LatexSubstance
Parent: Substance
// restrict code concept to LatexCodes value set
* code from LatexCodes
// restrict code reference from SubstanceDefinition to LatexSubstanceDefinition profile
* code only Reference(LatexSubstanceDefinition)

Note that in an Instance, authors cannot assign a CodeableReference directly, but rather, should assign one (or both) of its parts. For example:

Instance: MyLatexSubstanceExample
InstanceOf: LatexSubstance
* code.concept = SCT#1003754000 "Natural rubber latex (substance)"
* code.reference = Reference(MyNaturalLatexDefinitionExample)

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-sushi

To revert to a previous stable release, run a command like the following:

$ npm install -g fsh-sushi@1.3.0

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

$ sushi -v

Don't miss a new fsh-sushi release

NewReleases is sending notifications on new releases.