FHIR Chat · SUSHI 0.15.0 · shorthand

Stream: shorthand

Topic: SUSHI 0.15.0


view this post on Zulip Chris Moesel (Jul 24 2020 at 20:30):

Announcing SUSHI 0.15.0, with the following enhancements and bug fixes:

  • New sushi --init capability to kickstart a new SUSHI project (#527)
  • Supports Bring-Your-Own-XML resources (#444)
  • Supports new Canonical keyword (#519 and #536)
  • No longer copies hidden files from ig-data (#350)
  • Now removes only certain top-level extensions from parent definitions (#534)
  • Improves error descriptions for parsing errors related to whitespace around symbolic keywords (#318)
  • sushi -v now reports the SUSHI version and the FHIR Shorthand version it implements
  • Fixes bug related to referencing contained inline resources (#525)
  • Fixes bug with using CodeSystems in code definitions within caret rules (#516)
  • Fixes bug with conflicting extension names (#531)

See the Release Notes for details!

view this post on Zulip David Hay (Jul 25 2020 at 01:52):

A treat every second friday :). (Or Saturday for me - I can't help it if NZ is ahead of everyone else :) )

view this post on Zulip Jean Duteau (Jul 25 2020 at 02:22):

i always say that I'm holier than many people on earth because I have two less Fridays having flown on Thursday to NZ and totally skipping the Friday. And then flying home on Sunday getting me two extra Sundays

view this post on Zulip Jose Costa Teixeira (Jul 25 2020 at 15:49):

how does BYOJ work? I have my patient profile in json and I want to use sushi to create many examples of that.
Should(n't) I just add my existing json files to the fsh folder?

view this post on Zulip Chris Moesel (Jul 26 2020 at 16:38):

@Jose Costa Teixeira -- I have a feeling you're not going to like this answer, but... You put your BYOJ or BYOX files in ig-data/input/{resources|profiles|extensions|vocabulary|etc.}. SUSHI will then process the file, allowing you to reference it in FSH, and copy it over to the real input/{subfolder} for IG Publisher processing.

view this post on Zulip Jose Costa Teixeira (Jul 26 2020 at 17:59):

regardless of the folder locations, what I'd like to know is if I can reference my BYOx in my fsh files:
e.g. I have a BePatient profile in json, and in my sushi i need to say * subject only(BePatient)

view this post on Zulip Jose Costa Teixeira (Jul 26 2020 at 17:59):

that would save me a ton of work

view this post on Zulip David Hay (Jul 26 2020 at 18:02):

sounds like it...

view this post on Zulip Jose Costa Teixeira (Jul 26 2020 at 18:11):

meanwhile i tried, doesn't work

view this post on Zulip David Hay (Jul 26 2020 at 18:14):

bother...

view this post on Zulip Nick Freiter (Jul 27 2020 at 12:39):

@Jose Costa Teixeira what folder is the BePatient json in? It can't just be in the fsh folder, it has to be in one of the folders Chris mentioned. If it is in one of those folders and you still get errors, what is the error you get? Do you have any other info so we can try to replicate it not working?

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:44):

I did put it in the build/input/profiles folder. then when I do sushi ., sushi complains

view this post on Zulip David Pyke (Jul 27 2020 at 12:46):

should be in ig-data/input/profiles

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:46):

ah dang

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:48):

which I do not have nor wish to have, because that is not the folder structure I use.

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:50):

ok that works now (thanks @Nick Freiter and @David Pyke )
Sorry my brain ignores the ig-data folder - sorry for missing your explanation because of that, @Chris Moesel

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:51):

that folder structure is something that still needs to be cleared, right?
And if this awesome feature is not a good trigger for us to work on that, I don't know what is.

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:53):

I have my sushi stuff in a igroot/input/shorthand folder (because using a folder called fsh is like feeding it after midnight in the bath)

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:54):

and I manually need to copy whatever I want from sushi output into my IG input.

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:54):

I'm ok with manual work at this moment because for the CI i deactivate sushi run. but it's a shame

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 12:55):

But in terms of Sushi release, my feedback is - awesome feature! thanks!

view this post on Zulip Chris Moesel (Jul 27 2020 at 13:02):

Jose Costa Teixeira said:

Sorry my brain ignores the ig-data folder - sorry for missing your explanation because of that, Chris Moesel

Ha. That's why I prefaced my answer with "I have a feeling you're not going to like this answer, but..." I know you're not a fan of ig-data!

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 13:04):

(It only took me a few days to understand what you meant - means i'm not that tired or lost :grinning: )


Last updated: Apr 12 2022 at 19:14 UTC