FHIR Chat · validation · argonaut

Stream: argonaut

Topic: validation


view this post on Zulip James Agnew (May 17 2019 at 09:27):

Am I missing something, or is it not possible to validate resources for conformance to the DSTU2 based argonaut profiles using the FHIR validator?

The validation pack available at ( http://www.fhir.org/guides/argonaut/r2/downloads.html ) seems to have various bits of content that aren't actually valid in DSTU2, e.g. I see the following error:

..file: ValueSet-substance-ndfrt.json ..file: ValueSet-condition-category.json ..file: StructureDefinition-argo-condition.jsonException in thread "main" java.lang.Exception: Error parsing StructureDefinition-argo-condition.json: Unknown ContactPointSystem code 'url' at org.hl7.fhir.r5.validation.ValidationEngine.loadIg(ValidationEngine.java:729) at org.hl7.fhir.r5.validation.Validator.main(Validator.java:373) Caused by: java.lang.IllegalArgumentException: Unknown ContactPointSystem code 'url'

Manually correcting this in the SD just reveals other similar errors. I have a working branch of the validator that loosens the strictness of the profile parsing in order to work around this, but I am wondering if I've missed something fundamental before proposing changes to the validator itself. @Grahame Grieve

view this post on Zulip Grahame Grieve (May 17 2019 at 22:23):

you should use the package (package.tgz) - I should remove the validation pack, it's not being maintained.

view this post on Zulip James Agnew (May 18 2019 at 13:49):

Ahhh I didn't see a link to the package on the argo IG. It looks like it's there but there's no user visible link.

view this post on Zulip Eric Haas (May 18 2019 at 15:25):

Argo ig published before there were packaged. So no links exposed.

view this post on Zulip Josh Mandel (May 18 2019 at 15:26):

Wait, so what's the official process to use these tools to validate Argonaut DSTU2 conformance?

view this post on Zulip Eric Haas (May 18 2019 at 20:20):

They are there I think Grahame added them. Just no link in the spec to them. Can find them in the repo

view this post on Zulip Eric Haas (May 18 2019 at 20:21):

Lots of IG predate packages and only publish a link to the definitions file


Last updated: Apr 12 2022 at 19:14 UTC