FHIR Chat · The link 'StructureDefinition/xyz.html' cannot be resolved · IG creation

Stream: IG creation

Topic: The link 'StructureDefinition/xyz.html' cannot be resolved


view this post on Zulip Oliver Egger (Feb 09 2018 at 23:37):

After the IG publisher runs, I have errors in the qa.html, The link 'StructureDefinition/xyz.html' cannot be resolved, however the link would resolve to StructureDefinition-xyz.html (no directory structure, but - sign).As far as I have looked the link is generated in the igpublisher itself, is there a confiugration option or should the files not be separated by - sign but also in a directory structure?

view this post on Zulip Eric Haas (Feb 09 2018 at 23:48):

profile pages are generated from templates and take the form [Resource]-[id].html

view this post on Zulip Grahame Grieve (Feb 10 2018 at 03:34):

well, which generated content contains the broken link?

view this post on Zulip Oliver Egger (Feb 11 2018 at 21:00):

thanks for the first hints and sorry for providing not more detailed info. first error in http://chmed16af.emediplan.ch/qa.html, The link 'StructureDefinition/chmed16af-rx-composition.html' cannot be resolved, http://chmed16af.emediplan.ch/StructureDefinition-chmed16af-rx-bundle.html and there is a generated link: This structure refers to these other structures: and this one points then to http://chmed16af.emediplan.ch/StructureDefinition/chmed16af-rx-composition.html instead of http://chmed16af.emediplan.ch/StructureDefinition-chmed16af-rx-bundle.html

view this post on Zulip Oliver Egger (Feb 11 2018 at 23:05):

when i change in IGKnowledgeProvider.java the bc.setUserData("path", r.getElement().fhirType()+"/"+r.getId()+".html"); (Line 257) to bc.setUserData("path", r.getElement().fhirType()+"-"+r.getId()+".html"); the links get outputted as I would expect. should I raise a gforge with a patch?

view this post on Zulip Grahame Grieve (Feb 12 2018 at 19:23):

no. that's the wrong place to fix your problem. (breaking everyone else links...). If you really think that the code is the problem, not a mismatch with your oconfiguration (expectations mismatch) I'll have a look - where is your source?

view this post on Zulip Oliver Egger (Feb 13 2018 at 15:33):

I definitely would not like to break others code ... thanks for looking into it: source, json.ig, ig resource

view this post on Zulip Oliver Egger (Feb 26 2018 at 22:10):

I still have the problem with my broken StructureDefinition/xyz.html (and ValueSet/xyz.html) links and have seen that hl7au/au-fhir-base has the same type of error messages. I switched my ig(s) now also to the auto-publisher (thanks for that great service!), if there is a configuration to be done I would be glad for a hint ig.json, qa.html


Last updated: Apr 12 2022 at 19:14 UTC