Stream: IG creation
Topic: Customizations of IG
Arvid Thunholm (Dec 06 2021 at 14:02):
Hi,
how would I go about I want to customise a valueset, profile or extension in how it presents in the IG? Using template I can add menu-items and pages under that and change the CSS, but the actual text in a profile is derived from the structure-definition I suppose?
Lloyd McKenzie (Dec 06 2021 at 14:29):
The presentation is determined by a combination of content in the artifact (profile, valueset, etc.), supplemental information that is provided as part of the IG that appears before and after the standard artifact information, specific logic written in the publisher that renders the artifacts in different ways, and a set of publishing templates that combines those publisher-generated fragments, intro, notes and other information into an organized web-page. So "how" is somewhat dependent on exactly what you want to customize :)
Arvid Thunholm (Dec 06 2021 at 14:37):
I´m trying to publish a table describing how a specific Valueset should be used mapped to other codesystems without creating a concept map
Lloyd McKenzie (Dec 06 2021 at 15:26):
You could stick that in the 'notes' for the value set if you wanted.
Grahame Grieve (Dec 06 2021 at 18:54):
why wouldn't you create a concept map?
Arvid Thunholm (Dec 07 2021 at 08:15):
I could create a concept map, thats true. A better example: For the Patient profile, I would like to describe how the combination of Address.use, Address.type and an extension we have created should be used to express different kinds of addresses.
Arvid Thunholm (Dec 07 2021 at 08:55):
e.g. in argonaut scheduling, appointment profile they start with a text describing a set of rules for the profile
https://fhir.org/guides/argonaut/scheduling/StructureDefinition-argo-appt.html
Is there a way to acheive that using shorthand and IG publisher?
Grahame Grieve (Dec 07 2021 at 09:56):
well, that's done with the IG publisher, but I'm not sure how
Arvid Thunholm (Dec 07 2021 at 15:15):
@Lloyd McKenzie with notes - did you mean this:
{artifact-file-name}-intro.xml|md: If present, the contents of the file will be placed on the relevant page before the artifact’s definition.
{artifact-file-name}-notes.xml|md: If present, the contents of the file will be placed on the relevant page after the artifact’s definition.
That will work fine
Lloyd McKenzie (Dec 07 2021 at 15:55):
Yes
Last updated: Apr 12 2022 at 19:14 UTC