FHIR Chat · IG Publisher cannot generate snapshot · implementers

Stream: implementers

Topic: IG Publisher cannot generate snapshot


view this post on Zulip Niklas Haldorn (Aug 03 2020 at 12:34):

Hi everyone,
I just used the IG Publisher for the first time and tried to publish an IG, that contains a resource with "http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips" as baseDefinition.
However the IG Publisher fails, because it can not find or generate a snapshot for the baseDefinition.
I tried to include the DiagnosticReport-uv-ips StructureDefinition in the resources folder, but then it is also shown as an artifact on the website and I would have to add all referenced IPS profiles (e.g. Practitioner-uv-ips for performer) as well to make it work.
Is it possible to tell the publisher where to find these profiles, without adding them all to the IG?
Thanks for your attention,
Niklas

view this post on Zulip Grahame Grieve (Aug 03 2020 at 12:35):

you have to add IPS as a dependency to your ig.

view this post on Zulip Niklas Haldorn (Aug 03 2020 at 13:00):

Thank you for the quick answer.
I have added a dependency to the myig.xml:

<dependsOn>
<uri value="http://hl7.org/fhir/uv/ips/ImplementationGuide/hl7.fhir.uv.ips"/>
<version value="1.0.0"/>
<packageId value="hl7.fhir.uv.ips"/>
</dependsOn>

and the publisher now runs without error. When I open the toc.html in the output folder and go to the resource it correctly shows:

This structure is derived from DiagnosticReportUvIps.

However DiagnosticReportUvIps doesnt link to its profile, instead it links to:

/C:/GitHub/hl7.fhir.uv.ips#1.0.0/output/StructureDefinition-DiagnosticReport-uv-ips.html.

Is there a way to change this to link to the profiles offical URL instead?

view this post on Zulip Grahame Grieve (Aug 04 2020 at 01:48):

that's a consquence of a past process errors for which I have no magic bullet. I can only fix this by releasing a new IG publisher - will be in the next release


Last updated: Apr 12 2022 at 19:14 UTC