FHIR Chat · missing id value in StructureDefinition maps? · IG creation

Stream: IG creation

Topic: missing id value in StructureDefinition maps?


view this post on Zulip Rob Hausam (Aug 15 2018 at 12:14):

I'm running into this error:

Jekyll: Source: E:/git-repo/livd/generated_output/temp (00:02:57.0738sec)
Jekyll: Generating... (00:02:57.0739sec)
Jekyll: [33m Liquid Warning: Liquid syntax error (line 72): Unexpected character { in "{{site.data.structuredefinitions.ConceptMap.status}} == "active"" in StructureDefinition-ConceptMap.html (00:03:00.0341sec)
Jekyll: [33m Liquid Warning: Liquid syntax error (line 168): Unexpected character { in "{{site.data.structuredefinitions.ConceptMap.kind}} == "logical"" in StructureDefinition-ConceptMap.html (00:03:00.0343sec)
Jekyll: [33m Liquid Warning: Liquid syntax error (line 207): Unexpected character { in "{{site.data.structuredefinitions.ConceptMap.kind}} == "resource"" in StructureDefinition-ConceptMap.html (00:03:00.0343sec)
Jekyll: [33m Liquid Warning: Liquid syntax error (line 207): Unexpected character { in "{{site.data.structuredefinitions.ConceptMap.kind}} == "logical"" in StructureDefinition-ConceptMap.html (00:03:00.0343sec)
Complete output from Jekyll:  Liquid Exception: Could not locate the included file 'StructureDefinition--maps.xhtml' in any of ["E:/git-repo/livd/generated_output/temp/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your (00:03:00.0432sec)
Publishing Content Failed: Process exited with an error: 1 (Exit value: 1) (00:03:00.0441sec)
(00:03:00.0442sec)
Use -? to get command line help (00:03:00.0442sec)
(00:03:00.0442sec)
Stack Dump (for debugging): (00:03:00.0442sec)
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
at org.hl7.fhir.igtools.publisher.Publisher.runJekyll(Publisher.java:3141)
at org.hl7.fhir.igtools.publisher.Publisher.runTool(Publisher.java:3065)
at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:2656)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:528)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:479)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4645)
Exception in thread "main" java.lang.NullPointerException
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4655)

The part about "Could not locate the included file 'StructureDefinition--maps.xhtml'" with the '--' in the filename is making me think that it's trying to generate the file with a missing (empty) id value. But, if so, I don't (yet) know where that is coming from. And I could be entirely wrong about that, of course. Has anyone seen something similar?

view this post on Zulip Grahame Grieve (Aug 15 2018 at 12:36):

weird. an input profile with no id? (though I don't know how you could get it loaded...)

view this post on Zulip Rob Hausam (Aug 15 2018 at 12:50):

well, leave it to me :)
so it sounds like you agree - I'll look further and see what I can find

view this post on Zulip Rob Hausam (Aug 15 2018 at 18:24):

I still haven't quite tracked this one down. @Lloyd McKenzie @Eric Haas Do you have any ideas?

view this post on Zulip Lloyd McKenzie (Aug 15 2018 at 18:42):

That looks like you're using @Eric Haas's templates rather than mine, so not sure I can help much.

view this post on Zulip Rob Hausam (Aug 15 2018 at 18:43):

yes, started with Eric's
where do I find your templates, actually?

view this post on Zulip Lloyd McKenzie (Aug 15 2018 at 18:44):

Most current is in davinci-crd

view this post on Zulip Rob Hausam (Aug 15 2018 at 18:46):

ok - I haven't really looked at yours in any detail but I will

view this post on Zulip Rob Hausam (Aug 15 2018 at 18:46):

that's in the HL7 GitHub presumably?

view this post on Zulip Lloyd McKenzie (Aug 15 2018 at 18:47):

y

view this post on Zulip Eric Haas (Aug 15 2018 at 19:53):

My templates expect three included files for SDs

view this post on Zulip Eric Haas (Aug 15 2018 at 19:54):

I pair this with a script that generates them )

view this post on Zulip Eric Haas (Aug 15 2018 at 19:55):

Usually you will get a build error telling you what is missing.

view this post on Zulip Eric Haas (Aug 15 2018 at 19:56):

  • [type]-[id]-'diff2'.md
  • [type]-[id]-'intro'.md
  • [type]-[id]-'search'.md

for profiles

view this post on Zulip Eric Haas (Aug 15 2018 at 19:56):

Lloyd hates this stubbed in content :-)

view this post on Zulip Eric Haas (Aug 15 2018 at 19:57):

[type]-[id]-'intro'.md

for extensions

view this post on Zulip Eric Haas (Aug 15 2018 at 19:58):

if there is no id that is interesting - I didn't think it would build without one...

view this post on Zulip Eric Haas (Aug 15 2018 at 20:00):

have not done structuremaps for a while so I can't help you there immediately

view this post on Zulip Rob Hausam (Aug 15 2018 at 22:02):

yes, I added the 'diff2' which I hadn't seen earlier - I needed that but it didn't seem to be related to this issue


Last updated: Apr 12 2022 at 19:14 UTC