FHIR Chat · ImplementationGuide.dependsOn.uri · IG creation

Stream: IG creation

Topic: ImplementationGuide.dependsOn.uri


view this post on Zulip Rick Geimer (Jun 07 2019 at 02:13):

The FHIR spec shows that ImplementationGuide.dependsOn.uri must be the cannonical url of an ImplementationGuide resource.

http://build.fhir.org/implementationguide-definitions.html#ImplementationGuide.dependsOn.uri

The cannonical URL for US Core is

http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core.r4-4.0.0

But if I use that the IG Publisher generates the following error:

URL value 'http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core.r4-4.0.0' does not resolve

If instead I use the following URL:

http://hl7.org/fhir/us/core

It works without error.

So which is correct? The spec or the IG publisher?

view this post on Zulip Lloyd McKenzie (Jun 07 2019 at 02:37):

What I was told was to specify the packageId at which point the canonical URI resolution doesn't matter

view this post on Zulip Rick Geimer (Jun 07 2019 at 02:49):

Well, it does because the IG publisher is generating an error if you use what the spec requires.

view this post on Zulip Rick Geimer (Jun 07 2019 at 02:50):

And unfortunately HAPI is enforcing what the spec says, so Trifolia on FHIR is not liking http://hl7.org/fhir/us/core since that does not reference an ImplementationGuide resource.

view this post on Zulip Rick Geimer (Jun 07 2019 at 02:51):

And no other valid FHIR app should accept the shorter URL either if they are complying to the spec.

view this post on Zulip Rick Geimer (Jun 07 2019 at 02:55):

@Grahame Grieve @Melva Peters assuming we can get the CI build working at all, this will still be an error in the QA, but in my opinion it is a false error because the IG publisher is not complying with the spec.

view this post on Zulip Grahame Grieve (Jun 07 2019 at 03:55):

can I reproduce this?

view this post on Zulip Rick Geimer (Jun 07 2019 at 04:05):

@Grahame Grieve Yes.
http://build.fhir.org/ig/HL7/ccda-on-fhir-r4/branches/master/qa.html
Search for "URL value 'http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core.r4-4.0.0' does not resolve" in the QA file.

If you change dependsOn.uri to http://hl7.org/fhir/us/core the error in the QA log goes away, but the IG resource is not longer valid per the spec, and generates errors when you try to post it to HAPI.

view this post on Zulip Grahame Grieve (Jun 07 2019 at 07:58):

fixed next release

view this post on Zulip Rick Geimer (Jun 07 2019 at 14:47):

I take it you mean the next release of the IG publisher will accept an IG resource URL, correct? Hoping you didn't mean the next release of FHIR :)

view this post on Zulip Grahame Grieve (Jun 07 2019 at 18:53):

yes next release of tool


Last updated: Apr 12 2022 at 19:14 UTC