FHIR Chat · IG Builder snapshot generation · conformance

Stream: conformance

Topic: IG Builder snapshot generation


view this post on Zulip Brian Postlethwaite (Dec 15 2017 at 00:38):

My IG is defined using StructureDefs rather than spreadsheets.
I've stripped the snapshots to let the build re-generate them. And wondering if there is an issue with doing this, as it doesn't seem to be doing it correctly.
(yes its against the R4 continuous build now)
http://build.fhir.org/ig/HL7/VhDir/StructureDefinition-vhdir-practitioner.html
https://github.com/HL7/VhDir/blob/master/resources/vhdir-practitioner.structuredefinition.xml

view this post on Zulip Dusica Bojicic (Dec 15 2017 at 01:09):

Hi @Brian Postlethwaite, we've had the same issue. All our StructureDefinitions include the differential only and no snapshot content. In your case the build only includes the first differential change ( id="Practitioner.language) and other ones are ignored. If you include resource type as the first entry in your differential (element id="Practitioner") & path the snapshot content should generate fine with all changes defined in your differential.

view this post on Zulip Brian Postlethwaite (Dec 15 2017 at 01:16):

Thanks, I've just discovered that too!
Great to have the confirmation.
Are you targetting the R4 build, or STU3?
i'm curious what value you have in ig.json specification, does that need

 "specification":"http://build.fhir.org"

view this post on Zulip Dusica Bojicic (Dec 15 2017 at 01:21):

We are building against STU3; ig.json includes "specification": "http://hl7.org/fhir/STU3/"

view this post on Zulip Grahame Grieve (Dec 15 2017 at 01:22):

unlike spreadsheets, differentials in StructureDefinitions must be in the correct sort order


Last updated: Apr 12 2022 at 19:14 UTC