SUSHI 3.8.0
SUSHI 3.8.0 contains the following enhancements and bug fixes:
What's Changed
- Assign FSH Code or Reference to CodeableReference element by @mint-thompson in #1428 (details below)
- Quantity may omit numeric value by @mint-thompson in #1430 (details below)
- Export new mappings only (or at top of list in snapshot mode) by @jafeltra in #1436
- Allow path-resource paths with a wildcard by @jafeltra in #1427
- Warn when aliases have unsupported characters or only
$
by @jafeltra in #1429 and #1437 - Handle when sliced element is not available when unfolding by @mint-thompson in #1434
- Combine included concepts when exporting ValueSet by @mint-thompson in #1432
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