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

Allow extensions on configured dependencies #1420

Closed jafeltra closed 8 months ago

jafeltra commented 8 months ago

Fixes #1414

This PR allows extension on the configured dependencies list in sushi-config.yaml. Extensions are then passed on to the IG JSON. No additional manipulation or validation is done.

There are some examples in tests, but if you want to try this in a project, add the following (or something similar) to your sushi-config.yaml:

dependencies:
  hl7.fhir.us.core:
    id: us core
    version: 6.1.0
    extension:
      - url: http://hl7.org/fhir/tools/StructureDefinition/package-scope
        valueString: myscope