SUSHI 0.6.0
SUSHI 0.6.0 contains the following features and bug fixes:
- New: Value Sets
- Define and export ValueSets
- NOTE: Escape syntax (
^
) is currently not supported in ValueSets - ValueSet syntax: https://build.fhir.org/ig/HL7/fhir-shorthand/#defining-value-sets
- New: Code Systems
- Define and exporting CodeSystems
- NOTE: Escape syntax (
^
) is currently not supported in CodeSystems - CodeSystem syntax: https://build.fhir.org/ig/HL7/fhir-shorthand/#defining-code-systems
- Improved: Instances
- Assign references to other instances (e.g.,
patient = Reference(PatientBob)
) - Use slicenames in instance paths (e.g.,
component[systolic].valueQuantity = 110 'mm[Hg]'
) - Correctly serializes id and extension on primitive values
- Automatically adds profile URL to
meta.profile
array - Instance syntax: https://build.fhir.org/ig/HL7/fhir-shorthand/#defining-instances
- Assign references to other instances (e.g.,
- Improved: Profiles and Extensions
- Global Aliases (aliases no longer need to be defined in the same file)
- Package version (defined in
package.json
) used as defaultversion
in generated profiles/extensions - Better and safer handling of circular references
- Fixed slicing implementation of
BackboneElements
- Improved: Implementation Guide Generation
- Generated bash scripts (i.e.,
_updatePublisher.sh
,_genonce.sh
) executable on Mac - Dependencies in
package.json
properly translated intodependsOn
in ImplementionGuide JSON
- Generated bash scripts (i.e.,
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g fsh-sushi