Stream: IG creation
Topic: vocabulary dependency (link cannot be resolved)
Giorgio Cangioli (Jun 11 2019 at 10:48):
I'm trying to reuse some IPS vocabulary in a different IG.
At a first glance things seem to work with the exception of some links not resolved errors.
Looking at the generated html I saw that the references to the IPS content are absolute local links. (e.g. href="file://C:/msys64/home/Giorgio/_github/fhir-ips/output/CodeSystem-absent-unknown-uv-ips.html#absent-unknown-uv-ips-no-known-procedures"> ).
I was wondering if there is a smart way to have the right absolute link assigned. (Beside making a global string substitution before publishing)
Grahame Grieve (Jun 11 2019 at 10:48):
how did you reference them?
Giorgio Cangioli (Jun 11 2019 at 10:59):
In the value set
<include>
<system value="http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips"/>
<concept>
in the ig.json
"dependencyList": [
{
"name" : "ips",
"location" : "http://hl7.org/fhir/uv/ips",
"package" : "hl7.fhir.uv.ips",
"version" : "dev"
}
]
not sure if this is what you were asking for...
Grahame Grieve (Jun 11 2019 at 11:02):
because you said 'dev' as the version, you get a hard coded link to your local dev version. If the ci-build builds it, you'll get a link the build.fhir.org site
Giorgio Cangioli (Jun 11 2019 at 12:01):
OK thanks.
So if that IG doesn't go through the ci-build process, I need to refer a published version or update the links "ex-post"
Grahame Grieve (Jun 11 2019 at 12:24):
well, you need to say a different version in your dependency - maybe current, in which case the links will be to build.fhir.org
Last updated: Apr 12 2022 at 19:14 UTC