FHIR Chat · Capability instead of Conformance · hapi

Stream: hapi

Topic: Capability instead of Conformance


view this post on Zulip Günter Zöchbauer (Dec 07 2016 at 17:54):

With the hapi-fhir-cli 2.1 from http://localhost:8080/baseDstu3/metadata I get a Conformance resource.
Shouldn't there be a Capability resource being returned for DSTU3?
I think I saw it mentioned that hapi-fhir currently returns a Capability and a ConformanceStatement for compatibility reasons.
Is there a way to tell the server to return the Conformance?

view this post on Zulip James Agnew (Dec 07 2016 at 22:07):

In the interest of not totally messing people up with this change (it's a pretty disruptive one obviously.. at least on some platforms) we decided to have 2.1 still return Conformance but also accept CapabilityStatement as a valid response. The main reason being that a few platforms (Python, .NET, previous versions of HAPI) would choke if they got CapabilityStatement back.

The next release (2.2, which is due imminently) will return capability.


Last updated: Apr 12 2022 at 19:14 UTC