Stream: shorthand
Topic: URL links between IG's
David Hay (May 21 2020 at 18:37):
When a profile in one IG uses a structure defined in another IG, the page that the publisher creates for that profile (using the template) has a link to the definition of that structure in the IG where it is defined. (At least it does when referring to the core spec)
For example, in this profile the type 'nzAddress' is defined in another IG. However, if you look at the link, it is actually directing to my local machine using a 'file://' type reference.
How do I get it to refer to it's on-line definition? Is it related to the canonical url of the 'defining' IG in some way?
David Hay (May 21 2020 at 18:38):
I'm using the FHIR base template...
Chris Moesel (May 21 2020 at 19:03):
@David Hay -- this is probably a question best left to @Lloyd McKenzie. That said... how did you define your dependency on that other IG? If you are using the "dev" version of the IG dependency, I'd expect it to link locally -- but if you're using "current" or a specific version number of the "IG" then I think it's fair to expect it to resolve to a location on the internet.
David Hay (May 21 2020 at 19:17):
Ah - that could well be it. I am using a dev version. Looks like I need to learn how to use the packaging / publishing mechanisms...
Chris Moesel (May 21 2020 at 19:21):
Yeah -- dev
means "use the IG on my local disk because its different than anything that's published" -- so that's where the IG is going to link to.
David Hay (May 21 2020 at 20:04):
If I publish according to the directions here - and linked instructions - then do I use 'current' to get sushi to read that version - (and hopefully the publisher to generate the links using the canonical url)...
Chris Moesel (May 21 2020 at 20:07):
If an IG uses the "Auto Build" infrastructure, then specifying that IG as a dependency with the "current" version should refer to the latest auto-build and should link any references to the IG on build.fhir.org. (Note: I say should because I'm not sure I've tested the links to confirm).
David Hay (May 22 2020 at 00:57):
guess I'll be doing that next week!
Last updated: Apr 12 2022 at 19:14 UTC