SUSHI 3.14.0 (almost pi) is a minor release with several enhancements and bug fixes. The most notable changes are:
- When resolving the
Canonical
keyword (e.g.,Canonical(MyResource)
), SUSHI now considers all canonical resources in your appropriateinput/*
folders and dependency packages. Previous versions only resolved canonicals for StructureDefinitions, ValueSets, and CodeSystems. - When resolving the
Canonical
keyword, SUSHI will consider the target type (where the canonical is being assigned), choosing the appropriate resolution when there are multiple matches. Previous versions of SUSHI always selected the first match, even if it was of the wrong type. - SUSHI now properly encodes URLs for cross-version extensions representing choice elements (i.e., elements with names ending in
[x]
). For example, the cross-version extension for R5'sQuestionnaire.versionAlgorithm[x]
now correctly specifies its URL ashttp://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm%5Bx%5D
. - The automatic
hl7.fhir.uv.tools
dependency now resolves to the latest published release-specific version of the package (e.g.,hl7.fhir.uv.tools.r4#0.3.0
). This aligns more closely with the behavior of the IG Publisher.
What's Changed
- Support fishing all resource types from dependency packages and input/* by @cmoesel in #1548
- URL Encode Cross-Version Extension URLs by @cmoesel in #1549
- Use latest hl7.fhir.uv.tools release-specific package by @cmoesel in #1551
- Improve error message for ValueSet compose component without any concept by @KaelynJefferson in #1540
- Check exported resources for presence of multiple choice values by @mint-thompson in #1537
- Entities with same name by @KaelynJefferson in #1528
Install or Update
SUSHI 3.14.0 is the latest stable release of fsh-sushi. To install or update to SUSHI 3.14.0, run the following command:
$ npm install -g fsh-sushi
To revert to the previous SUSHI stable release, 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.13.1...v3.14.0