FHIR Chat · Better Presentation for Instances · IG creation

Stream: IG creation

Topic: Better Presentation for Instances


view this post on Zulip Grahame Grieve (May 18 2020 at 23:59):

I'd like to fix up the instance (example) presentation in the IG template. Presently it looks like this:

view this post on Zulip Grahame Grieve (May 18 2020 at 23:59):

image.png

view this post on Zulip Grahame Grieve (May 19 2020 at 00:00):

I'd like it to have a tabs presentation like this:

view this post on Zulip Grahame Grieve (May 19 2020 at 00:01):

image.png

view this post on Zulip Grahame Grieve (May 19 2020 at 00:01):

with tabs for:

Narrative | XML | JSON | XML

view this post on Zulip Eric Haas (May 19 2020 at 00:46):

Mine already look like that

view this post on Zulip Grahame Grieve (May 19 2020 at 01:17):

one day you'll reconcile with the template, instead of doing your own thing

view this post on Zulip Lloyd McKenzie (May 19 2020 at 01:32):

You're not supposed to have a 'mine' anymore @Eric Haas... New IGs should be using one of the HL7 templates and old IGs should be migrating to them.

view this post on Zulip Lloyd McKenzie (May 19 2020 at 01:33):

The base template already has a Content, Examples, Detailed Descriptions, etc. tabs

view this post on Zulip Lloyd McKenzie (May 19 2020 at 01:35):

We don't have sub-tabs for the content in part because each 'format' also has multiple representations - the 'pretty' view and the 'raw' view. We were also adhering to how things are published in the core spec. If we're going to change how the IG templates work, we should make a corresponding change to core. (Consistency in the IGs and core is important to keep the learning curve as low as possible.)

view this post on Zulip Grahame Grieve (May 19 2020 at 02:39):

it's not presently consistent

view this post on Zulip Lloyd McKenzie (May 19 2020 at 02:40):

Core isn't consistent?

view this post on Zulip Grahame Grieve (May 19 2020 at 02:40):

no.

view this post on Zulip Lloyd McKenzie (May 19 2020 at 02:41):

How and why?

view this post on Zulip Grahame Grieve (May 19 2020 at 02:41):

image.png

view this post on Zulip Grahame Grieve (May 19 2020 at 02:41):

so IGs are already different. I'd be happy to make the main spec match what I'm proposing for IGs for a future release

view this post on Zulip Lloyd McKenzie (May 19 2020 at 02:44):

So you're not saying there are inconsistencies within core? Agree that there are differences in the wording and formatting. Happy to make those go away. Not so sure about having a set of tabs directly below a set of tabs. Do you want to mock up exactly what you think it should look like?

view this post on Zulip Grahame Grieve (May 19 2020 at 04:48):

check out this: https://terminology.hl7.org/NamingSystem-icd10.html

view this post on Zulip Grahame Grieve (May 19 2020 at 04:49):

there's no tabs on that page. I'm not proposing tabs in tabs, just to have tabs for Narrative | XML | JSON | Turtle

view this post on Zulip Lloyd McKenzie (May 19 2020 at 05:02):

Ideally, for a NamingSystem, we wouldn't be publishing it as an 'example' at all, but ok, I understand what you mean

view this post on Zulip Jose Costa Teixeira (May 19 2020 at 06:20):

I think that is a good improvement. What would be in narrative? The narrative text exactly as it is in the resource?

view this post on Zulip Frank Oemig (May 19 2020 at 06:34):

How to trigger a tab representation? Example? thx

view this post on Zulip Grahame Grieve (May 19 2020 at 07:45):

narrative would be what is displayed now. I'm only proposing a cosmetic fix


Last updated: Apr 12 2022 at 19:14 UTC