FHIR Chat · ImplementationGuide file issue · IG creation

Stream: IG creation

Topic: ImplementationGuide file issue


view this post on Zulip Sarah Gaunt (Mar 20 2018 at 11:34):

For current build, is there an issue with the ImplementationGuide and the IG Publisher?

I've updated my ImplementationGuide to validate against the schema and schematron (matches example on ImplementationGuide Resource page also). Specifically, and among other things, (changed from STU3) added <definition> element around <package> and <resource>.

If I leave the <definition> element and the <resource> element in the file the IG Publisher crashes with
Error : Unknown Content definition @ START_TAG seen ...</jurisdiction>\r\n <definition>... @16:15 org.hl7.fhir.r4.formats.XmlParserBase.unknownContent(XmlParserBase.java:269) org.hl7.fhir.r4.formats.XmlParser.parseImplementationGuide(XmlParser.java:10698) org.hl7.fhir.r4.formats.XmlParser.parseResource(XmlParser.java:21485) org.hl7.fhir.r4.formats.XmlParserBase.parse(XmlParserBase.java:104) org.hl7.fhir.r4.formats.XmlParserBase.parse(XmlParserBase.java:88) org.hl7.fhir.r4.formats.ParserBase.parse(ParserBase.java:58) org.hl7.fhir.igtools.publisher.Publisher.parse(Publisher.java:2221) org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:1347) org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:380) org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:354) org.hl7.fhir.igtools.ui.IGPublisherFrame$BackgroundPublisherTask.doInBackground(IGPublisherFrame.java:250) org.hl7.fhir.igtools.ui.IGPublisherFrame$BackgroundPublisherTask.doInBackground(IGPublisherFrame.java:239) javax.swing.SwingWorker$1.call(Unknown Source) java.util.concurrent.FutureTask.run(Unknown Source) javax.swing.SwingWorker.run(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source)

If I take the <definition> element and the <resource> element (no longer a valid file) out it runs through.

view this post on Zulip Sarah Gaunt (Mar 20 2018 at 11:37):

When it runs through, though, it obviously creates no resource pages and gives me the following error on the QA page: /f:ImplementationGuide error Undefined element 'package'

view this post on Zulip Sarah Gaunt (Mar 20 2018 at 11:38):

Really hoping this is user error and I'm missing something super-obvious!
Headed to bed, will check back in the morning...

view this post on Zulip Grahame Grieve (Mar 20 2018 at 12:48):

umm implementation guide is special. The IG publisher, irrespective of what version you specify, is using R3 implementation guide

view this post on Zulip Grahame Grieve (Mar 20 2018 at 12:49):

is that the problem here?

view this post on Zulip Sarah Gaunt (Mar 20 2018 at 18:01):

That probably is the problem. So even if you are publishing a current build IG you the ImplementationGuide resource is R3? Ok will try that and see if it works.

view this post on Zulip Sarah Gaunt (Mar 20 2018 at 18:29):

Did I miss this in the documentation somewhere?

view this post on Zulip Grahame Grieve (Mar 20 2018 at 18:56):

no it's not documented. It's a decision I made under pressure about 3 days ago

view this post on Zulip Sarah Gaunt (Mar 20 2018 at 18:58):

Ok thanks, trying with rolled back version...


Last updated: Apr 12 2022 at 19:14 UTC