SUSHI 0.16.0 contains the following enhancements and bug fixes:
- Supports using ImplementationGuide resource as configuration for FSHOnly projects (#577) (details below)
- Improves logging message when running in "IG Publisher Integration" mode (#555)
- Detects conflicting fixed values on a parent w/ existing fixed values on children (#560)
- Does not inherit
structuredefinition-summaryextensions from parent profiles (#582) - Fixes element id when using
containsto re-slice a slice (#542) - Fixes type constraint handling for special FHIRPath primitive types (#543)
- Fixes ignored slicing rules when constraining types (#564)
- Fixes confusing error message re: copyrightYear, releaseLabel, and parameters (#553)
- Fixes handling of hidden files in
ig-data/inputsubfolders (thanks, @masnick!) (#580) - New puns (thanks, Nicole Ng and Ammu Irivinti)!
Using ImplementationGuide Resource as Configuration for FSHOnly Projects
FSHOnly IGs no longer need to provide a config.yaml file. If SUSHI does not detect a config.yaml file it will look for an ImplementationGuide resource using the following approach:
- If
ig.iniexists in the root folder, it will use theigproperty to find the corresponding ImplementationGuide resource - If
ig.inidoes not exist or does not contain anigproperty, it will search ininputfor an ImplementationGuide resource- if exactly one ImplementationGuide resource is found, it will use it; otherwise it will produce an error and exit
Once an ImplementationGuide resource is found, SUSHI will extract the following configuration parameters from the resource:
canonicalversionfhirVersiondependencies
It will then run SUSHI in "FSHOnly" mode to produce FHIR resources using the extracted configuration.
Full Documentation
For additional documentation, refer to FSH School and/or the FSH specification.
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g fsh-sushi