FHIR Chat · IG Publisher trouble w/ DSTU2 ImplementationGuide · IG creation

Stream: IG creation

Topic: IG Publisher trouble w/ DSTU2 ImplementationGuide


view this post on Zulip Chris Moesel (Nov 02 2018 at 23:50):

I receive the following error in the qa.html file when I run IG Publisher w/ a DSTU2 IG (using a DSTU2 ig.xml):

Path: ImplementationGuide/1: ImplementationGuide.package
Severity: error
Message: Profile http://hl7.org/fhir/StructureDefinition/ImplementationGuide, Element 'ImplementationGuide.package.resource': minimum required = 1, but only found 0

Here is a snippet from my ig.xml:

<package>
    <name value="Profiles in this Implementation Guide" />
    <resource>
      <purpose value="profile" />
      <sourceReference>
          <reference value="StructureDefinition/shr-simple-Condition" />
          <display value="SIMPLE Condition Profile" />
      </sourceReference>
  </resource>
  <!-- more resources like above -->
</package>

Am I missing something obvious or is this a bug in the IG Publisher?

view this post on Zulip Lloyd McKenzie (Nov 03 2018 at 01:18):

Looks like a bug - possibly related to version conversion

view this post on Zulip Chris Moesel (Nov 03 2018 at 03:23):

OK, I'll file something in GForge. As far as I can tell, it doesn't seem to affect the output of the IG.

view this post on Zulip Chris Moesel (Nov 16 2018 at 21:53):

@Grahame Grieve was asking for ways to reproduce bugs I've reported here. Grahame, this one is actually reproducible in the DSTU2 IG that is in the current FHIR source at: https://github.com/HL7/fhir/tree/master/tests/ig10

Run the IG publisher against that IG and you'll see a number of errors reported in the QA, but here's the one that matches my experience noted above:
pasted image

view this post on Zulip Chris Moesel (Dec 21 2018 at 16:49):

GForge: https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=19814


Last updated: Apr 12 2022 at 19:14 UTC