HL7 / fhir-ig-publisher

Source code for the IG publisher
Apache License 2.0
69 stars 57 forks source link

Expand also externally defined ValueSets #306

Open costateixeira opened 3 years ago

costateixeira commented 3 years ago

Currently, the IG Publisher does an expansion of the valuesets in the IG. It doesn't seem to do the same for valuesets that are used in the IG but are defined elsewhere.

It would be good to have those VS expanded - for example when they are used in a Questionnaire answerValueSet.

Is it possible to do something like adding a feature to expand also the externally defined valuesets (perhaps with a IG parameter "expand-all-valuesets")?

lmckenzi commented 2 years ago

Need @grahamegrieve's opinion on whether it's reasonable to add expansions from dependency IGs into the expansion file

lmckenzi commented 2 years ago

Grahame's position is that the expansions.[xml/json] and accompanying .zip files shouldn't exist at all. @grahamegrieve will start a conversation on the IG Creation stream about the possibility of removing these files entirely. Assertion is that frozen expansions are not safe and terminology service should be used instead.