SUSHI 3.4.0
What's Changed
- Support allowed R5 resources in R4/R4B IGs by @cmoesel in #1350 (details below)
- Use title, name, and description values in IG resource list by @mint-thompson in #1339 (details below)
- Update automatic dependencies by @cmoesel in #1342 (details below)
- Improve performance with Code Systems and Value Sets by @jafeltra in #1344
- Handle context StructureDefinition without derivation by @mint-thompson in #1348
- Improve parsing of date-like names by @cmoesel in #1352
- FshToFhir API: Process logicals by @mrcerf in #1345
- FshToFhir API: Process resources by @jafeltra in #1349
- Update regression to use FSHFinder as source (developer-facing change) by @cmoesel in #1338
- Update type signature for loadAutomaticDependencies (developer-facing change) by @mint-thompson in #1346
- Fix typo in comment (developer-facing change) by @masnick in #1343
- v3.4.0 by @cmoesel in #1354
Support allowed R5 resources in R4/R4B IGs
To better support emerging IG authoring features, a subset of R5 resources can be used in R4 and R4B IGs. Authors can create instances of these resources, but may not profile them. This feature has been available in the IG Publisher previously and is now available in SUSHI. Authors may now use FSH to define instances of the following R5 resources in R4 and R4B IGs:
ActorDefinition
Requirements
SubscriptionTopic
(R4 only; R4B uses the R4BSubscriptionTopic
)TestPlan
Use title, name, and description values in IG resource list
When SUSHI creates the ImplementationGuide
resource for an IG, it generates the resource list based on the items defined in the IG (or supplied in input/*
). Since each resource in the list needs a name and description specified, SUSHI determines the appropriate name and description from the resource metadata. Prior to SUSHI 3.4.0, SUSHI only extracted metadata from FSH keyword values; now SUSHI will extract metadata from the title
, name
, or description
resource elements when Title:
or Description:
keywords are not present.
With this change, authors may notice that their resources have more meaningful or user-friendly names in the IG's generated table of contents. In addition, the ordering of the resources in the table of contents may change since the default sort order is by name.
Update automatic dependencies
SUSHI now loads automatic dependencies in a way that is more consistent with the IG Publisher's approach:
- R4 and R4B IGs auto-load
hl7.fhir.uv.tools
(current),hl7.terminology.r4
(latest release), andhl7.fhir.uv.extensions.r4
(latest release) - R5 IGs auto-load
hl7.fhir.uv.tools
(current),hl7.terminology.r5
(latest release), andhl7.fhir.uv.extensions.r5
(latest release)
New Contributors
- @mrcerf made their first contribution in #1345
Install or Update
SUSHI 3.4.0 is the latest stable release of fsh-sushi. To install or update to SUSHI 3.4.0, run the following command:
$ npm install -g fsh-sushi
To revert to the previous SUSHI stable release (3.3.3), 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.3.3...v3.4.0