Stream: IG creation
Topic: Better Presentation for Instances
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:
Grahame Grieve (May 18 2020 at 23:59):
Grahame Grieve (May 19 2020 at 00:00):
I'd like it to have a tabs presentation like this:
Grahame Grieve (May 19 2020 at 00:01):
Grahame Grieve (May 19 2020 at 00:01):
with tabs for:
Narrative | XML | JSON | XML
Eric Haas (May 19 2020 at 00:46):
Mine already look like that
Grahame Grieve (May 19 2020 at 01:17):
one day you'll reconcile with the template, instead of doing your own thing
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.
Lloyd McKenzie (May 19 2020 at 01:33):
The base template already has a Content, Examples, Detailed Descriptions, etc. tabs
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.)
Grahame Grieve (May 19 2020 at 02:39):
it's not presently consistent
Lloyd McKenzie (May 19 2020 at 02:40):
Core isn't consistent?
Grahame Grieve (May 19 2020 at 02:40):
no.
Lloyd McKenzie (May 19 2020 at 02:41):
How and why?
Grahame Grieve (May 19 2020 at 02:41):
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
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?
Grahame Grieve (May 19 2020 at 04:48):
check out this: https://terminology.hl7.org/NamingSystem-icd10.html
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
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
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?
Frank Oemig (May 19 2020 at 06:34):
How to trigger a tab representation? Example? thx
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