FHIR Chat · Validator Output · conformance

Stream: conformance

Topic: Validator Output


view this post on Zulip Grahame Grieve (Aug 01 2019 at 06:38):

It's not clear to me what the validator should do with output from validating referred resources. In generally, the validator is going to accumulate a lot of errors if it is testing profiles, since errors mean this resource isn't one of the ones that conform to this profile. Which could be 10000s of errors in a bundle, all of which are perfectly expected and of no interest to anyone. I don't think the validator knows how to know whether they are of interest or not

view this post on Zulip Michel Rutten (Aug 01 2019 at 08:51):

@Ewout Kramer?

view this post on Zulip Ewout Kramer (Aug 01 2019 at 13:32):

What is the context? Was there a bug report? What does "this iresource isn't one of the ones that conform to this profile mean"? A referenced resource must conform to the targetProfile in the reference right? And if there's no target profile, it's checked against the core profile? Why would 10000 errors be expected in this case? I think I miss some background information....

view this post on Zulip Lloyd McKenzie (Aug 01 2019 at 14:57):

If there are multiple candidate profiles, you check against each and only report issues if none of the profiles match

view this post on Zulip Grahame Grieve (Aug 01 2019 at 19:27):

a repeating element sliced by profiles, for example

view this post on Zulip Lloyd McKenzie (Aug 01 2019 at 19:51):

If you're slicing by profiles, you wouldn't report errors for the non-matched profiles unless none of them matched.


Last updated: Apr 12 2022 at 19:14 UTC