Stream: dotnet
Topic: Accepting multiple FHIR versions
Tim Balasavage (Oct 16 2019 at 21:22):
I have an application that needs to retrieve more than one version of FHIR. For instance, one integrator uses v2 but another v3. Is there a common paradigm that is used to check the CapabilityStatement and render or use the corresponding model based on the version from the CapabilityStatement?
Michel Rutten (Oct 18 2019 at 08:08):
A FHIR server can support multiple FHR versions on a single endpoint. The $versions operation allows you to discover this: http://hl7.org/fhir/capabilitystatement-operation-versions.html
Alternatively, you can verify CapabilityStatement.fhirVersion
:
http://hl7.org/fhir/capabilitystatement-definitions.html#CapabilityStatement.fhirVersion
Last updated: Apr 12 2022 at 19:14 UTC