FHIR Chat · link address · committers

Stream: committers

Topic: link address


view this post on Zulip David Hay (May 24 2020 at 01:19):

How does the IG publisher determine the url of an artifact defined in another IG? In the autopublisher, I'm getting a url like: https://build.fhir.org/ig/HL7NZ/nzbase//https://simplifier.net/resolve?scope=hl7.org.nz.base@0.1.0&canonical=http://hl7.org.nz/fhir/StructureDefinition/nzAddress.

If I build locally, it works correctly (https://build.fhir.org/ig/HL7NZ/nzbase//StructureDefinition-nzAddress.html )

view this post on Zulip Grahame Grieve (May 24 2020 at 20:55):

it should be the same in both cases. The simplifier address tells me that it's coming from a source package, and there's a problem with the source package. Try clearing your local package cache, and see what happens (I expect you'll start getting the simplifier address locally too)

view this post on Zulip David Hay (May 25 2020 at 03:49):

Didn't make any difference. The local build works OK, but the on-line version has the weird url containing simplifier. The other difference is that I'm using the new version of sushi locally (that works from the yaml file) but the autobuild uses the main stream. I'm assuming that the IG publisher would have more serious issues if the config was wrong - but that may not be correct.

How does the IG builder determine the url to create? ie how does it 'map' from a canonical url of an SD to a resolvable url?

view this post on Zulip David Hay (May 25 2020 at 06:33):

BTW - I'm not sure if this is relevant (causal or consequential) but I've a few errors like the one below in the autobuild version, but not the local build:

unable to parse character reference 'canonical=http://hl7.org.nz/fhir/StructureDefinition/nzAddress">http://hl7.org.nz/fhir/StructureDefinition/nzAddress</a></li> </ul> <p><b>Extensions</b></p> <p>This structure refers to these extensions:</p> <ul> <li><a href="StructureDefinition-location-established.html">http://hl7.org.nz/fhir/hpi/StructureDefinition/location-established</a></li> <li><a href="https://build.fhir.org/ig/HL7NZ/nzbase//https://simplifier.net/resolve?scope=hl7.org.nz.base@0.1.0&canonical=http://hl7.org.nz/fhir/StructureDefinition/dhb">http://hl7.org.nz/fhir/StructureDefinition/dhb</a></li> <li><a href="StructureDefinition-location-alias-type.html">http://hl7.org.nz/fhir/hpi/StructureDefinition/location-alias-type</a></li> </ul> <p><b>Slices</b></p> <p>This structure defines the following <a href="http://hl7.org/fhir/R4/profiling.html#slices">Slices</a>:</p> <ul> <li>The element Location.identifier is sliced based on the value of value:use (Open at End)</li> </ul> </div> </div> </div> <a name="tabs-diff"> </a> <div id="tabs-diff"> <div id="tbl-diff"> <p>This structure is derived from <a href="http://hl7.org/fhir/R4/location.html">Location</a> </p> <div id="tbl-diff-inner"> <table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid'' (last text = ' ' at line 251 column 94

view this post on Zulip Grahame Grieve (May 25 2020 at 06:48):

How does the IG builder determine the url to create?

It's in the package. What IG is this?

view this post on Zulip David Hay (May 25 2020 at 08:33):

the base (where nzAddress is defined) is https://github.com/HL7NZ/nzbase/tree/master (http://build.fhir.org/ig/HL7NZ/nzbase/branches/master/index.html)

the link is coming from https://github.com/HL7NZ/hpi. (http://build.fhir.org/ig/HL7NZ/hpi/branches/master/index.html) - specifically http://build.fhir.org/ig/HL7NZ/hpi/branches/master/StructureDefinition-HpiLocation.html

view this post on Zulip David Hay (May 28 2020 at 23:59):

BTW Got this sorted. Turns out that the package.json wasn't in the right place (likely something to do with being on the bleeding edge of sushi development!)


Last updated: Apr 12 2022 at 19:14 UTC