FHIR Chat · Current Rendering Issues · IG creation

Stream: IG creation

Topic: Current Rendering Issues


view this post on Zulip Brian Reinhold (Sep 19 2018 at 09:25):

Now that I have got a set of profile structure definitions rendering in a minimal guide basically using

{% include table-structuredefinitions.xhtml %}

I see the following issues:
1. The Device.property rendering has incorrect order: Have valueQuantity, type, valueCode : should be type, valueQuantity, valueCode
2. Issues with rendering a derived profile (the base profile renders ok)
- Slices on CodeableConcept coding elements are not rendered in components. value[x] elements rendered ok
- Diff of derived resource does not contain diff of base resource. The reader has to look at both diff fields to see how the derived resource is constrained from the base FHIR resource. That requirement is hard on the reader. Its hard enough that the IG developer seriously considers not using Base resources so the reader can more easily understand what the profile is doing. The cost to the developer of the IG guide is the potential for misses when updating/making changes (forgetting to make the same change in all copies of what would have been the Base).

view this post on Zulip Brian Reinhold (Sep 19 2018 at 10:54):

Solved one of the issues
Slices on CodeableConcept coding elements are not rendered in components. value[x] elements rendered ok

Needed to place this extra element before the codings

    <element id="Observation.component:[sliceName].code">
      <path value="Observation.component.code" />
    </element>

view this post on Zulip Grahame Grieve (Sep 21 2018 at 02:57):

I don't know what this means:

Diff of derived resource does not contain diff of base resource

view this post on Zulip Brian Reinhold (Sep 21 2018 at 08:34):

I don't know what this means:

Diff of derived resource does not contain diff of base resource

@Grahame Grieve What that mean is that I have two profiles; a base profile common to N other profiles based on the Observation resource. The other N profiles are based upon the base profile. When I look at the 'diff' of one of the inherited profiles, the diff of the base profile is not included. What an implementer is really interested in is how the inherited profile differs from the Observation which is the base spec.

What I could do instead is not define a base profile at all but simply copy it N times into the inherited profiles. That would give a result much friendlier to the reader of the IG. But it would make maintenance a lot more error prone (forget to update a change in all N places).

view this post on Zulip Grahame Grieve (Sep 21 2018 at 10:51):

well, I don't agree that it would be much more friendlier - it depends on what the reader wants

view this post on Zulip Grahame Grieve (Sep 21 2018 at 10:52):

I'll add generating it to my wishlist

view this post on Zulip Brian Reinhold (Sep 22 2018 at 00:08):

well, I don't agree that it would be much more friendlier - it depends on what the reader wants

I was thinking just to see how the profile has restricted/modified the base FHIR resource. Actually I expected to see everything I entered in my differential field displayed in the diff rendering.

view this post on Zulip Grahame Grieve (Sep 22 2018 at 00:50):

what is not displayed?

view this post on Zulip Brian Reinhold (Sep 22 2018 at 10:01):

what is not displayed?

definitions, comments, (short is displayed so I have made a lot of use of that). I guess that's about it, at least of that I used. I think I had to make a -dict rendering to see those. Also, on the FHIR pages, when one clicks on an element in the structure definition one comes to the 'dict' page. That does not happen in these renderings. Is that something in the plans? A diict page might be nice to have in addition to the diff and snapshor in the rendered Tables.

view this post on Zulip Lloyd McKenzie (Sep 22 2018 at 14:30):

The IGPublisher does produce a dict page, however you need to define a template that exposes it.

view this post on Zulip Eric Haas (Sep 24 2018 at 20:51):

I resolved all the conflicts. some of them are build generated artifacts and I am banking on them being rebuilt with each new build.


Last updated: Apr 12 2022 at 19:14 UTC