FHIR Chat · GoFSH 0.4.0 · shorthand

Stream: shorthand

Topic: GoFSH 0.4.0


view this post on Zulip Julia Afeltra (Dec 10 2020 at 21:06):

Announcing GoFSH 0.4.0 with the following enhancement and bug fixes:

  • Generate ValueSet definitions
  • Generate CodeSystem definitions
  • Generate Instance definitions, including Instances with Usage of example, definition, and inline
  • Export unsupported ValueSet and CodeSystem definitions as Instances
  • Generate Alias definitions and use in other FSH definitions
  • Extract dependencies from a provided ImplementationGuide resource
  • Update the output file structure to reflect SUSHI’s desired input structure of FSH Tanks
  • Use FSH grammar for Codes, Codings, and Quantities on Assignment Rules and Caret Value Rules
  • Generate config.yaml based on the ImplementationGuide resource in the ig.ini file if it is present

For more information, check out the Release Notes on GitHub.

view this post on Zulip Saul Kravitz (Dec 10 2020 at 21:28):

Hi @Julia Afeltra . This looks like great progress.

Can you share any info about things that GoFSH can NOT do at present?

view this post on Zulip Julia Afeltra (Dec 10 2020 at 23:06):

Hi Saul! GoFSH currently supports all of FHIR Shorthand. We're planning to add support for configuring the layout of your FSH output, potentially a tool to help authors check the output, and any bug fixes that come up before we release a 1.0.0 version.

view this post on Zulip David Hay (Dec 10 2020 at 23:14):

Does that include any resource instance? eg a Condition resource, or is it intended for conformance resources only?

view this post on Zulip David Hay (Dec 10 2020 at 23:15):

and - is there a callable service like sushi has? eg pass it an SD instance and get back FSH...

view this post on Zulip Chris Moesel (Dec 10 2020 at 23:46):

@David Hay -- it translates StructureDefinitions to Profile and Extension definitions, Value Sets to ValueSet definitions, Code Systems to CodeSystem definitions, and everything else into Instance definitions. It also creates Alias, Invariant, and Mapping definitions as necessary.

view this post on Zulip Chris Moesel (Dec 10 2020 at 23:47):

Currently it all dumps to one resources.fsh file, but in the next version you will be able to indicate what type of layout you want (for example, organized by conformance type, organized by base resource type, etc).

view this post on Zulip Chris Moesel (Dec 10 2020 at 23:48):

We don't yet expose an API for it, sorry!

view this post on Zulip David Hay (Dec 11 2020 at 17:21):

Sounds good - I'll have a play! I'm hoping that the 'yet' in the last sentence means an API is on the roadmap?

view this post on Zulip Chris Moesel (Dec 11 2020 at 17:26):

I think we could be persuaded. ;-)

view this post on Zulip David Hay (Dec 11 2020 at 17:36):

Looking forward to showing you what I've been doing with the other API :)


Last updated: Apr 12 2022 at 19:14 UTC