Skip to content

SUSHI 2.9.0

Compare
Choose a tag to compare
@cmoesel cmoesel released this 21 Feb 20:10
· 178 commits to master since this release
0486bc0

What's Changed

Details

Allow Logical Models and Resources to constrain inherited elements

In prior versions of SUSHI, SUSHI prevented authors from constraining inherited elements in logical models and custom resources. Based on discussions with the FHIR team and clarifications in the specification, we have lifted this restriction. Authors can now constrain inherited elements in logical models and custom resources. Slicing, however, is still not allowed in either case.

Support IG R5 properties in R4 IGs

FHIR R5 added several new properties in the Implementation Guide resource. To support a consistent authoring experience, IG authors can reference these new properties in sushi-config.yaml for R5 IGs and R4 IGs. When used in R4 IGs, the property will be translated into the corresponding R4 property or an interversion extension. Authors should note, however, that in some cases the IG Publisher may not yet use these properties in an R4 context.

Automatically load hl7.terminology package

The hl7.terminology package (a.k.a. THO) defines Code Systems and Value Sets that are used by HL7 standards and implementation guides. Since these terminology definitions are considered a core aspect of standards and IGs, they are loaded by default. The IG Publisher already does this; now SUSHI does it as well. Normally, the latest release of hl7.terminology.r4 is loaded, but authors can override this by explicitly adding a hl7.terminology, hl7.terminology.r4, or hl7.terminology.r5 dependency (to a specific version) in their sushi-config.yaml file.

When this dependency is automatically added, failure to download it is considered only a warning and SUSHI proceeds as normal.

To install or update, run:

npm install -g fsh-sushi

Full Changelog: v2.8.0...v2.9.0