Stream: IG creation
Topic: ImplementationGuide parameters for pages and output?
Rob Eastwood (Mar 09 2020 at 04:30):
I am looking into how we transition our FHIR IGs using the old ig.json approach to the new separate IG template approach; so far so good.
We do want to alter the output location and input file locations though and this was successfully achieved in the old ig.json approach with this
"paths": { "output": "output/XYX...", "pages": "pages/ABC...",
I am struggling to figure out how this can be done with the new template approach, and have been playing around with the ImplementationGuide.definition.parameter
options as documented here: https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters
Various permutations of path-pages
and path-output
seem to have no effect - just wondering if this has been implemented yet? (elsewhere it has been noted (in Jan 2020) that "Some of the capabilities that custom templates will need aren't yet enabled")
Otherwise, any suggestions as to how to how I can get this working? Any working implementations to emulate?
(edit: using IGP v1.0.70 and custom template that inherits from https://github.com/HL7/ig-template-base)
Jose Costa Teixeira (Mar 09 2020 at 09:19):
path-pages should be working
Jose Costa Teixeira (Mar 09 2020 at 09:20):
path-output is perhaps being added by the template and since it does not repeat..
Jose Costa Teixeira (Mar 09 2020 at 09:21):
your best chance may be changing the onload.xslt
Lloyd McKenzie (Mar 09 2020 at 15:43):
path-pages definitely works. It's used by the template and the UTG IG supplements it. path-output wasn't working though. I've updated the current version of the template, so if you use #current, should work. Will try to push it into the official release sometime this week
Jose Costa Teixeira (Mar 09 2020 at 16:09):
what does the parameter "supplement" mean?
Jose Costa Teixeira (Mar 09 2020 at 16:09):
@Lloyd McKenzie (just to keep the wiki up to date)
Lloyd McKenzie (Mar 09 2020 at 16:10):
Means the parameter is allowed to repeat, so it's ok to add the new parameters even if there are already some with the same name
Jose Costa Teixeira (Mar 09 2020 at 16:11):
does this mean that the implementationGuide resource will be updated?
Jose Costa Teixeira (Mar 09 2020 at 16:12):
it seems that this does not belong in the list of parameters, but in the resource itself, right?
Lloyd McKenzie (Mar 09 2020 at 19:05):
supplement doesn't appear in the resource. It's just something that is in the transform to indicate behavior on whether to set a parameter or not in the IG.
Jose Costa Teixeira (Mar 09 2020 at 19:06):
ok
Rob Eastwood (Mar 09 2020 at 22:25):
Thank you very much @Lloyd McKenzie and @Jose Costa Teixeira for your inputs.
I will have a closer look at UTG IG, will switch to using #current and tweak some more.
Last updated: Apr 12 2022 at 19:14 UTC