FHIR Chat · (no topic) · trifolia-on-fhir

Stream: trifolia-on-fhir

Topic: (no topic)


view this post on Zulip Mark Scrimshire (May 15 2019 at 15:54):

I get these validation errors on the Payer Data Exchange IG:

warning ImplementationGuide.definition.page+ Page with title Table of Contents does not specify a reference to the content of the page
error ImplementationGuide.definition.resource Missing property

@Sean McIlvenna Any idea how to get rid of them?

view this post on Zulip Sean McIlvenna (May 15 2019 at 16:16):

I think you can ignore the first one... I think that's a validation bug that i need to fix. It shouldn't be requiring that on ToC pages.

view this post on Zulip Sean McIlvenna (May 15 2019 at 16:17):

You can resolve the second one by simply adding a resource to the IG

view this post on Zulip Sean McIlvenna (May 15 2019 at 16:17):

Right now there aren't any resources in the IG...

view this post on Zulip Sean McIlvenna (May 15 2019 at 16:17):

no profiles, valuesets, examples, etc.

view this post on Zulip Sean McIlvenna (May 15 2019 at 16:17):

So, once you get some resources added to the IG that will go away

view this post on Zulip Sean McIlvenna (May 15 2019 at 16:25):

@Mark Scrimshire

view this post on Zulip Mark Scrimshire (May 16 2019 at 20:49):

@Sean McIlvenna Another stupid question.... I have modeled the settings in PDex for a resource after the CDexTask resource in the CDEX IG. When I try to publish I get an exit code of 1. This is probably because of the following warnings:
warning ImplementationGuide/davinci-pdex A resource should have narrative for robust management [text.div.exists()]
warning ImplementationGuide/davinci-pdex A resource should have narrative for robust management [text.div.exists()]
warning StructureDefinition/pdex-medicationdispense A resource should have narrative for robust management [text.div.exists()]
warning StructureDefinition/pdex-medicationdispense A resource should have narrative for robust management [text.div.exists()]

How do I fix these warnings? Do I need to copy a StructureDefinition into place or is that handled by Trifolia.

view this post on Zulip Sean McIlvenna (May 16 2019 at 20:53):

I'll take a look. Gimme a sec

view this post on Zulip Mark Scrimshire (May 16 2019 at 20:54):

I'll take a look. Gimme a sec

Thanks
I will be going into a meeting so not a big rush but I will want to retry publishing later tonight

view this post on Zulip Sean McIlvenna (May 16 2019 at 22:17):

@Mark Scrimshire , I'm not sure how... but in your pdex-medicationdispense, the "Base Definition" value is ".../undefined"
The current value of "Base Definition" is not valid, and this property is most likely causing the FHIR IG Publisher to fail. Instead, the value of this property should be http://hl7.org/fhir/StructureDefinition/MedicationDispense.
The user interface is supposed to fill this in for you when you create the profile, based on the "type" that you select. Not sure how it became ".../undefined".
pasted image

view this post on Zulip Sean McIlvenna (May 16 2019 at 22:18):

Unfortunately, right now, the user interface makes it difficult to fix the value of "Base Definition", as the property is read only after the profile has been created for the first time. In the future, I think we need to do a better job of validating the values of these fields when initially creating the profile.

view this post on Zulip Sean McIlvenna (May 16 2019 at 22:18):

For now, I will manually update the resource for you...

view this post on Zulip Sean McIlvenna (May 16 2019 at 22:22):

... and yes, I'm fairly sure it's because of the "Base Definition" property that the publish failed.
I ran it myself and got an error from the FHIR IG Publisher saying the profile's "differential" is empty. If the "base definition" is not correct, then ToF will not be able to load the base definition and it will not create a differential for you. Thus, you would have an empty differential property.

view this post on Zulip Sean McIlvenna (May 16 2019 at 22:24):

I manually updated your pdex-medicationdispense profile so that it has a valid "base definition" property. then I re-opened the profile in ToF, and the editor was able to create a "differential" for the profile, and clicked "save". Now, when I run the "Publish" process on your IG, it succeeds.

view this post on Zulip Mark Scrimshire (May 17 2019 at 15:22):

@Sean McIlvenna I don't know if I broke this again. http://hl7.org/fhir/us/davinci-epdx/StructureDefinition/pdex-medicationdispense gives a 404. The Publisher still gives the errors:
Publishing Content Failed: base is null ( http://hl7.org/fhir/StructureDefinition/MedicationDispense from http://hl7.org/fhir/us/davinci-epdx/StructureDefinition/pdex-medicationdispense) When I pushed the output it seems to break the CI display http://build.fhir.org/ig/HL7/davinci-epdx/ which now shows a directory list and not the home page.


Last updated: Apr 12 2022 at 19:14 UTC