Stream: shorthand
Topic: Sushi
David Hay (Jan 11 2020 at 07:46):
Is it possible to record somehow in the IG which features are actually implemented in sushi? Or will that add significant overhead to the dev process...
Jose Costa Teixeira (Jan 11 2020 at 07:59):
you mean like a backlog / progress indicator?
David Hay (Jan 11 2020 at 08:07):
Yeah something like that - so you know which features can be played with (without reading through the release notes or just trying it out)...
Jose Costa Teixeira (Jan 11 2020 at 08:11):
I think that is important for all tools, so I agree
Jose Costa Teixeira (Jan 11 2020 at 08:13):
that also will help us see which features we can help with, if we want to roll up our sleeves
David Hay (Jan 11 2020 at 19:37):
And to test...
Jose Costa Teixeira (Jan 12 2020 at 06:31):
and to document...
Chris Moesel (Jan 13 2020 at 21:22):
Yes, that's probably a good idea. I think we can add an item to document current state in the next sprint. @Mark Kramer -- any concerns? I imagine you'd probably be an advocate and wish we had already done it. ;-)
Mark Kramer (Jan 14 2020 at 00:33):
Certainly a good idea. A must-do! On my list...
Mark Kramer (Jan 14 2020 at 16:37):
@David Hay I put icons into the documentation to indicate what has been implemented, what just exists in the FSH spec but not SUSHI, and what we haven't added to FSH yet. https://build.fhir.org/ig/HL7/fhir-shorthand/
David Hay (Jan 14 2020 at 16:55):
Great!
Jose Costa Teixeira (Jan 24 2020 at 09:52):
pasted image
Sushi is in!
Jose Costa Teixeira (Jan 24 2020 at 09:53):
Now I'd like to see more control of where to drop the output files (e.g. I don't use the resources folder), among other things.
Ward Weistra (Jan 28 2020 at 03:33):
Nice @Jose Costa Teixeira, how do you get this in your context menu?
Jose Costa Teixeira (Jan 28 2020 at 13:05):
it's a couple of registry changes, I will post them somewhere - tomorrow is ok?
Jose Costa Teixeira (Jan 30 2020 at 16:38):
https://gist.github.com/costateixeira/bbdf496575603c2840771982fbd5e4a9
Jose Costa Teixeira (Jan 30 2020 at 16:39):
This .reg file adds the tools to my context menu, when I right-click on a folder.
Shovan Roy (Feb 13 2020 at 21:20):
Extending the discussion from https://chat.fhir.org/#narrow/stream/179166-implementers/topic/Sushi
thanks @Chris Moesel . I'm using the latest version of Sushi (0.8.0) and I'm getting the following error:
error: Failed to load hl7.fhir.au.base#2.0.0
error: 404 - The package was not found.
Is there anything I'm missing as configuration? would it work if I manually download the package at .fhir folder (windows machine)?
Grahame Grieve (Feb 13 2020 at 21:42):
@Chris Moesel it's time to switch to packages.fhir.org. I'm doing that now
Chris Moesel (Feb 13 2020 at 21:56):
@Grahame Grieve -- we are using packages.fhir.org. In Shovan's example above, we're trying to find the package at http://packages.fhir.org/hl7.fhir.au.base/2.0.0 -- which is not successful. It doesn't look like hl7.fhir.au.base
is on packages.fhir.org at all...
When you said "it's time to switch to packages.fhir.org," did you mean that SUSHI needs to do something different, or did you mean that you need to move hl7.fhir.au.base
to packages.fhir.org?
Grahame Grieve (Feb 13 2020 at 21:59):
I didn't realise you were already using packages.fhir.org.
Grahame Grieve (Feb 13 2020 at 22:00):
I'll see what I can do to get the au packages onto packages.fhir.org - I hadn't run into that problem yet
Chris Moesel (Feb 13 2020 at 22:01):
@Shovan Roy -- as noted above, we're not able to find that package on packages.fhir.org. Until that is worked out... If you have that package already in your FHIR cache (the .fhir
folder), then SUSHI won't try to download it and will use the one there (as long as it is the right version).
Chris Moesel (Feb 13 2020 at 22:05):
@Grahame Grieve -- we're not doing anything fancy like using the search API (no need for it). We're just constructing the URL for the package directly, as specified in the Package download docs.
Grahame Grieve (Feb 13 2020 at 22:06):
I need to use the search api for canonical -> id.
Chris Moesel (Feb 13 2020 at 22:30):
Ah.
Shovan Roy (Feb 13 2020 at 22:50):
thanks @Chris Moesel . I tried with a package which already exists in my local cache. Now I'm getting the following error
pasted image
pasted image
pasted image
Ward Weistra (Feb 14 2020 at 08:44):
@Grahame Grieve I believe this is related to the work you're doing with packages.ini
in the .fhir cache and the URLs in there? Or is it really sushi giving this error?
Chris Moesel (Feb 14 2020 at 12:59):
The error Failed to add hl7.fhir.au.base:1.1.1 to ImplementationGuide instance. Could not determine its canonical URL from the FHIR cache.
is coming from SUSHI. That means that we either could not find the ImplementationGuide.json
file in that package or we found one, but its packageId
and/or version
in the ImplementationGuide.json
did not match the package ID and version in the package.json
for the FSH project.
Chris Moesel (Feb 14 2020 at 13:01):
@Shovan Roy -- can you confirm that the hl7.fhir.au.base#1.1.1
in your cache has an ImplementationGuide.json
in it, and that file declares: "packageId": "hl7.fhir.au.base"
and "version": "1.1.1"
?
Chris Moesel (Feb 14 2020 at 13:03):
Also, I apologize for the inconvenience that this is causing, and that the timezone difference isn't making the debugging process very efficient!
Chris Moesel (Feb 14 2020 at 16:32):
@Shovan Roy -- I reproduced this on my system and discovered a few things.
- First of all, according to the history, AU Base 1.1.1 is based on STU3. SUSHI supports only R4, so you need to use AU Base 2.0.x.
- Second, even though the history shows AU Base 2.0.0, when you follow its link you land at AU Base 2.0.1 (not even listed in the history). Someone might want to update that history page.
- So... if I manually download the 2.0.1 package and put it in my FHIR cache (and update my
package.json
to 2.0.1 as well) then it works. I'll include a few more details below.
Chris Moesel (Feb 14 2020 at 16:35):
Steps I performed to get this working:
- Changed
package.json
dependencies to include"hl7.fhir.au.base":"2.0.1"
- Created a
hl7.fhir.au.base#2.0.1
folder in my.fhir/packages
cache - Downloaded hl7.org.au/fhir/base/2019Aug/package.tgz
- Uzipped the
package.tgz
into.fhir/packages/hl7.fhir.au.base#2.0.1
. It should result in structure like this:
$ tree -d ~/.fhir/packages/hl7.fhir.au.base#2.0.1/ /Users/cmoesel/.fhir/packages/hl7.fhir.au.base#2.0.1/ ├── example ├── other ├── package └── xml
After that, SUSHI can find and properly process the AU Base dependency.
Grahame Grieve (Feb 15 2020 at 05:08):
I tried to work on the hl7.org.au server yesterday but it immediately cut me off with a message that there was too many connections from my IP. Once I can get working access, I can fix all this up and register the packages in the package system
Grahame Grieve (Feb 15 2020 at 05:09):
I tried to work on the hl7.org.au server yesterday but it immediately cut me off with a message that there was too many connections from my IP. Once I can get working access, I can fix all this up and register the packages in the package system
Grahame Grieve (Feb 15 2020 at 05:09):
I tried to work on the hl7.org.au server yesterday but it immediately cut me off with a message that there was too many connections from my IP. Once I can get working access, I can fix all this up and register the packages in the package system
Shovan Roy (Feb 16 2020 at 21:31):
thanks @Chris Moesel , let give it a try. I was using 1.1.1 package since it was already downloaded at my local. let me follow your steps and try this while @Grahame Grieve is looking at fixing the actual pacakge.
Last updated: Apr 12 2022 at 19:14 UTC