Stream: IG creation
Topic: IG Publisher error about extension
Sean McIlvenna (Sep 07 2018 at 20:47):
I'm getting the following error from the IG Publisher:
java.lang.Error: org.hl7.fhir.exceptions.FHIRException: fetching org.hl7.fhir.dstu3.model.StructureDefinition not done yet for URI 'https://XXXXXXX'
An implementation guide I am using in the IG Publisher has some externally defined extensions... However, I've added the domain of the extension to "extension-domains" in the ig.json control file... I figured that would solve the problem, but it hasn't. Any idea why not?
Grahame Grieve (Sep 07 2018 at 20:50):
extension-domains only stops the validator reporting issues in examples. you still need to define extensions if you refer to them in the definitions
Sean McIlvenna (Sep 07 2018 at 20:58):
ok. so, if it's an extension that has a different domain than the ig, where do I put it? I suspect that it wouldn't find it if I drop it in the resources/extension folder...
Sean McIlvenna (Sep 07 2018 at 20:58):
actually... confirmed, it doesn't find it even though I dropped the extensions in the resources/extension folder
Sean McIlvenna (Sep 07 2018 at 21:19):
Yah.. can't seem to get the ig publisher to recognize this extension no matter where I put it, or how I reference the domain. Further guidance is appreciated..
Grahame Grieve (Sep 07 2018 at 22:17):
I'll get to it. for now, I have to figure out how to keep the igpublisher going at all. turns out it was deeply tied to svn
Sean McIlvenna (Sep 10 2018 at 17:50):
@Lloyd McKenzie do you have any idea about this? I know grahame's busy with other stuff... but this is blocking me a bit.
I'm just trying to build an IG with externally defined extensions. even though I include the extension definition in the resources/structuredefinition folder, it still isn't finding the extension...
Bryn Rhodes (Sep 10 2018 at 18:38):
We see that error a lot but it doesn't actually interfere with the process. Is it not outputting correctly, or is it just reporting the error in the qa?
Lloyd McKenzie (Sep 10 2018 at 19:37):
Where are the extensions defined? If they're not present in the version of FHIR you're building on, they need to be defined in an IG you have a dependency on. If not, validation isn't going to work for them. (It's possible the validator will try to resolve the canonical URL, but the version would have to be right.)
Grahame Grieve (Sep 11 2018 at 02:01):
can I reproduce this @Sean McIlvenna ?
Sean McIlvenna (Sep 11 2018 at 19:37):
not anymore... seems that in the last week of changes to the ig publisher, this error is not present anymore. attempting to run on latest ig publisher now, and getting completely different errors. I'll let you know if it comes back once I figure out the errors I'm running into now
Last updated: Apr 12 2022 at 19:14 UTC