FHIR Chat · http header Prefer: return=minimal · implementers

Stream: implementers

Topic: http header Prefer: return=minimal


view this post on Zulip David Moorhouse (Aug 07 2019 at 22:22):

The Restful API page (https://www.hl7.org/fhir/http.html) mentions using the http Prefer header in requests to indicate how much detail the client wants to process. Examples given are

Prefer: return=minimal
Prefer: return=representation
Prefer: return=OperationOutcome

Can these be used outside of a FHIR transaction i.e. where you are POSTing a single resource so that " return=representation" would be the equivalent of a POST followed by a GET ?

view this post on Zulip Grahame Grieve (Aug 07 2019 at 22:23):

they can be used on any interaction

view this post on Zulip David Moorhouse (Aug 07 2019 at 22:24):

Thx Grahame for the ultra rapid response

view this post on Zulip Lloyd McKenzie (Aug 07 2019 at 22:38):

(Note that not all servers will necessarily support them - or support them everywhere)


Last updated: Apr 12 2022 at 19:14 UTC