FHIR Chat · Implementation Guide Issue · implementers

Stream: implementers

Topic: Implementation Guide Issue


view this post on Zulip abhishek gupta (Dec 14 2017 at 04:49):

Hi All,
when I am creating the Implementation Guide then I am getting some problem like that:Exception in thread"main" java.lang.error. I am also sending the screenshot for the clear understanding .
if anybody knows about that then ping me.
Thanks
issue.png

view this post on Zulip Grahame Grieve (Dec 14 2017 at 04:55):

you must use the correct case for files throughout the implementation guide - the IG publisher requires you to do so, even though windows or OSX doesn't

view this post on Zulip abhishek gupta (Dec 14 2017 at 05:00):

you must use the correct case for files throughout the implementation guide - the IG publisher requires you to do so, even though windows or OSX doesn't

I used the files in a correct way only. I will send you those files ig.json
ig.xml
structuredefinition-vms-medicationstatement.xml

view this post on Zulip Lloyd McKenzie (Dec 14 2017 at 05:28):

Is the "id" of your implementation guide "ig"? Because if not, ig.xml is the wrong filename...

view this post on Zulip abhishek gupta (Dec 14 2017 at 06:08):

Is the "id" of your implementation guide "ig"? Because if not, ig.xml is the wrong filename...

But in my case id of my Implementation guide is "ig" only as described in files.Then at that case what am I supposed to do.

view this post on Zulip abhishek gupta (Dec 14 2017 at 12:08):

@Michel Rutten
when I am creating the Implementation guide then I am getting the Exception like that:Exception in thread"main" java.lang.error. I am also sending the screenshot for the clear understanding .
I am not getting when generating the output why it's showing the error like that definitions.html page is generated more than once
issue.png

view this post on Zulip Michel Rutten (Dec 14 2017 at 12:12):

Hi @abhishek gupta, I'm afraid you'd have to ask @Grahame Grieve. I'm not an expert in using the IG build tool.

view this post on Zulip abhishek gupta (Dec 14 2017 at 12:20):

@Grahame Grieve
when I am creating the Implementation guide then I am getting the Exception like that:Exception in thread"main" java.lang.error. I am also sending the screenshot for the clear understanding .
I am not getting when generating the output why it's showing the error like that definitions.html page is generated more than once.
issue.png
I will send you files also
ig.json
ig.xml
structuredefinition-vms-medicationstatement.xml

view this post on Zulip Lloyd McKenzie (Dec 14 2017 at 15:40):

Can you zip up your full IG source folder?

view this post on Zulip Eric Haas (Dec 14 2017 at 15:58):

you are defining it twice. in ig.xml or ig.json. if using the spreadsheets or bundle for example you don't list it separately.

view this post on Zulip Eric Haas (Dec 14 2017 at 15:59):

show your ig.json and and ig.xml files

view this post on Zulip Eric Haas (Dec 14 2017 at 16:02):

you can inspect myIG Sampler to see how these files should look. ( not as fancy as Lloyds :-()

view this post on Zulip Lloyd McKenzie (Dec 14 2017 at 16:43):

He did include the ig.json and ig.xml. No duplicates that I can see. So my theory is that there are multiple source files in the source folder with the same id

view this post on Zulip Eric Haas (Dec 14 2017 at 16:45):

soooo remove half your source files and try again. ( binary search for the offending files)

view this post on Zulip Lloyd McKenzie (Dec 14 2017 at 16:51):

Arbitrarily picking half will likely mean missing needed files which will trigger a different error. Posting the zip here will let us properly diagnose.


Last updated: Apr 12 2022 at 19:14 UTC