FHIR Chat · npm package export · shorthand

Stream: shorthand

Topic: npm package export


view this post on Zulip Bas van den Heuvel (Nov 03 2021 at 12:07):

Can I use sushi to create a FHIR npm package? If so how do I do this?

view this post on Zulip David Pyke (Nov 03 2021 at 13:00):

Packaging for IGs is done via the IG Publisher. Sushi is just for FHIR Shorthand processing

view this post on Zulip Bas van den Heuvel (Nov 03 2021 at 13:18):

I know - in our case we use it to generate the resources in the package only. Running the IG publisher just for the NPM package takes a long time and I was wondering whether there was a quicker way.

view this post on Zulip Patrick Werner (Nov 03 2021 at 13:23):

you could use hapi-fhir-cli with the create-package command to create a package. I personally always use the IG Publisher, as it validates the content while creating the IG

view this post on Zulip Bas van den Heuvel (Nov 03 2021 at 13:36):

thx - I'll give it a try.

view this post on Zulip Dagem Hailemariam (Dec 28 2021 at 11:16):

Patrick Werner said:

you could use hapi-fhir-cli with the create-package command to create a package. I personally always use the IG Publisher, as it validates the content while creating the IG

Hey @Patrick Werner , I am trying to use hapi-fhir-cli's create-package command, "hapi-fhir-cli create-package -v r4 --name base --version 1.0.0", but its only generating a .tgz file with only a package.json file in its package folder when unzipped. What option do i need to add to the command to get it to include my conformance resources in it?


Last updated: Apr 12 2022 at 19:14 UTC