FHIR / sushi

SUSHI (aka "SUSHI Unshortens Short Hand Inputs") is a reference implementation command-line interpreter/compiler for FHIR Shorthand (FSH).
Apache License 2.0
145 stars 44 forks source link

Fall back to package.json when resolving "latest" version in IG #1423

Closed cmoesel closed 8 months ago

cmoesel commented 8 months ago

When a dependency uses the "latest" version in sushi-config.yaml, SUSHI must populate the generated IG JSON with the real version number (not "latest"). PR #1409 fixes this for dependency packages that contain an ImplementationGuide resource, but it does not address the case were a dependency package does not have an ImplementationGuide resource. In this case, we should fall back to the package's package.json file.

This was raised on Zulip here: https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/automatically.20get.20latest.20dependencies/near/419233182