FHIR Chat · History tab not working · IG creation

Stream: IG creation

Topic: History tab not working


view this post on Zulip John Moehrke (Jul 27 2020 at 18:10):

I got provenance driven history showing up on my artifacts pages, but there is a "History" tab that appears and is causing errors ... this is not a specific problem to the IHE template, it happens with base as well... The "History" tab has appeared beside the tabs for "Narrative Content", "XML", "JSON", and "TTL"... but that History link is trying to go to a html page that doesn't exist. I did not add this History tab, it comes when I have provenance history on an artifact. Seems the template and the build tools are thinking different things.

Error: "The link 'CodeSystem-formatcode.change.history.html' for "History" cannot be resolved"

see http://build.fhir.org/ig/IHE/FormatCode/branches/master/CodeSystem-formatcode.html

view this post on Zulip Lloyd McKenzie (Jul 27 2020 at 18:17):

@Jose Costa Teixeira

view this post on Zulip John Moehrke (Jul 27 2020 at 18:20):

Note this is not specific to the IHE template. I just checked again with base. happens with that too.

view this post on Zulip John Moehrke (Jul 27 2020 at 18:21):

my IG is very simple, at https://github.com/IHE/FormatCode
As always, I always presume I messed up.

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 18:46):

isn't this the same as
https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/provenance.20history.20not.20working
?

view this post on Zulip John Moehrke (Jul 27 2020 at 18:48):

yes it is. but I was not getting resolution, so I figured a more targeted stream for this specific one might help (given that one started with provenance not loading at all, which was resolved).

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 19:59):

@Grahame Grieve have there been changes in the publisher to the way history is detected? The resources.json now shows "history": false for all resources (something has changed). For example I tested this in the sample ig, and I see

  "StructureDefinition/myObservation": {
    "history": false,

view this post on Zulip Grahame Grieve (Jul 27 2020 at 20:04):

yes see https://github.com/HL7/fhir-ig-publisher/issues/134

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 20:13):

in the sample ig, the provenance meets the conditions: it is not an example , and is about one of the resources in the ig:
"target" : [ { "reference" : "StructureDefinition/myObservation" } ],

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 20:14):

and it is not returning true

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 20:14):

(thanks for fixing the issue btw)

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 20:18):

just a guess: was there any change in how it sees if it's about one of the resource in the ig?
e.g. should it be
"target" : [ { "reference" : "http://example.com/wherever/ghir/myig/StructureDefinition/myObservation" } ], ?

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 20:24):

if we need to change the sample IG somehow to get it working, I can have a go at it.

view this post on Zulip Grahame Grieve (Jul 27 2020 at 20:41):

duh. stupid bug in my code. Fixed in next release and I'll make it as soon as possible

view this post on Zulip Jose Costa Teixeira (Jul 27 2020 at 21:03):

thanks


Last updated: Apr 12 2022 at 19:14 UTC