Stream: committers
Topic: validating examples in the spec
Brian Postlethwaite (Dec 05 2018 at 00:39):
This file doesn't appear to be getting used in the core build, as it contains an invalid binary FHIR contained resource (has a content
property rather than the renamed data
property)
http://build.fhir.org/json-edge-cases.json
Brian Postlethwaite (Dec 05 2018 at 00:39):
Is this intentional in this example?
Or can I fix the example?
Brian Postlethwaite (Dec 05 2018 at 00:51):
While I'm here, what is choice-elements.json
and why is it in the examples-json.zip file?
Grahame Grieve (Dec 05 2018 at 02:02):
choice-elements should not be examples-json. It's a processible list of all the paths that have choices, to help with code generation or whatever
Grahame Grieve (Dec 05 2018 at 02:03):
and please fix the example. It's not registered as a resource, which is why it's not getting validated
Brian Postlethwaite (Dec 05 2018 at 04:56):
Will commit the fixed example.
Will you do the exclusion for the choice-elements?
(also backbone-elements.json if that is still in there too)
Should I assume that package-min-ver.json is ok to be in there?
Grahame Grieve (Dec 05 2018 at 05:44):
thanks and yes I'll exclude it
Last updated: Apr 12 2022 at 19:14 UTC