FHIR Chat · StructureDefinition Folder · IG creation

Stream: IG creation

Topic: StructureDefinition Folder


view this post on Zulip Jefferson (Jun 11 2019 at 18:47):

My official URL for this profile is http://nccn.org/fhir/StructureDefinition/order-template when I run the IG tool it is not creating a folder name StructureDefinition? Is that something I need to create and move the files into that folder? It will create the file StructureDefinition-order-template.html.

view this post on Zulip Lloyd McKenzie (Jun 11 2019 at 18:48):

@Grahame Grieve Should the IGPublisher be creating the relevant redirects for the different URL representations of the resource? Is this something that's even possible to do when you don't know what the web server will be?

view this post on Zulip Grahame Grieve (Jun 11 2019 at 18:51):

only creates those when I run it in a special publication mode

view this post on Zulip Grahame Grieve (Jun 11 2019 at 18:51):

because they are meaningless except for the canonical location

view this post on Zulip Jefferson (Jun 11 2019 at 18:59):

Is that a switch I need to add?

view this post on Zulip Grahame Grieve (Jun 11 2019 at 19:01):

not that simple. it's a longer discussion. when you publish, do you follow the HL7 publishing pattern with regard to version - that is, package-list.json, a history page built using http://hl7.org/fhir/history.js, the current version published at [canonical] and all versions at [canonica]/[folder] ?

view this post on Zulip Jefferson (Jun 11 2019 at 19:07):

I dont believe so, I dont see a package-list.json file.

view this post on Zulip Jefferson (Jun 11 2019 at 19:27):

Would I need to change the file name StructureDefinition-order-template.html to StructureDefinition\order-template.html

view this post on Zulip Grahame Grieve (Jun 11 2019 at 19:42):

no. it doesn't matter what you call it - the IG publisher knows where you put it, and will generate the appropriate redirects. If , that is, you follow the publishing pattern

view this post on Zulip Jefferson (Jun 11 2019 at 19:50):

hmmm not sure that I understand how this is going to work. so the IG publisher tool created a file StructureDefinition-order-template.html the URL for this profile is StructureDefinition/order-template. I dont see a redirects that will route this page.

view this post on Zulip Grahame Grieve (Jun 11 2019 at 19:53):

the IG publisher will create the redirect

view this post on Zulip Grahame Grieve (Jun 11 2019 at 19:54):

when you run it in maintain-publications mode

view this post on Zulip Grahame Grieve (Jun 11 2019 at 19:54):

but you can only run that mode if the preconditions are met


Last updated: Apr 12 2022 at 19:14 UTC