Stream: shorthand
Topic: GoFSH v0.3.0
Nick Freiter (Oct 30 2020 at 13:05):
Announcing GoFSH 0.3.0. This release focuses on defining constraints using Invariant
and Mapping
, to decrease the number of constraints that require usage of the ^
syntax.
GoFSH 0.3.0 contains the following enhancements and bug fixes:
- Generate
Invariant
definitions and correspondingobeys
rules fromElementdefinition.constraint
. Previously this information was captured using the^
syntax. - Generate
Mapping
definitions and corresponding->
rules fromElementdefinition.mapping
andStructureDefinition.mapping
. Previously this information was captured using the^
syntax. - Combine multiple
contains
rules into a singlecontains
rule which chains the contained extensions or slices using theand
keyword. - Detect and replace core FHIR resource URLs. Instead of generating FSH in which FHIR resources are referenced with their full URLs (e.g.
http://hl7.org/fhir/StructureDefinition/Patient
), GoFSH now generates FSH that references FHIR resources by name alone (e.g.Patient
). - Extract configuration input. Even when no ImplementationGuide resource is present in the input, a configuration file is extracted by finding the most likely configuration options, given the contents of the input resources. For example, if every input has
version
of1.2.0
, then the extracted configuration will use thatversion
.
For more information, see the release notes.
Last updated: Apr 12 2022 at 19:14 UTC