FHIR Chat · Validation - Reject resource if no meta.profile · implementers

Stream: implementers

Topic: Validation - Reject resource if no meta.profile


view this post on Zulip Andreas (Jun 11 2020 at 10:07):

Hi, we are implementing validation on our FHIR-server with HAPI, and are using the RequestValidatingInterceptor with a ValidationSupportChain consisting of DefaultProfileValidationSupport, PrePopulatedValidationSupport, InMemoryTerminologyServerValidationSupport. We have loaded our own StructureDefinitions into the PrePopulatedValidationSupport and want to only validate against these. This works if the resource contains a profile-url in meta.profile. But if the client does not provide a meta.profile-url, they can get around validating against our provided StructureDefinitions.

Is it possible with HAPI (or the validator) to reject any resource that does not conform to our provided StructureDefinitions?

view this post on Zulip Michele Mottini (Jun 11 2020 at 13:38):

Try the #hapi stream

view this post on Zulip Jose Costa Teixeira (Jun 11 2020 at 13:40):

yes, I also want to know how, and will ask this in the HAPI stream

view this post on Zulip Michele Mottini (Jun 11 2020 at 13:42):

(I am trying to push HAPI-specific stuff to #hapi to make #implementers less noisy)


Last updated: Apr 12 2022 at 19:14 UTC