FHIR Chat · Sampe-IG · IG creation

Stream: IG creation

Topic: Sampe-IG


view this post on Zulip Kevin Mayfield (Nov 24 2019 at 10:14):

I've started creating my own ImplementationGuide based on https://github.com/FHIR/sample-ig

Have managed to publish to github: https://project-wildfyre.github.io/UK-STU3/artifacts.html

I'm using template = hl7.fhir.template

Can I control what is displayed here?
https://project-wildfyre.github.io/UK-STU3/CareConnect-Patient-1.html#profile
I would like to show 'Full View' as default

I think I've got some FHIR versioning issues, can I control the publisher fhir version via a config file or is that in the template?

How do I link examples to the profiles. I've tried this in the ImplementationGuide resource (is this the FHIR version issue)
<resource>
<reference>
<reference value="Patient/1"/>
</reference>
<name value="Patient example"/>
<description value="Level 2 Example"/>
<exampleCanonical value="StructureDefinition/CareConnect-Patient-1"/>
</resource>

view this post on Zulip Kevin Mayfield (Nov 24 2019 at 10:15):

[This is for a demo to HL7 UK] So I can I use the HL7 template temporarily?

view this post on Zulip Grahame Grieve (Nov 24 2019 at 10:31):

yes temporarily.

view this post on Zulip Grahame Grieve (Nov 24 2019 at 10:32):

just write on the page somewhere that this is a proposal for an HL7 sanctioned IG, not yet actually approved

view this post on Zulip Kevin Mayfield (Nov 24 2019 at 12:42):

Have gone back to the default template.

On versioning, an I correct in thinking the ImplementationGuide should be R4 not STU3 (profiles are 3.0.2)

Is it possible to control how the Formal Views of Profile Content is rendered. For most I'd want see full profile view as the default. Some others ('the derived profiles') as I've currently got it.
Screenshot-2019-11-24-at-12.39.50.png

view this post on Zulip Grahame Grieve (Nov 24 2019 at 15:25):

the default is a javascript local store setting, so I don't think you'll be able to set it per page

view this post on Zulip Grahame Grieve (Nov 24 2019 at 15:26):

I'm not quite sure which IG you are asking about the version for?

view this post on Zulip Kevin Mayfield (Nov 24 2019 at 15:27):

The IG I'm working with will be for STU3, the publisher wants a R4 resource.

view this post on Zulip Lloyd McKenzie (Nov 24 2019 at 15:27):

sample-ig, as of mid last week, is now based on fhir.base.template which doesn't include any prohibited logos or anything else FHIR-specific (e.g. assertion of CC-0, pointing to Jira, etc. If you create your own adapted template you can make any changes you like. We're expecting to evolve the HL7 template a resasonable amount in the next 6 months or so.

view this post on Zulip Lloyd McKenzie (Nov 24 2019 at 15:27):

The ImplementationGuide must be 'current' release. All of the other resources can be written in whatever version you like.

view this post on Zulip Kevin Mayfield (Nov 24 2019 at 15:28):

Thanks @Lloyd McKenzie that's what I assumed but couldn't see it written anywhere.

view this post on Zulip Lloyd McKenzie (Nov 24 2019 at 15:28):

Documentation will come soon-ish (hopefully the next couple of weeks)

view this post on Zulip Lloyd McKenzie (Nov 24 2019 at 15:28):

Jira conversion, then DevDays consumed most of the available time.

view this post on Zulip Kevin Mayfield (Nov 24 2019 at 15:38):

Looks good.
I like the differential views (not seen them before..... which explains a few of my comments over the last week or so :) )

view this post on Zulip Grahame Grieve (Nov 24 2019 at 15:40):

you had not seen them? how? that's the first view....

view this post on Zulip Kevin Mayfield (Nov 24 2019 at 15:43):

I've normally worked with main fhir site and UK reference servers (e.g. https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-HeartRate-Observation-1).
Default on UK is full profile.

view this post on Zulip Lloyd McKenzie (Nov 24 2019 at 15:45):

That's a rather overwhelming default... :)

view this post on Zulip Grahame Grieve (Nov 24 2019 at 15:45):

hmm.

view this post on Zulip Kevin Mayfield (Nov 25 2019 at 12:12):

Is it possible to reduce or remove the constraints?

I thought they may be coming from the profiles but seem to be created in the publisher.

pasted image

view this post on Zulip Grahame Grieve (Nov 25 2019 at 16:06):

hmm I thought I had eliminated repeats like that - can I reproduce it so I can debug it?

view this post on Zulip Kevin Mayfield (Nov 25 2019 at 16:17):

What do you need? This profile does it https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1

view this post on Zulip Grahame Grieve (Nov 25 2019 at 16:18):

I can't build that one...

view this post on Zulip Kevin Mayfield (Nov 25 2019 at 16:54):

Is this better https://project-wildfyre.github.io/UK-STU3/StructureDefinition-CareConnect-Slot-1.xml
Should return a resource with no modifications

view this post on Zulip Grahame Grieve (Nov 27 2019 at 22:43):

still not sure how this helps me with the repeated constraints - where are they?

view this post on Zulip Kevin Mayfield (Nov 29 2019 at 08:11):

I don't have repeated constraints in the resources, they appear in the generated html.

view this post on Zulip Grahame Grieve (Nov 29 2019 at 09:17):

which generated html? there's lots of different generated html - if I can reproduce it, I can fix it...

view this post on Zulip Kevin Mayfield (Nov 29 2019 at 10:05):

What do you need to reproduce?

view this post on Zulip Kevin Mayfield (Nov 29 2019 at 10:12):

I'm hopeful of getting a UK base IG in an hour or so. If that helps

view this post on Zulip Grahame Grieve (Nov 29 2019 at 10:40):

the repeating lines in the html somewhere - I need to debug the html generation code

view this post on Zulip Kevin Mayfield (Nov 29 2019 at 12:14):

The IG has grown pretty huge (I'm needing a 8 gig heap to publish). I'll see if I can get a smaller one to exhibit the same behaviour.


Last updated: Apr 12 2022 at 19:14 UTC