FHIR Chat · jekyll template context for index.html · implementers

Stream: implementers

Topic: jekyll template context for index.html


view this post on Zulip Sean McIlvenna (Sep 19 2016 at 21:25):

Anyone know what is in context for the index.html for jekyll when processing the index.html page? I'd like to have jekyll enumerate some of the profiles in the implementation guide in the index.html rather than having to create static content in the index.html for each structure definition.

view this post on Zulip Sean McIlvenna (Sep 19 2016 at 21:26):

I assume that is something you *could* theoretically do, since I see stuff like {% include XX.html %}

view this post on Zulip Grahame Grieve (Sep 19 2016 at 22:05):

There's a data file in _data which contains the structures you need

view this post on Zulip Grahame Grieve (Sep 19 2016 at 22:05):

structuredefinitions.json

view this post on Zulip Grahame Grieve (Sep 19 2016 at 22:06):

you iterate it the standard jekyll way

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 03:34):

nice... OK. I see now

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 03:34):

Thanks

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 03:34):

Is there any way to influence the fhir-build on what shows up in the _data structures?

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 03:35):

for example: I see there is a fhir.json which contains some ig-specific information. is there a way to have the publication process include the IG's description in the _data/fhir.json file?

view this post on Zulip Grahame Grieve (Sep 20 2016 at 09:53):

yes you ask me

view this post on Zulip Grahame Grieve (Sep 20 2016 at 09:54):

what's 'the IG's description" exactly?

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 13:10):

well in this particular case it's just "Test ig description"

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 13:10):

but will eventually have a lot more

view this post on Zulip Grahame Grieve (Sep 20 2016 at 13:21):

I mean, where do I get the infomration from?

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 14:09):

I sent you an example zip of a fhir ig I've been playing with in a private message

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 15:55):

can you confirm if you got it?

view this post on Zulip Sean McIlvenna (Sep 20 2016 at 15:55):

never sent a file through chat.fhir.org before...

view this post on Zulip Sean McIlvenna (Sep 21 2016 at 23:34):

Any update here?


Last updated: Apr 12 2022 at 19:14 UTC