FHIR Chat · Links cannot be resolved · IG creation

Stream: IG creation

Topic: Links cannot be resolved


view this post on Zulip Etienne Cantineau (Sep 29 2020 at 11:16):

Hello, I'm getting since today errors "The link 'StructureDefinition-XXX.xml.html' for "XML" cannot be resolved", same for Json and Turtle for each structure definitions without having changed anything in those. I see in the QA reports from committers streams that I'm not the only one having these errors.
See: http://build.fhir.org/ig/ec-ehealth/ehealthplatformstandards/branches/master/qa.html

view this post on Zulip Grahame Grieve (Sep 29 2020 at 11:16):

hmm. what's your ig.ini say?

view this post on Zulip Etienne Cantineau (Sep 29 2020 at 11:18):

Here it is: https://github.com/ec-ehealth/ehealthplatformstandards/blob/master/ig.ini

view this post on Zulip Grahame Grieve (Sep 29 2020 at 11:19):

hmm. that should work. Does it work for you locally?

view this post on Zulip Etienne Cantineau (Sep 29 2020 at 11:20):

I have the same broken links than in CI-build

view this post on Zulip Grahame Grieve (Sep 29 2020 at 11:28):

I don't know. I'll have a look tomorrow

view this post on Zulip Etienne Cantineau (Sep 29 2020 at 11:29):

Ok thank you

view this post on Zulip Jose Costa Teixeira (Sep 29 2020 at 13:11):

https://github.com/HL7/fhir-ig-publisher/blob/94de7ce70af464ae935b04f268727c4490aef66b/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/renderers/CanonicalRenderer.java#L83
points to r.fhirType()+"-"+r.getId()+".{{[fmt]}}.html

view this post on Zulip Jose Costa Teixeira (Sep 29 2020 at 13:12):

I think the link should be r.fhirType()+"-"+r.getId()+".{{[fmt]}} (just xml, without html)

view this post on Zulip Jose Costa Teixeira (Sep 29 2020 at 13:13):

or the corresponding tab, which is in <type<-<id>.profile.<format>.html

view this post on Zulip Grahame Grieve (Sep 29 2020 at 22:36):

@Lloyd McKenzie this is something to do with the template. It would appear that releasing a new template has changed this value:

      "profile-xml": "{{[type]}}-{{[id]}}.xml.html",

to

      "profile-xml": "{{[type]}}-{{[id]}}.profile.xml.html",

view this post on Zulip Grahame Grieve (Sep 29 2020 at 22:36):

we have never used .profile. in any IG that I know of

view this post on Zulip Grahame Grieve (Sep 29 2020 at 23:10):

I don't know why we do that. but it doesn't matter. the base template config was missing an entry.

view this post on Zulip Grahame Grieve (Sep 29 2020 at 23:10):

fixed now


Last updated: Apr 12 2022 at 19:14 UTC