Stream: bulk data
Topic: Content Type
Grahame Grieve (Jan 28 2018 at 13:16):
Should we use application/x-ndjson or application/fhir+ndjson?
Grahame Grieve (Jan 28 2018 at 13:34):
Also, @Dan Gottlieb as a follow up - we implicitly sorted the empty return, right? there's no empty return at the end of processing now...
Grahame Grieve (Jan 28 2018 at 14:04):
I removed the base bundle btw
Dan Gottlieb (Jan 28 2018 at 14:11):
@Grahame Grieve My vote is fhir+ndjson, since we're returning valid FHIR resources - what's the arguement in the other direction?
Dan Gottlieb (Jan 28 2018 at 14:13):
Also, I think the consensus was to return the json object with an empty output array if there are no results
Grahame Grieve (Jan 28 2018 at 14:23):
the argument in the other direction is (a) that's what we said first (b) that's the default mime type for nd-json, and (c) +xml and +json are registered but +ndjson is not.
Grahame Grieve (Jan 28 2018 at 14:23):
I prefer application/fhir+ndjson personally
Last updated: Apr 12 2022 at 19:14 UTC