Stream: IG creation
Topic: codeSystem narrative and properties
John Moehrke (Jul 03 2020 at 13:42):
With my CodeSystem I can get narrative into the IG, or I can get the concepts rendered. How do I get both?
For example: http://build.fhir.org/ig/IHE/FormatCode/branches/master/formatcode.html
Eric Haas (Jul 03 2020 at 19:25):
I am confused - what is being currectly displayed in your example is the narrative for that code system. It is probably generated. What do you mean by the 'concepts rendered'. i.e. what do you want to display exactly?
John Moehrke (Jul 03 2020 at 20:29):
I have commented out my .text element because if it exists then the IG build will not show the codes. I want the IG build to display the codes like it has done now, and also my narrative that explains the codesystem
Grahame Grieve (Jul 03 2020 at 20:51):
put that narrative in the description
Eric Haas (Jul 03 2020 at 20:53):
I like grahames option or....
- in the most recent templates you can add intros before or notes after the default content by creating a markdown file ( or html for masochists) in the folder input/pagecontent and naming it [type]-[id]-intro.md or [type]-[id]-intro.md
for example: for input/resources/CodeSystem-blah-codes.xml id = blah-codes
custom intro would be input/pagecontent/CodeSystem-blah-codes-intro.md
custom notes would be input/pagecontent/CodeSystem-blah-codes-notes.md
this won't be part of the resource but part of the ig.
otherwise could try:
- you could copy and paste the generated output and add to your custom narrative.
- don't recall if this works but you could try adding liquid to your narrative to
{% include [generated fragments] %}
John Moehrke (Jul 07 2020 at 13:59):
Grahame Grieve said:
put that narrative in the description
I do have .description, it doesn't show up.
John Moehrke (Jul 07 2020 at 14:40):
I needed the new template. got it now, so now shows up fine.
Last updated: Apr 12 2022 at 19:14 UTC