FHIR Chat · US Core JSON Schema File · implementers

Stream: implementers

Topic: US Core JSON Schema File


view this post on Zulip Art Huston (Aug 28 2020 at 15:20):

The FHIR Specification includes a JSON Schema File for the specification here https://www.hl7.org/fhir/fhir.schema.json.zip - Are there corresponding JSON Schema Files for the US Core and other profiles If they are, I haven't found them.

view this post on Zulip Grahame Grieve (Aug 28 2020 at 22:17):

we don't generate json schema files for the Implementation guides, since the schema itself doesn't change, only the constraints. It's not clear whether we can usefully generate json schema for the profiles at all, but the whole json schema area is such a problem that I'm not going to take that problem on yet

view this post on Zulip Art Huston (Sep 01 2020 at 13:58):

@Grahame Grieve I'm not clear why the json schema is a problem. Is it because it doesn't do everything that the official FHIR Validator does, or is there another reason?

view this post on Zulip Lloyd McKenzie (Sep 01 2020 at 15:42):

JSON schema is quite new - and the different schema validation tools have different interpretations of the spec and complain about different things that, according to the spec/experts, are legal to do.

view this post on Zulip Grahame Grieve (Sep 01 2020 at 21:20):

and there's lots of things that json schema can't do either - particularly around slicing

view this post on Zulip Art Huston (Sep 02 2020 at 18:53):

Thanks @Grahame Grieve and @Lloyd McKenzie . JSON Schema validation also will not support expresssions like "contained.contained.empty()". There's a good reason why JSON schema validation is not sufficient for FHIR


Last updated: Apr 12 2022 at 19:14 UTC