FHIR Chat · StructureDefinition to JSON Schema · implementers

Stream: implementers

Topic: StructureDefinition to JSON Schema


view this post on Zulip Amrit (Dec 01 2020 at 10:46):

Is there any readily available utility to generate JSON schema from StructureDefinition?

view this post on Zulip Lloyd McKenzie (Dec 01 2020 at 16:58):

Are you looking for schemas for the resources overall or for specific profiles?

view this post on Zulip Matt Ping (Dec 01 2020 at 17:02):

I haven't seen something that does that, but the team I'm on has been using this: https://github.com/lantanagroup/FHIR.js . It works really well at validating FHIR payloads

view this post on Zulip Amrit (Dec 02 2020 at 04:05):

@Lloyd McKenzie at this time, looking specifically for US Core, but also wondering if there is a utility which can generate JSON schema for any given IG profiles

view this post on Zulip Lloyd McKenzie (Dec 02 2020 at 04:13):

My understanding is that JSON schema isn't able to handle some key profile concepts, like slicing. @Grahame Grieve, do you know if anyone is generating profile JSON schemas?

view this post on Zulip Grahame Grieve (Dec 06 2020 at 23:42):

not to my knowledge


Last updated: Apr 12 2022 at 19:14 UTC