FHIR Chat · profile intro.md · IG creation

Stream: IG creation

Topic: profile intro.md


view this post on Zulip Nathan Davis (Jan 21 2022 at 22:16):

I'm not sure whether to put this here or the shorthand stream. I recently migrated my IG to FSH. I have many xxxprofile-intro.md pages. With the older format these would be generated into html pages that included anything I had in the .md along with the formal views of the profile. Now, using FSH, I get two pages generated, one with the intro information without the profile formal views and another with the profiles views without the intro.md info. My repo is at https://github.com/HL7/cimi-vital-signs

view this post on Zulip Jean Duteau (Jan 21 2022 at 22:21):

this isn't a FSH thing. This is a new template thing and your intro pages are named incorrectly. It has to be in the form of:
StructureDefinition-<ProfileID>-intro.md

view this post on Zulip Nathan Davis (Jan 24 2022 at 15:04):

@Jean Duteau I've changed all the intro file names to the format you said and still not seeing the intro combined with the formal profile views. I know I'm doing something wrong I just can't tell what.

view this post on Zulip David Pyke (Jan 24 2022 at 15:08):

Make sure the file name is the same as the final html name that the IG generates, even to matching the case (it's sensitive that way).

view this post on Zulip David Pyke (Jan 24 2022 at 15:09):

So if you get StructureDefinition-MyPRofile.html it has to be StructureDefinition-MyPRofile-intro.md

view this post on Zulip Jean Duteau (Jan 24 2022 at 15:16):

I was coming to say exactly what Dave said. As an example, the ID of your AverageBloodPressure profile is: average-blood-pressure. Your file is named 'StructureDefinition-AverageBloodPressure-intro.md'. It needs to use the ProfileID as I listed above and not the Profile name. So it would be 'StructureDefinition-average-blood-pressure-intro.md'.

view this post on Zulip Nathan Davis (Jan 24 2022 at 15:48):

Thank you both. So many things to change when migrating to FSH. it's now working.

view this post on Zulip Jean Duteau (Jan 24 2022 at 15:52):

You also explicitly listed all of the intro pages in your sushi-config for some reason. I removed those changed the name of your intro files and it all worked as desired. Finally, I found the following things:
ignore-warnings.txt - you have a spelling mistake in the first line so it doesn't think it is the latest format. Change 'Supressed' to 'Suppressed'.
sushi-config.yaml - you need to list all of your pages that you want here. At the minimum, list terminology.md, but all of your other main pages (searchparameters, security, etc.) should be listed here. Basically either list all of your pages or list none.

view this post on Zulip Nathan Davis (Jan 24 2022 at 18:20):

@Jean Duteau Thank you for the help!


Last updated: Apr 12 2022 at 19:14 UTC