-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for MIME-type parameter fhirVersion #896
Comments
tbieste
added a commit
that referenced
this issue
May 26, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
May 26, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
May 26, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
May 26, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
May 27, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 2, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 2, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 2, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 2, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 2, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 3, 2021
Issue #896 - Add checking for MIME-type parameter fhirVersion
Confirmed that using PUT or POST with a fhirVersion other than 4.0 or 4.0.1 results in a 415 Unsuported Media Type with an error like:
Also confirmed that a GET request with an Accept header with fhirVersion other than 4.0 or 4.0.1 results in a 406 Not Acceptable with a response like:
|
tbieste
added a commit
that referenced
this issue
Jun 9, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 9, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 9, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
tbieste
added a commit
that referenced
this issue
Jun 9, 2021
Issue #896 - Add checking for MIME-type parameter fhirVersion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Conformance.md reads:
Currently, we just drop the parameter from all requests. However, a better behavior would be to reject requests that include the fhirVersion parameter with the wrong fhirVersion.
Describe the solution you'd like
Since the server only supports version 4.0.1, it should reject requests for other fhirVersion values other than
4.0.1
and4.0
.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
A description of the parameter and its meaning: https://www.hl7.org/fhir/versioning.html#mt-version
I would be great if we can get JAX-RS to handle this for us, but given that we'd also like to support
application/fhir+json
andapplication/fhir+json
with no parameter, it might not be possible.We should use this flavor of the MediaType constructor:
https://javaee.github.io/javaee-spec/javadocs/javax/ws/rs/core/MediaType.html#MediaType-java.lang.String-java.lang.String-java.util.Map-
QA Notes
Call an IBM FHIR Server API, passing the following HTTP header values:
The text was updated successfully, but these errors were encountered: