FHIR Chat · Integrate a Non-FHIR-File in IG · IG creation

Stream: IG creation

Topic: Integrate a Non-FHIR-File in IG


view this post on Zulip Michaela Ziegler (Dec 09 2020 at 10:30):

How can I integrate a non-FHIR file (e.g. xml) into the IG so that I can link to it? I have seen examples that include files in the input/images folder, but it is not actually an image...

view this post on Zulip Grahame Grieve (Dec 09 2020 at 10:31):

it's just another page

view this post on Zulip Michaela Ziegler (Dec 09 2020 at 13:27):

Grahame Grieve said:

it's just another page

The XML file is not generated in the output folder if I put the XML in the input/pagecontent folder and add the following in the ImplementationGuide resource:

 <page>
        <nameUrl value="Example123.xml"/>
        <title value="Example 123"/>
        <generation value="xml"/>
 </page>

What am I doing wrong?

view this post on Zulip Lloyd McKenzie (Dec 09 2020 at 15:19):

The images folder is where you dump stuff that you want migrated into the publication with no transformation/manipulation. If you have a proposal for a better name for the folder, feel free to suggest :)

view this post on Zulip Lloyd McKenzie (Dec 09 2020 at 15:22):

You only represent something as a 'page' if you want to generate an HTML page. If it's just a 'resource' file, then you don't want to treat it as a page. As an example, in the CDISC Mapping IG, I've got an XML file that is a semi-computable representation of the mappings. We didn't use StructureMap because that was too heavy for what we were trying to accomplish. So it's just custom XML. We did want to provide it to consumers of the IG in case they wanted to come up with their own renderings/transformations of it. I just stuck it in the 'images' folder and it migrates fine.

view this post on Zulip Michaela Ziegler (Dec 09 2020 at 16:22):

thanks @Grahame Grieve and @Lloyd McKenzie


Last updated: Apr 12 2022 at 19:14 UTC