Stream: shorthand
Topic: SUSHI 2.0.0 Beta 2
Nick Freiter (Jul 01 2021 at 20:45):
Announcing SUSHI-2.0.0-beta.2. This beta release contains the following new features, enhancements, and bug fixes:
- Adds support for paths preceding insert rules
- Adds support for Binary Adjunct Files
- Supports a code value in the Value Set Filter operators
=
,in
, andnot-in
- NOTE: The use of a string values in the operators above is now deprecated
- Adds support for Logical Models and Resources to constrain nested paths of elements they defined
- Adds support for using FHIR R4B (4.1.0) as the FHIR version
- Adds support for constraining a canonical type to a specific canonical using the
Canonical
keyword- NOTE: Support for constraining to a canonical w/ a specific version is not yet supported
- Adds a warning when a custom resource is defined using the
Resource
keyword which is not in thehttp://hl7.org/fhir/StructureDefinition
domain - Fixes a bug so authors can specify a version when referencing a code from a FSH-defined CodeSystem
- Fixes a bug related to setting caret paths on code systems codes in a RuleSet
- Fixes a bug so that authors can set values on elements that are constrained to a choice of profiles
- NOTE: In this case, it will be assigned using the base resource type and a warning will be logged
Since this is a beta release, you must install it by specifying its version:
$ npm install -g fsh-sushi@2.0.0-beta.2
See the Release Notes for more details.
Jose Costa Teixeira (Jul 26 2021 at 12:49):
when is this planned to take over?
Jose Costa Teixeira (Jul 26 2021 at 12:49):
I have a session in a few days and I'd love to show the fancy LogicalModels
Chris Moesel (Jul 26 2021 at 13:36):
We've run into additional issues/limitations, so are currently working on a beta.3 release. So full non-beta release is probably still at least one week out. I'd say Aug 13 is our hard deadline for getting it out (on time for balloting), but I hope it's out before then.
Jose Costa Teixeira (Jul 26 2021 at 13:48):
(just because I couldn't make my github action to use the beta, so I'm stuck with a workaround...)
Chris Moesel (Jul 26 2021 at 15:32):
Oh... bummer. I'm sorry. You know about the fsh.ini
trick to tell IG Publisher to use a different version of SUSHI, right?
Jose Costa Teixeira (Jul 26 2021 at 17:00):
don't remember that. where/how/what?
Chris Moesel (Jul 26 2021 at 17:24):
It's at the very bottom of the release notes, but basically... create a fsh.ini
in your root folder. Edit it to have these contents:
[FSH]
sushi-version=2.0.0-beta.2
That will tell IG Publisher to download the beta 2 package (or whatever version you put there) and use that. Just don't forget to remove it once the release SUSHI 2.0.0 is released!
Jose Costa Teixeira (Jul 26 2021 at 19:37):
Is it possible to change the template in the sushi-config.yaml?
Chris Moesel (Jul 26 2021 at 20:39):
Is it possible to change the template in the sushi-config.yaml?
Not anymore. We were very strongly encouraged to just leave that to ig.ini
and not provide an alternate way to set it.
Jose Costa Teixeira (Jul 26 2021 at 21:07):
so sushi won't update ig.ini?
Jean Duteau (Jul 26 2021 at 21:10):
ig.ini is no longer a SUSHI-generated file
Jose Costa Teixeira (Jul 26 2021 at 21:12):
it is generated from sushi --init
Jean Duteau (Jul 26 2021 at 21:13):
as a way to get you started. it isn't touched by sushi after that
Jean Duteau (Jul 26 2021 at 21:14):
i.e. you are in full control of that file after the initial generation. (I don't use sushi --init so I didn't even know that was created)
Jose Costa Teixeira (Jul 26 2021 at 21:16):
right, so sushi won't update ig.ini. that's good
Last updated: Apr 12 2022 at 19:14 UTC