Stream: IG creation
Topic: external value sets in an IG
Sean McIlvenna (Mar 13 2019 at 20:07):
How do I properly reference external value sets? For example, I have an implementation guide, which has a value set that is a grouping value set to other (external) value sets. If I don't include the external value sets in the IG package, then the IG Publisher gives errors about the fact that it can't find the external value sets. If I include the value sets in my implementation guide, then it errors about the canonical url of the implementation guide being different from the value sets... So, what do I do?
David Pyke (Mar 13 2019 at 20:09):
If you're using a registered set, use the URL here: http://hl7.org/fhir/terminologies-systems.html If not, I've had to use the OID for the codesystem
Sean McIlvenna (Mar 13 2019 at 20:13):
I'm talking about value sets, though... not code systems
Sean McIlvenna (Mar 13 2019 at 20:13):
the value set in my IG includes other value sets not part of my IG
Sean McIlvenna (Mar 13 2019 at 20:18):
I've tried placing the external value sets in my source/resources/valueset folder, but the ig publisher doesn't seem to find them there, either
Sean McIlvenna (Mar 13 2019 at 20:19):
if I reference the external value set in my ImplementationGuide.definition.resource list, then it complains about the value set's urls not matching the implementation guide's canonical url
Sean McIlvenna (Mar 13 2019 at 20:19):
so, I just need to figure out what to do with these external value sets so that the ig publisher knows about them, but so that they aren't directly included in the IG itself
Lloyd McKenzie (Mar 13 2019 at 20:56):
At the moment, the value set needs to be defined in the version of the core spec you're referencing or in an implementation guide you identify a dependency to.
Eric Haas (Mar 14 2019 at 00:20):
in ig.json there is this http://wiki.hl7.org/index.php?title=IG_Publisher_Documentation#Special_URLs
use that
Eric Haas (Mar 14 2019 at 00:20):
example usage in us core
Grahame Grieve (Mar 14 2019 at 07:05):
where are the value sets defined?
Michael Lawley (Mar 15 2019 at 05:05):
If you have those ValueSets loaded in the tx server then a reference via URI should work?
This raises the issue of how to get the public IG builder to use an alternate tx server, just like you can with a local build.
Grahame Grieve (Mar 15 2019 at 05:19):
not so simple; needs to support multiple tx servers, really.
Grahame Grieve (Mar 15 2019 at 05:19):
but i think the value sets thy are talking about are not in any terminology server'
Michael Lawley (Mar 15 2019 at 06:05):
Multiple tx would also solve the problem, yes
Last updated: Apr 12 2022 at 19:14 UTC