FHIR Chat · Validation and CapabilityStatement · conformance

Stream: conformance

Topic: Validation and CapabilityStatement


view this post on Zulip Kevin Mayfield (Jun 13 2020 at 05:08):

Looking at https://www.hl7.org/fhir/validation.html and in particular Screenshot-2020-06-13-at-05.51.59.png

It mentions CapabilityStatement, is that part of the FHIR Validator? Some ideas on it's use:

In my HAPI JPA servers I've been using CapabilityStatements to control how a server validates. So if I receive a Patient, I would look at this to find the profile I support and then validate the resource against this (ignoring the supplied resource.meta.profile).

In addition for message bundles (not hapi jpa) I would use CapabilityStatement to check messages received against MessageDefinitions I support. Then control validation of the Bundle via the matched MessageDefinition. So if MessageDefinition says MedicationRequest profile A, I validate MedicationRequests in the Bundle against profile A).

Does this behavior sound correct?

view this post on Zulip Grahame Grieve (Jun 13 2020 at 05:41):

I have a todo to publish an agreement from Sydney about how to extend CapabilityStatement to map between resources and profiles they should conform to

view this post on Zulip Kevin Mayfield (Jun 13 2020 at 06:58):

@Dave Barnet @Marcus Fearnett any thoughts? I'm planning to add MessageDefinitions to my work and we should suggest FHIR Server behavior is similar to above?


Last updated: Apr 12 2022 at 19:14 UTC