FHIR Chat · FHIR validation for ndjson · implementers

Stream: implementers

Topic: FHIR validation for ndjson


view this post on Zulip Richard Braman (Sep 14 2020 at 21:59):

Is there anyway to make the FHIR validator validate ndjson resources?

view this post on Zulip Yunwei Wang (Sep 15 2020 at 14:40):

I send to validator line by line. If there is a way to validate the whole file, it would be nice. I assume one hurdle is to decide the profile(s) used by those lines. For example, Observation has many applicable profiles, such as body weight or blood pressure.

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

@Grahame Grieve

view this post on Zulip Richard Braman (Sep 15 2020 at 22:20):

Lets assume that all resources in a given ndjson all conform (supposedly that's why we are validating) to the same profile.

view this post on Zulip Grahame Grieve (Sep 15 2020 at 22:38):

I put it on my todo list

view this post on Zulip Alexander Kiel (Sep 16 2020 at 10:10):

Isn't meta.profile the way to specify the profiles a resource should conform to?

view this post on Zulip Grahame Grieve (Sep 16 2020 at 11:58):

it's not the only way, and I strongly recommend not to do it if the only reason is for the validator


Last updated: Apr 12 2022 at 19:14 UTC