Stream: IG creation
Topic: footer issues for publishing
Eric Haas (Jun 13 2019 at 17:11):
Because of this publishing requirement published here: http://wiki.hl7.org/index.php?title=Process_for_Publishing_a_FHIR_IG#Checks
..."Copyright (© 20YY+), ..." I think the variable {{site.data.info.copyrightyear}}
shoould be present. and an element in the ig resource. Otherwise need to add to my config.yml as a custom site variable.
Lloyd McKenzie (Jun 13 2019 at 17:39):
Alternative is to set an expectation that that's what goes in the ImplementationGuide.copyright. (There's a change request about clarifying that, not sure where it landed though)
Grahame Grieve (Jun 13 2019 at 19:25):
where would we get the copyright year from?
Eric Haas (Jun 13 2019 at 19:39):
I am being instructed to add it. since it is written as above in the ig checklist. I have no idea where you get the copyright year but my ask is for a variable in site data.
Eric Haas (Jun 13 2019 at 19:40):
Otherwise as Lloyd suggest we may just decide to remove it based on an existing tracker. So I think can decide on that first.
Lloyd McKenzie (Jun 13 2019 at 20:08):
Right now I pass it in with an ini file, but agree that's far from ideal
Eric Haas (Jun 13 2019 at 20:47):
i use _config.yml
Grahame Grieve (Jun 13 2019 at 21:47):
should we define an IG extension?
Laxmi Singh (Feb 10 2022 at 10:37):
1) I am trying to change the url where 'myorganization' link points to . Currently it is pointing to http://hl7.org/Special/committees/[something] . Refer below :
image.png
I made below changes to redirect to 'www.google.com' when clicked on 'myorganization'
image.png
But it takes me to below link which does not exist
image.png
Is there a way I can redirect to www.google.com If clicked on 'myorganization' link in footer
2) Also Is there a way to dynamically update the Year shown in the footer to current year . I could not find any way to do it while searching online.
John Moehrke (Feb 10 2022 at 13:58):
are you publishing an HL7 IG? If not, then you likely need to customize the template and not use the HL7 template. The HL7 template is using the contact details in the IG to populate the footer.
John Moehrke (Feb 10 2022 at 14:01):
quickest is to just fhir base template, not hl7 fhir template. in your ig.ini
template = fhir.base.template
Lloyd McKenzie (Feb 10 2022 at 16:03):
The issue is that your url should be "http://google.com", not "www.google.com"
Lloyd McKenzie (Feb 10 2022 at 16:03):
If you don't start with "http://", then the publishing machinery assumes you're specifying a relative link
Lloyd McKenzie (Feb 10 2022 at 16:04):
However, agree that if you're not using an HL7 IG, you're not allowed to use the HL7 template.
Laxmi Singh (Feb 11 2022 at 08:25):
We are using HL7 IG publisher . We are using 'template = hl7.fhir.template' in ig.ini file . refer below
image.png
I changed the URL to start with "http://" and it worked absolutely fine. We are allowed to make this change right ??
Also do we have any such things documented anywhere that If we don't start with "http://", then the publishing machinery assumes we are specifying a relative link.
Jose Costa Teixeira (Feb 11 2022 at 10:41):
@Laxmi Singh what is your IG?
Jose Costa Teixeira (Feb 11 2022 at 10:44):
Seems like it's not an HL7 IG...
To explain: we refer to an "HL7 IG" is an IG that is created within/by HL7. Not an IG that uses HL7 publisher or that profiles HL7 standards.
For example if a government or a company makes an IG based on FHIR, using the FHIR resources and FHIR IG publisher, that is NOT what is referred to as an "HL7 IG". This means that only HL7 working groups should use the hl7 fhir template
Laxmi Singh (Feb 11 2022 at 11:46):
Our IG is not created by HL7 , we have profiles as per FHIR resources. Valueset and others. But template value in ig.ini is HL7.fhir.template . Do I need to change this to FHIR.base.remplate . Is there a problem If I use template value as hl7.fhir.template ? Also I am able to modify URL value in footer and able to redirect it to my company's website . are we not supposed to do this for our IG's . I am confused from what @Lloyd McKenzie @John Moehrke has mentioned that If I am not using hl7 IG, than I am not allowed to use HL7 templates.. when you say HL7 templates what templates we are referring to. Sorry I am confused on this.
John Moehrke (Feb 11 2022 at 12:21):
We are distinguishing the use of HL7 FHIR and the HL7 IG Publisher... from that the output of your publication is a work of HL7 vs a work of some other organization. If the output is not an HL7 work, then you should not use the hl7.fhir.template. That template is for works of HL7.
John Moehrke (Feb 11 2022 at 12:21):
you should use the base template, as I recommended above.
John Moehrke (Feb 11 2022 at 12:26):
You can create your own look-and-feel; this can be done with a standalone template, or with a customized template within your project. This is done with other folders and files that you can add to your project.
John Moehrke (Feb 11 2022 at 12:28):
The three of us talking to you have done this for many non-HL7 projects. For example
John Moehrke (Feb 11 2022 at 12:36):
Here is the guide for using the IG templating - http://build.fhir.org/ig/FHIR/ig-guidance/
Jose Costa Teixeira (Feb 11 2022 at 13:51):
Laxmi Singh said:
Do I need to change this to FHIR.base.remplate
yes, you should- lowercase: fhir.base.template
Is there a problem If I use template value as hl7.fhir.template ?
Yes. If you use the HL7 template, you will have HL7 content that you are not supposed to use, and you will have a bunch of issues that you should avoid
John Moehrke (Feb 11 2022 at 14:08):
Are you publishing this for your own personal need? Or are you publishing this for an organization? An Organization often wants their logo and colors used. This is why you would want to customize the look-and-feel. You can still customize look-and-feel for personal need too.
Lloyd McKenzie (Feb 11 2022 at 17:17):
If you use the HL7 template, you're declaring that the content is owned by and copyright is held by HL7 international - and that you're adhering to HL7 international processes. If that's not the case, you MUST use the 'base' template.
Lloyd McKenzie (Feb 11 2022 at 17:20):
I've added https://github.com/HL7/ig-template-hl7/issues/7 which will hopefully make it harder for people to accidentally use the HL7 template when they shouldn't.
Grahame Grieve (Feb 11 2022 at 19:12):
umm, or you could use your own derivation of the base template
Lloyd McKenzie (Feb 11 2022 at 19:32):
Right. Actually, that's more the expectation - that you derive from the base template with your own template that imposes your own logo, copyright, color-scheme, etc.
Last updated: Apr 12 2022 at 19:14 UTC