FHIR Chat · SUSHI 1.0.0 Beta discussion · shorthand

Stream: shorthand

Topic: SUSHI 1.0.0 Beta discussion


view this post on Zulip Jose Costa Teixeira (Oct 03 2020 at 09:54):

some remarks / issues as I work with the new, nice, time-saving integration:

view this post on Zulip Jose Costa Teixeira (Oct 03 2020 at 09:55):

  1. Is this still needed? It's a warning, should be "info", right?
Sushi: warn  The FSHOnly property is set to true, so no output specific to IG creation will be generated. The following properties are unused and only relevant for IG creation: parameters, copyrightYear, releaseLabel, template, menu.

view this post on Zulip Jose Costa Teixeira (Oct 03 2020 at 09:55):

I have a some new of these

Exception in thread "main" java.lang.Error: Unable to continue because duplicate input resources were identified
        at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:3101)

view this post on Zulip Jose Costa Teixeira (Oct 03 2020 at 09:57):

@Chris Moesel the issue seems to be that Sushi generates a resource if it doesn't exist in input\resources but it doesn't look in vocabulary\resources

view this post on Zulip Jose Costa Teixeira (Oct 03 2020 at 09:57):

(and others).

view this post on Zulip Jose Costa Teixeira (Oct 03 2020 at 09:58):

Checking if a resource exists is done on full filename? should be on resource id, which is what the publisher looks at

view this post on Zulip Chris Moesel (Oct 04 2020 at 16:33):

  1. We consider it a warning because having those additional properties in the config is basically "dead code" for FSHOnly mode -- they do nothing. We'd rather people remove them, else they might be confused into thinking that changing those values somehow affects their project.

  2. Regarding the error -- yes, agreed -- that seems to be a bug in beta.1. We'll fix that. Thanks for reporting it. The desired behavior is that if the resource already exists in input/* (based on canonical URL), but there is also a FSH definition for it in input/fsh, then SUSHI should log a warning and _not_ generate the FSH one.


Last updated: Apr 12 2022 at 19:14 UTC