FHIR Chat · Profile detailed validation · tooling

Stream: tooling

Topic: Profile detailed validation


view this post on Zulip Diego Bosca (Jul 07 2019 at 20:42):

I'm generating a profile automatically and I would want to test it for errors. I have tried Forge but the message I get is "Oops! Null reference exception... if the problem persists, please contact support"

I'm 100% sure that the error is on my end, so I was wondering if there is any tool that can analyze a profile and give me a detailed validation

view this post on Zulip Vadim Peretokin (Jul 08 2019 at 06:18):

Yes there are java and .net validators. If you'd like - I have a preview of an app I'm working on that uses both: https://github.com/health-validator/Hammer

view this post on Zulip Diego Bosca (Jul 08 2019 at 07:39):

Thanks! I'll give it a try

view this post on Zulip Diego Bosca (Jul 08 2019 at 19:42):

I have managed to use hammer successfully to debug STU3 profiles. Anything similar for validating R4 profiles?

view this post on Zulip Vadim Peretokin (Jul 09 2019 at 07:32):

Not that I know of... need to add R4 support to Hammer (or you can try!)

view this post on Zulip Brian Postlethwaite (Jul 09 2019 at 08:40):

Need a bigger hammer?

view this post on Zulip Diego Bosca (Jul 09 2019 at 10:18):

If it has to validate several FHIR versions then is more like a Swiss knife :D

view this post on Zulip Michel Rutten (Jul 16 2019 at 10:07):

Hi @Diego Bosca, Forge is not supposed to throw nasty NullReference exceptions... thanks for reporting this. Could you share the profile that provokes the error with me? This will allow us to investigate, reproduce and hopefully fix this in the next release.

view this post on Zulip Diego Bosca (Jul 16 2019 at 10:14):

Hi @Michel Rutten , I can try to find it, but it was an erroneous profile. It had wrong ids with colliding paths, probably Forge didn't like it a bit (with all reason :)
Let me search if I still have it around here

view this post on Zulip Michel Rutten (Jul 16 2019 at 11:20):

Still, Forge should gracefully report invalid constraints, not throw an exception... so if you can find the profile, I may be able to fix the issue.


Last updated: Apr 12 2022 at 19:14 UTC