FHIR Chat · IG dependsOn (Non canonical hosting) · IG creation

Stream: IG creation

Topic: IG dependsOn (Non canonical hosting)


view this post on Zulip Kevin Mayfield (Dec 10 2019 at 13:01):

I'm building an IG which dependsOn this IG https://hl7-uk.github.io/UK-STU3/
it's contents use this canonical url: https://fhir.hl7.org.uk/STU3

  <dependsOn>
    <uri value="https://HL7-uk.github.io/UK-STU3/ImplementationGuide/hl7.uk.base" />
   <!-- <packageId value="hl7.uk.base"/> -->
    <version value="3.0.0"/>
  </dependsOn>

When I run IGPublisher I get this error:

java.lang.Exception: Canonical mismatch fetching package list for https://HL7-uk.github.io/UK-STU3#3.0.0, package-list.json says "https://fhir.hl7.org.uk/STU3"

Without hosting the IG correctly (may prove to be a non technical difficult option). How can I work around this?

view this post on Zulip Kevin Mayfield (Dec 10 2019 at 13:03):

I've tried altering the canonicalUrl in the IG but that would mean altering the url's of the conformance artefacts.

view this post on Zulip Kevin Mayfield (Dec 10 2019 at 21:27):

Workaround appears to be <version value="dev"/>


Last updated: Apr 12 2022 at 19:14 UTC