FHIR Chat · Validation options on different platforms · conformance

Stream: conformance

Topic: Validation options on different platforms


view this post on Zulip Morten Ernebjerg (Nov 28 2019 at 14:53):

I was wondering if there exists a list of libraries for validation on different platforms/languages. I particularly mean libraries that do not necessarily provide full "gold standard" validation, but still work with custom profiles (i.e. go beyond JSON schema validation against the base resource schemata). Apart from the Java/HAPI validator and the Simplifier/Vonk one, the only one I am aware of is the fhir NPM package. The validation page from the spec does not mention a lot of options, but maybe I just looked in the wrong places.

view this post on Zulip Lloyd McKenzie (Nov 28 2019 at 15:46):

@Grahame Grieve

view this post on Zulip Grahame Grieve (Nov 28 2019 at 15:47):

I don't know of any other options. There was a pascal option, but I just can't keep that up to date

view this post on Zulip Morten Ernebjerg (Dec 02 2019 at 08:35):

OK, thanks! Are there thoughts about making the Java validator available on other platforms via cross-platform "bridges", e.g. smt. like Kotlin native?

BTW, @nicola (RIO/SS), how do you handle validation for AidBox/fhirbase?

view this post on Zulip nicola (RIO/SS) (Dec 02 2019 at 08:45):

OK, thanks! Are there thoughts about making the Java validator available on other platforms via cross-platform "bridges", e.g. smt. like Kotlin native?

BTW, nicola (RIO/SS), how do you handle validation for AidBox/fhirbase?

In Aidbox we compile SD to extended JSON-SCHEMA and use it for validation!

view this post on Zulip Morten Ernebjerg (Dec 02 2019 at 09:05):

@nicola (RIO/SS) Ah, thanks! When you say "extended JSON-SCHEMA", do you mean that you "pad" the schema validator with custom validation logic e.g. for constraints?

view this post on Zulip nicola (RIO/SS) (Dec 02 2019 at 09:06):

Yes, we added couple of custom keywords to json-schema :)

view this post on Zulip Grahame Grieve (Dec 02 2019 at 09:40):

Are there thoughts about making the Java validator available on other platforms via cross-platform "bridges",

well, sort of. I defined NativeHostServices to make it easy (easy-ish) to load the validator in any server

view this post on Zulip Morten Ernebjerg (Dec 02 2019 at 11:51):

@Grahame Grieve Good to know, didn't know about that.

view this post on Zulip Grahame Grieve (Dec 02 2019 at 12:19):

It’s intended to be easy to use across JNI


Last updated: Apr 12 2022 at 19:14 UTC