FHIR Chat · GoFSH v0.3.0 · shorthand

Stream: shorthand

Topic: GoFSH v0.3.0


view this post on Zulip 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 corresponding obeys rules from Elementdefinition.constraint. Previously this information was captured using the ^ syntax.
  • Generate Mapping definitions and corresponding -> rules from Elementdefinition.mapping and StructureDefinition.mapping. Previously this information was captured using the ^ syntax.
  • Combine multiple contains rules into a single contains rule which chains the contained extensions or slices using the and 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 of 1.2.0, then the extracted configuration will use that version.

For more information, see the release notes.


Last updated: Apr 12 2022 at 19:14 UTC