FHIR Chat · IG Publisher external profile links not working · IG creation

Stream: IG creation

Topic: IG Publisher external profile links not working


view this post on Zulip Noemi Deppenwiese (Oct 19 2021 at 14:16):

I'm using version v1.1.82 of the Publisher. In one of my profiles I slice by profile, some slices have internal, some external profiles. The internal profiles work fine, but the external ones cause problems. The rendering looks good, unfortunately the profile links do not work and send me to /unknown.html instead. In the QA report, it says "The reference http://fhir.de/StructureDefinition/observation-de-vitalsign-koerpergroesse could not be resolved" which might be the problem. The URL does not resolve directly and redirects to Simplifier instead. Is there any way to fix this?
image.png

view this post on Zulip Grahame Grieve (Oct 19 2021 at 18:53):

did you add the simplifier content to your dependencies?

view this post on Zulip Noemi Deppenwiese (Oct 20 2021 at 06:59):

Yes, added packages via sushi:

dependencies:
  de.basisprofil.r4:
    uri: https://ig.fhir.de/basisprofile-de/1.0.0/
    version: 1.0.0
  de.gecco:
    uri: https://simplifier.net/guide/germancoronaconsensusdataset-implementationguide/geccocore
    version: 1.0.5

view this post on Zulip Grahame Grieve (Oct 20 2021 at 17:37):

ok how do I reproduce this?

view this post on Zulip Noemi Deppenwiese (Oct 21 2021 at 14:19):

I set up a minimal not working example here https://github.com/noemide/not-working-ig

view this post on Zulip Noemi Deppenwiese (Oct 26 2021 at 06:56):

Ok, i believe the root cause may be the "The canonical URL for an Implementation Guide must point directly to the implementation guide resource, not to the Implementation Guide as a whole" error. I tried pointing it to the published HTML which is wrong, then to the IG resource in the package (https://simplifier.net/packages/de.basisprofil.r4/1.0.0/files/397889) which results in the same error....
Is there any way to get this working with Simplifier IGs?

view this post on Zulip Noemi Deppenwiese (Oct 29 2021 at 06:59):

Has anyone solved this (correctly referencing Simplifier IGs from IG Publisher projects) before?

view this post on Zulip Grahame Grieve (Nov 05 2021 at 02:49):

well, the problem is with de.basisprofil.r4#1.0.0 - it doesn't include a web publication address in the package, so the IG publisher has no idea what to put for human readable links to the profiles

view this post on Zulip Grahame Grieve (Nov 05 2021 at 03:12):

no. it's a simplifier package - I had a loading order problem. Sorted next release

view this post on Zulip Noemi Deppenwiese (Nov 11 2021 at 16:10):

Unfortunately, while this fixed the problem for profiles for one package (the one i included in my example) a profile from a different package is still affected. I updated https://github.com/noemide/not-working-ig to use the still not working profile. (I left it out from the first example because there is an additional ValueSet issue resulting in a 422 from the termserver leading to a rather long build running time...)

view this post on Zulip Grahame Grieve (Nov 11 2021 at 20:57):

fixed next release


Last updated: Apr 12 2022 at 19:14 UTC