Stream: IG creation
Topic: creating differential & snapshot views
Dave Holdgrafer (Feb 21 2018 at 16:04):
Trying to use IG Publisher to create the differential and snapshot views only for our guide similar to https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html (for patient obviously). How do I go about doing this or is there a place I can see go to see this source code? Thanks.
Eric Haas (Feb 21 2018 at 16:07):
both views are created by the tool automatically. Is that what you wanted to know?
Lloyd McKenzie (Feb 21 2018 at 16:07):
You can find the source for us-core here: https://github.com/HL7/us-core
Lloyd McKenzie (Feb 21 2018 at 16:07):
(And there's a number of other IGs under https://github.com/HL7 you can look at as well.)
Eric Haas (Feb 21 2018 at 16:08):
The sd.html
template is the jekyll template file that makes it pretty
Dave Holdgrafer (Feb 21 2018 at 16:11):
Yes, that helps...I will research but I'm sure I will have more questions. Thanks again.
Eric Haas (Feb 21 2018 at 16:20):
that template use a lot of 'includes' and it could be refactored to remove a layer and take better advantage of jekyll's markdown support and _layout files but I have not got around to doing that yet. If you want to see an example what I am talking about see here: https://github.com/Healthedata1/IG-Template2
Dave Holdgrafer (Feb 21 2018 at 21:47):
Trying to install Jekyll on my Windows 7 machine and getting "ERROR: While executing gem... (Encoding::InvalidByteSequenceError) "\xB5\xD9" followed by "\xD3\xD0" on UTF-16LE when I enter in the command "gem install Jekyll". Anybody understand what this error is telling me... Thanks.
Dave Holdgrafer (Feb 21 2018 at 22:04):
Also..trying to use the IGWeb: Online IG Builder site... What type of file do I put in to convert? Thanks.
Last updated: Apr 12 2022 at 19:14 UTC