Skip to content

SUSHI 3.8.0

Compare
Choose a tag to compare
@jafeltra jafeltra released this 15 Mar 17:09
· 40 commits to master since this release
466cd7b

SUSHI 3.8.0 contains the following enhancements and bug fixes:

What's Changed

Assign FSH Code or Reference to CodeableReference element

Authors can now assign a FSH Coding or reference directly to CodeableReference types. Previously, authors needed to access either the concept or reference portions of the CodeableReference directly to assign values. Now, the top level CodeableReference element can be used instead.

For example, to assign the concept and reference properties of a code element that is a CodeableReference type, the following rules can be used:

* code = $SCT#1003754000 "Natural rubber latex (substance)"
* code = Reference(NaturalLatexSubstanceDefinitionExample)

These two rules are equivalent to the following rules that assign the values directly:

* code.concept = $SCT#1003754000 "Natural rubber latex (substance)"
* code.reference = Reference(NaturalLatexSubstanceDefinitionExample)

For more information and examples, see the Assignments with CodeableReference Data Type section of the FSH 3.0.0 Current Build Specification.

Quantity may omit numeric value

Authors can now assign the units of measure without assigning a value. Authors can specify the units using the FSH syntax for UCUM units and omit the value. For example, you can se the units of Observation.valueQuantity to millimeters using UCUM units and a display string, without setting a value, using the following rule:

* valueQuantity = 'mm' "millimeter"

For more details on this syntax, see the Assignments with the Quantity Data Type section of the FSH 3.0.0 Current Build Specification.

Install or Update

SUSHI 3.8.0 is the latest stable release of fsh-sushi. To install or update to SUSHI 3.8.0, run the following command:

$ npm install -g fsh-sushi

To revert to the previous SUSHI stable release (3.7.0), run the following command:

$ npm install -g [email protected]

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

$ sushi -v

Full Changelog: v3.7.0...v3.8.0