FHIR Chat · JSON schema · IG creation

Stream: IG creation

Topic: JSON schema


view this post on Zulip Nicolas Riss | Arkhn (Oct 15 2021 at 12:50):

Hello everyone,

is there a way to generate a json-schema when building an ig ? Like the FHIR R4 json-schema

Thanks for your help!

view this post on Zulip Lloyd McKenzie (Oct 15 2021 at 13:11):

@Grahame Grieve

view this post on Zulip Grahame Grieve (Oct 15 2021 at 22:09):

no there's not, and it generally wouldn't be that useful

view this post on Zulip Lloyd McKenzie (Oct 15 2021 at 22:31):

Specifically, JSON schema wouldn't be able to represent vocab constraints, invariants, or slicing - which is the bulk of what happens in IGs. (JSON schema also can't represent mustSupport which is also a primary profiling activity, but that can't be validated by looking at the instances regardless of validation approach.)

view this post on Zulip Nicolas Riss | Arkhn (Oct 18 2021 at 08:25):

Ohh seems logic finally! Thanks a lot!
I will focus on the $validate operation then, thanks!


Last updated: Apr 12 2022 at 19:14 UTC