Stream: implementers
Topic: StructureDefinition to JSON Schema
Amrit (Dec 01 2020 at 10:46):
Is there any readily available utility to generate JSON schema from StructureDefinition?
Lloyd McKenzie (Dec 01 2020 at 16:58):
Are you looking for schemas for the resources overall or for specific profiles?
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
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
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?
Grahame Grieve (Dec 06 2020 at 23:42):
not to my knowledge
Last updated: Apr 12 2022 at 19:14 UTC