FHIR Chat · ig publisher error for Contract resource type · implementers

Stream: implementers

Topic: ig publisher error for Contract resource type


view this post on Zulip Sean McIlvenna (May 30 2017 at 19:00):

CCDA-on-FHIR-Consent.xml
I have this StructureDefinition that seems OK to me... but, the IG Publisher is failing with the following error:
Snapshot for http://hl7.org/fhir/ccda/StructureDefinition/CCDA-on-FHIR-Consent does not contain differential element with id: Contract.type.coding.code
I have checked the spec, and Contract.type IS a "CodeableConcept" data-type, so "Contract.type.coding.code" should exist. @Lloyd McKenzie do you think this is a bug?

view this post on Zulip Grahame Grieve (May 30 2017 at 19:02):

it's probably a bug. can you add it to build\tests\resources\snapshot-generation-tests.xml and then we can look at it?

view this post on Zulip Sean McIlvenna (May 30 2017 at 19:39):

Sure I'll give that a go. I haven't done anything with build/test/resources/snapshot-generation-tests.xml
but, i'll add one by example of others

view this post on Zulip Grahame Grieve (May 30 2017 at 19:42):

I'm trying to move this part of the infrastructure (snapshot generation/ validation) to a TDD basis

view this post on Zulip Sean McIlvenna (May 30 2017 at 19:54):

Ok. Committed change #12057
Hopefully I did it right...

view this post on Zulip Sean McIlvenna (Jun 06 2017 at 19:33):

Any update on this?

view this post on Zulip Lloyd McKenzie (Jun 07 2017 at 01:11):

We're playing with snapshot generation & validation today.

view this post on Zulip Grahame Grieve (Jun 07 2017 at 01:20):

you did. I fixed a bug in the code, but there were bugs in your test as well:
- the FHIRPath statements were wrong - for pattern[x], you don't use patternCode, you use just pattern
- in the differential, you have to either get the order correct, or ask for the diff to be sorted and not use a sparse differential

view this post on Zulip Grahame Grieve (Jun 07 2017 at 01:20):

sorting is not supported for sparse differentials

view this post on Zulip Eric Haas (Jun 07 2017 at 02:24):

nm


Last updated: Apr 12 2022 at 19:14 UTC