Stream: implementers
Topic: Write endpoints
Marshall Weekley (Sep 26 2017 at 16:28):
Are create, update operations supposed to return the resource created/updated as the response? The spec mentioned that operationOutcome is to be used for errors... in comparing that to the summary table (https://www.hl7.org/fhir/http.html#summary), the response body is detailed as "Resource".
For example, if an "Observation" is posted... should an "Observation" be returned? If not what is expected in the return?
Thanks
Yunwei Wang (Sep 26 2017 at 19:23):
The server may choose which to return: no return, full resource or OperationOutcome.
Yunwei Wang (Sep 26 2017 at 19:24):
https://www.hl7.org/fhir/http.html#2.21.0.5.2
Last updated: Apr 12 2022 at 19:14 UTC