FHIR Chat · Making a private template trusted · IG creation

Stream: IG creation

Topic: Making a private template trusted


view this post on Zulip David Pyke (Jul 13 2020 at 18:29):

I am working on an IG for Carequality but the autobuilder won't use it because it's not "trusted". How do I instill trust in the template?

view this post on Zulip Jose Costa Teixeira (Jul 13 2020 at 18:34):

local template?

view this post on Zulip David Pyke (Jul 13 2020 at 18:49):

Yep, but when I push it to my git, which is hooked to the autobuilder, it says it's not a trusted template and won't run the scripts.

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:00):

You can't have any scripts in a 'local' template. HL7 will only auto-build against 'official' templates that we control the code for. (Because scripts in the auto-build environment could do nasty things both to our hosting environment as well as to the published HTML - which would then impact anyone who looked at it.)

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:00):

What are you trying to do with your scripts? Is it an HL7 IG or one for someone else?

view this post on Zulip David Pyke (Jul 13 2020 at 19:01):

It's for Carequality, I've used the generic template changed the colours and inserted a logo on top. Is there a way to just have that without creating the whole template?

view this post on Zulip Grahame Grieve (Jul 13 2020 at 19:02):

that shouldn't cause it to not be trusted. what file extensions does it contain?

view this post on Zulip David Pyke (Jul 13 2020 at 19:03):

It's a full copy of the generic template, I've put a couple images in and edited the project.css and the fragment-pagebegin.html

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:03):

Note that you can have a template that's based on another template

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:04):

That's what you should do here

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:04):

Take a look at the Da Vinci template for an example of how

view this post on Zulip David Pyke (Jul 13 2020 at 19:04):

okay, I'll have a look there.

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:06):

If this look and feel should apply to more than one IG, you should actually commit the template as a stand-alone template so that other IGs can reference it and the look & feel can be maintained in a single place.

view this post on Zulip David Pyke (Jul 13 2020 at 19:10):

Okay, then how do I do that. It'll be used for a few.

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:16):

We'll need to create a Git project and decide on an id. Is this for one of the accelerators?

view this post on Zulip David Pyke (Jul 13 2020 at 19:18):

Nope, just Carequality

view this post on Zulip David Pyke (Jul 13 2020 at 19:18):

I'll create a git repository and upload it.

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:18):

What's the rationale for a distinct look & feel?

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:19):

In general, we want the look & feel to be consistent for all HL7-published FHIR IGs

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:19):

We allow small differentiation for accelerators

view this post on Zulip David Pyke (Jul 13 2020 at 19:20):

It's not an HL7 published IG

view this post on Zulip David Pyke (Jul 13 2020 at 19:22):

Carequality has specific IGs for use between their implementers. I'm putting together the first one.

view this post on Zulip Lloyd McKenzie (Jul 13 2020 at 19:24):

Ah. Then, create your own Git project for your template (and set it up to use the CI build). Once it builds, your template should be available for use elsewhere and you can just reference it by id

view this post on Zulip David Pyke (Jul 13 2020 at 19:24):

Oh, okay great!

view this post on Zulip Jose Costa Teixeira (Jul 13 2020 at 19:30):

why creating a template if it's just for one IG?

view this post on Zulip Jose Costa Teixeira (Jul 13 2020 at 19:30):

ah sorry, nevermind. Several IGs

view this post on Zulip David Pyke (Jul 14 2020 at 14:29):

With Lloyd's help, I got it building but it's still not "trusted". What is the next step to get it anointed?

view this post on Zulip Lloyd McKenzie (Jul 14 2020 at 14:35):

No need to anoint - your custom template shouldn't copy the base template, just inherit from it


Last updated: Apr 12 2022 at 19:14 UTC