FHIR Chat · content-types · bulk data

Stream: bulk data

Topic: content-types


view this post on Zulip Josh Mandel (Jan 28 2018 at 19:18):

@Nagesh Bashyam

curl -H "Accept: application/fhir+json"  http://52.70.192.201/open-fhir/fhir/metadata

returns XML but should return JSON.

view this post on Zulip Josh Mandel (Jan 28 2018 at 19:24):

@Dennis Patterson

$ curl -H 'Accept: application/fhir+json'  'https://fhir-open.stagingcerner.com/stu3/a758f80e-aa74-4118-80aa-98cc75846c76/Patient/$everything'
The Accept type is invalid. See the documentation on the fhir.cerner.com website for acceptable format values for the resource you are attempting to access.

... I can't find anything it'll accept.

view this post on Zulip Nagesh Bashyam (Jan 28 2018 at 19:37):

@Nagesh Bashyam

curl -H "Accept: application/fhir+json" http://52.70.192.201/open-fhir/fhir/metadata

returns XML but should return JSON.

Will default to json ..

view this post on Zulip Dennis Patterson (Jan 28 2018 at 19:40):

@Josh Mandel It should work with application/fhir+ndjson

view this post on Zulip Josh Mandel (Jan 28 2018 at 20:06):

Gotcha @Dennis Patterson - are you planning to change this to work with application/fhir+json?

view this post on Zulip Dennis Patterson (Jan 28 2018 at 20:09):

working on it!


Last updated: Apr 12 2022 at 19:14 UTC