FHIR Chat · Client behavior clarification · versioned API

Stream: versioned API

Topic: Client behavior clarification


view this post on Zulip Kevin Olbrich (May 12 2018 at 10:09):

Scenario: Client requests only application/fhir+json;fhirVersion=3.0 and the server does not support the versioned api headers it will return Content-Type: application/fhir+json with data that may be a different version. The client would need to detect that this is an error and respond appropriately.

view this post on Zulip Kevin Olbrich (May 12 2018 at 12:24):

Proposed behavior: Client requests a CapabilityStatement with Accept header set to include versions the client is willing to support. If the returned capability statement specifies a version that is not in that set of versions, that is an error and the client should raise an exception or otherwise indicate an error.


Last updated: Apr 12 2022 at 19:14 UTC